Hi,
New to SAP HANA Odata servicess, I am trying to insert multiple rows using POST method from POSTMASTER in below formats
1. Json
2. XML
When I Insert multiple rows using Json object, i get below error
{
"Odata": [
{
"MY_COL1": "Sadsad124511",
"MY_COL2": 124511
},
{
"MY_COL1": "Sadsad124512",
"MY_COL2": 124512
}
]
}
Error: <message xml:lang="en-US">Resource not found for the segment 'Odata$batch' at position 0.</message>
I can insert single entries using Json
{
"MY_COL1": "Sadsad124511",
"MY_COL2": 124511
}
I have exposed table ZTRANS with two columns MY_COL1(String) MY_COL2(Int) as ODATA service, my service definition is as below
service {
"P0_MAPPING"."ZTRANS" as "Ztranslation";
}