Hi All,
I am trying to create multiple records using $BATCH, but I am getting below error(I could able to perform READ& QUERY well but not successed with Create/update)
HTTP/1.1 500 Internal Server Error
Content-Type: application/xml
Content-Length: 363
dataserviceversion: 1.0
Please advise where I made mistake below is my payload and screen shots
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST Users HTTP/1.1
Content-Type: application/atom+xml
Content-Length: 975
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
<atom:content type="application/xml">
<m:properties
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<d:USRID>0100</d:USRID>
<d:FIRSTNAME>TEST_INC</d:FIRSTNAME>
<d:LASTNAME>0001</d:LASTNAME>
<d:EMAIL>kumar@gmail.com</d:EMAIL>
<d:PHONE>NZ0025</d:PHONE>
<d:COUNTRY>IN</d:COUNTRY>
</m:properties>
</atom:content>
</atom:entry>
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST Users HTTP/1.1
Content-Type: application/atom+xml
Content-Length: 975
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
<atom:content type="application/xml">
<m:properties
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<d:USRID>0101</d:USRID>
<d:FIRSTNAME>FrstNam</d:FIRSTNAME>
<d:LASTNAME>LstNam</d:LASTNAME>
<d:EMAIL>raj@gmail.com</d:EMAIL>
<d:PHONE>NZ0025</d:PHONE>
<d:COUNTRY>UK</d:COUNTRY>
</m:properties>
</atom:content>
</atom:entry>
--changeset--
--batch--
Please view the screen shot of the error I am getting, I redefined /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN& /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_END and added EXIT while execute it is not catching the external breakpoint as well
Thanks
Rajesh