I'm trying to create a batch request to insert 2 records using POSTMAN but I got an error.
"Multiple requests within the same changeset are not supported by Microsoft Dynamics NAV OData web services"
here my request body
--batch_AAA123
Content-Type: multipart/mixed;boundary=changeset_BBB456
--changeset_BBB456
Content-Type:application/http
Content-Transfer-Encoding:binary
Content-ID:1
POST 192.200.10.73/.../Company('CRONUS%20International%20Ltd.')/OrderMaster HTTP/1.1
Content-Type:application/json;type=entry
{
"order_num": "COIY5",
"user_id": "yudi",
"order_date": "2018-08-06T17:00:00Z",
"tax_amt": 12,
"total_amt": 120,
"balance_amt": 132,
"posted": false
}
--changeset_BBB456
Content-Type:application/http
Content-Transfer-Encoding:binary
Content-ID:2
POST 192.200.10.73/.../Company('CRONUS%20International%20Ltd.')/OrderMaster HTTP/1.1
Content-Type:application/json;type=entry
{
"order_num": "COIY4",
"user_id": "yudi",
"order_date": "2018-08-06T17:00:00Z",
"tax_amt": 12,
"total_amt": 120,
"balance_amt": 132,
"posted": false
}
--changeset_BBB456--
--batch_AAA123--
if I just create 1 record, the request is successful.
is it a bug or just NAV limitation?
*This post is locked for comments
I have the same question (0)