Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

OData batch request and RAP LUW

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos
318

Hi all,

I have some questions regarding OData batch request and RAP LUW.

If I understand correctly, in http request body, every boundary could have several changesets, these changeset are in one LUW, and every boundary is corresponding to an LUW. First, I am wondering if this is right.

Further, in association case, let's say header entity A and item entity B, if I want to create or update A with B, how should I generate the request body?

1, Complex JSON A with B as an attribute

2, JSON A in changeset 1 and JSON B in changeset 2

Which is the correct one?

In case of 2, how RAP framework calls one method (modify) with both entity A and B? In other words, how the framework knows A has relationship with B if they are in different changesets?

Regards,
Eric

0 REPLIES 0