on 07-22-2021 12:38 PM
Hi,
We are using the Offer Import API to create Offers from an external system: CUAN_OFFER_IMPORT_SRV
However we picked up an issue on some of the Offer created where the Location assign was part of the incorrect Marketing area
We are aware of the single entry API call to delete the location assigned to the Offer, but is there an option to use the batch request to delete the location from multiple offers?
So basically delete multiple MarketingLocationAssignments using CUAN_OFFER_IMPORT_SRV in batch
https://api.sap.com/api/CUAN_OFFER_IMPORT_SRV/resource
Not looking promising based on my attempts but maybe someone has figured this out
Dear deanmg,
Have you tried the different changeset_number for each delete call in single batch payload.
Thank you.
Best Regards,
Kunal Bansal, Senior Marketing Consultant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kunalkumar.bansal ,
The single is not batched though - the actual data elements reside in the URI
I'm looking to use the request separator with $batch in the following way:
--request-separator
Content-Type: application/http
Content-Transfer-Encoding: binary
DELETE MarketingLocationAssignments HTTP/1.1
Accept: application/json
{ "OfferIdExt": "1234",
"OfferIdOrigin": "EXT_OFFER",
"MarketingLocationOriginId": "DATA_LOC",
"MarketingLocationId": "9999"
}
--request-separator--
I know from other batch requests POST is used with the URI but within the payload the actual operation to be performed is in the body. eg. PATCH, GET
DELETE in the body, I'm not sure of this
User | Count |
---|---|
5 | |
1 | |
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.