We are currently calling IFS REST API CustomerOrderHandling.svc/CustomerOrderSet from our external tool to create customer order.
The Customer Order Set POST method allow to creat one single order, is there a way to pass multiple order information in the same call? like an array of orders to create.
Page 1 / 1
Hi @IFSRUNINNOVAL
You can use batch requests to pack multiple records in a single REST call.
I checked a bit and it seems that IFS returns the Preference-Applied header but gets the error instead and none of the records are saved . Strange it returns the Preference-Applied header and does not applied it. This could be a glitch in the framework and better contact IFS support to get an explanation if this is a real pain for you :)
Cheers!
Damith
Thank you @dsj
i have opened a case for the support and they are analyzing it
Did IFS support give you any response on the continue-on-error preference not working? I’m running into the same problem trying to add parts to a price list.
@moltbd
IFS has clarified the message syntax payload (i’ll add an example) and we were able to use the continue-on-error option
But :
When the customer Order is correctly created we get the "Content-ID: " in the response. But when the customer Order is in error the Content-ID: is not showing so we cant identify the call. There is no visible way to identify which error belong to which message cause the Content-ID: is missing.
IFS has planned a solution in the 23.1.13, 23.2.6, 24.1.0
Thanks for the example! That helped to get past a problem with my syntax. I also appreciate the warning on the responses for errors, I’m sure I would have ran into that and been back here trying to figure out how to match back to the specific message.