Skip to Content
0

how to pass multiple line items to odata service created based on RFC for read operation

Mar 07, 2017 at 04:00 AM

73

avatar image

created ODATA service based on the RFC which accepts the table parameter and returns the table parameter in the same table param. I just want to do the read operation by passing the multiple line items to this service. Like by passing different user id list and dept list like below example and want to get the related user names and location details list.

userDetails[

{

userid="abc",

dept="xyz"},

{

userid="def",

dept="123"

}

]

I would like to know URI syntax for passing the multiple table parameters for odata service. Do i need to use the Batch operation or Deep insert operation for passing the multiple line items for this ODATA service?

Can we use the $batch operation for read ? or is there any other way to pass multiple line items to ODATA service other than batch op

If you have any example, can you share it?

Thanks

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

0 Answers