Skip to Content
avatar image
Former Member

How XSOData service insert json array?

Hi experts,

I use *.hdbcds file to create a table in HDI container or HANA and expose the table via xsodata service. And now the xsodata service support CRUD operation for a single resource. That is to say, if I use the following body to create an entity, the service can work.

{

"orderId": "c100001"

}

But if the post body is a json array, I am not sure if the xsodata service sopport this. The json array like this.

{"orders":[

{

"orderId": "c100001"

},

{

"orderId": "c100002"

}

]

}

If the xsodata does not support insert json array, how can implement this feature? Thanks for your help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers