cancel
Showing results for 
Search instead for 
Did you mean: 

Odata service keep update item instead of adding a new one.

doralon
Participant
0 Kudos
315

Hello,

I am trying to create a mass data via OData service in bydesign.

i have created a custom bo that has item node.

the json request in postman look like this:

{

"ParentObjectID": "00163E70A58D1EE8BCEB951231259E",

"ManufactureCatalogNumber": "113",

"Confirm": true,

"ManufactureName":"A.M.D"

}

(113 is a random number for my ID creation, and its not a key for the item node)

For the first row it works prefectly.

after the first row, it continues on updating the first row. (even though i give different values each loop)

any one has an idea?

Thank you,

Dor Alon

View Entire Topic
Mugesh
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Dor Alon,

We need more information to answer the query.

What does ParentObjectID in the above JSON request represent?

regards,

Mugesh P

doralon
Participant
0 Kudos

Hello Mugesh,

The ParentObjectID represent materialUUID, which is the alternative key of my custom bo.

Each material has many Manufacture Catalogs. i want to update for particular material 2 items at the same request but i cant do it.

Thank you,

Dor Alon