Skip to Content
Jan 22, 2020 at 03:43 PM

$batch post request in xsodata

208 Views Last edit Jan 22, 2020 at 03:48 PM 2 rev

We are trying to step over from a webservice which loops the data into a HANA table via single POST statements into a batch mode POST request.
We try to find out the formatting of the header&body message but we are only able to get a response of 202 in postman and the actual data is not posted in the table on HANA target.

In the header we set the Content-Type:multipart/mixed and the Boundary:batch_1

The simplified body looks like below:
Content-Type: application/http
Content-Transfer-Encoding: binary

POST odataservice_name HTTP/1.1

Content-Type: application/json

"KEY1" : "1",
"KEY2" : "2",
"KEY3":"3" ,


I have been ready quite some blogs,notes but not able to find the proper solution.