Skip to Content
0
May 31, 2018 at 03:56 AM

odata v2 batch post (create) several items

163 Views

hello,

i am building a App that uses a json model to hold the data in a table.

the user can update existing rows or add new ones.

when user clicks on submit button i want to use a batch operation to send the data, so e.g. there may be more than one create or more than one update.

i sort of have it working but ... that data that seems to be saved is the same for each POST. ie if i do three creates then 3 rows are saved that are the same.

can anyone please help with a example or point me some where.

i looked at using Group Id and Change Set Id but no luck.

cheers

Pas.