on 2022 Apr 01 4:32 PM
Hi all,
We are working on an implementation where the Product model is extended multiple times in order to add type specific attributes.
I can create a product using a POST call to https://localhost:9002/odata2webservices/InboundProduct/Products using the following payload:
{
"code": "testProduct01",
"catalogVersion": {
"catalog": {
"id": "testProductCatalog"
},
"version": "Staged"
},
"unit": {
"code": "pieces"
}
}
We have over 10 child types that extend the Product model, so we want to avoid having to create IntegrationObjects or IntegrationObjectItems (InboundProduct:Product) for each of them because this will introduce a lot of duplication and maintenance. This help page hints to the fact that you can POST child types using the ALL_SUBTYPES_AND_SUPER_TYPES option: https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/2105/en-US/600dd324ae444b208831204588f3...
Are we misinterpreting something, or is it indeed possible to create child items using the same request?
Thanks in advance!
Kind regards,
Michiel
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.