How to do a batch request for parent and child (Both parent and child - NEW)
Summary
How to do a batch request for parent and child (Both parent and child - NEW)Content
How to do a batch request for parent and child (Both parent and child - NEW)
Below is batch request JSON for inserting multiple records in single table. Like this what will be the JSON for PARENT-CHILD batch insert.
SAMPLE BATCH INSERT JSON into single table:
var batchCreate={
"parts": [{
"id": "part1",
"path": "/Test",
"operation": "create",
"payload": {
"id":"",
"name":"Nishant",
"title":"Manager"
}
}, {
"id": "part2",
"path": "/Test",
"operation": "create",
"payload": {
"id":"",
"name":"Veda",
"title":"Director"
}
}]
};