cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

$Batch Operation in OData for Account(CXXBOItem)

SoujanyaPatil
Newcomer
0 Likes
257

Hi Experts,

We are trying to have a batch operation on Accounts Custom Tab "CXX" which includes root "CXXBORootCollecton" and "CXXBOitemCollection".

SoujanyaPatil_0-1739948447435.png

We have to create records at the item level.When we try to post record we are able to successfully create with 201 created status.When we are trying to post using batch operation we are getting status 202 Accepted and the record is not created.

We have added the below body.

 

--batch

Content-Type: multipart/mixed; boundary=changeset

 

--changeset

Content-Type: application/http

Content-Transfer-Encoding: binary

 

POST CustomerCollection HTTP/1.1

Content-Type: application/json

Content-ID: 2

Content-Length: 10000

 

"CXXBORootCollection":[{

    "AccountID": "1XXXXX",

    "NID": "LX_XXXXX",

    "CXXBOitemCollection":

    [{ "CXXResponde_ID": "65XXXX", "Q3_NXX": "TEST1345", "Q1_CXX": "Test12345"}]

}]

 

 

--changeset--

--batch—

 

 

Could someone guide here with the syntax for batch at item level creation.

Accepted Solutions (0)

Answers (0)