Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to do a batch request for parent and child (Both parent and child - NEW)

edited Oct 24, 2018 3:34PM in Visual Builder 2 comments

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"
          }
        }]
    };

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!