Skip to Content
0

How XSOData service insert json array?

Oct 11, 2017 at 01:16 PM

41

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers