Hello,
I have a simple table exposed in odata service call. It works fine when one row is inserted with a JSON object. However, the caller of this web service has multiple records and when the JSON array is passed, it gives following error:
"Error processing request stream. The request should be a valid top-level resource object"
It's a simple array like:
[
{
Row1 ...
}.
{
Row2 ...
}
]
The above JSON array is a valid JSON construct. However, HANA's odata throws above error. Had heard that JSON array is not supported. Is it true? If so, what's the best way to insert multiple records at once?
Thanks