Generating list of changesets and updating work
If the set of HTTP request headers of a batch request are valid, the HTTP response status code is always 202 (Accepted).
As described above in case of “change set at once” method Example There is a specific business scenario with sales orders, and each sales order can have multiple sales order items.
The batch request boundary is the name specified in the Content-Type Header for the batch. The batch response contains a Content-Type header specifying a content type of multipart/mixed and a batch boundary specification, which may be different from the batch boundary that was used in the corresponding request.
Within the body of the batch response is a response for each retrieve request and changeset that was in the associated batch request.
When creating sales orders a sales order ID is generated by the backend.
When creating sales order items a sales order id needs to be provided.