Monday, 21 January 2019

HTTP PATCH for batch method in JSON

For updating IndividualCustomer in C4C using ODATA standard service for IndividualCustomerCollection

If required to test directly C4C system then add CSRF token.

Note: Need to maintain proper spacing as below, which will also cause an issue while triggering it.

POSTMAN Testing: POSTMAN - CPI -C4C 

--batch_1

Content-Type: multipart/mixed; boundary=changeset_guid_01


--changeset_guid_01

Content-Type: application/http

Content-Transfer-Encoding: binary


PATCH IndividualCustomerCollection('OBJECT ID') HTTP/1.1

Content-Length: 5000

Accept: application/json

Content-Type: application/json


{ "Phone": "+1 188-888-23", "Fax": "+1 0012346032324" }


--changeset_guid_01--

--batch_1--




No comments:

Post a Comment