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 create multiple records using Rest API in single payload for Custom Object?

Summary:

We have created a custom object and we are trying to create multiple records using the Rest API. We have checked this document "REST API Batch Processing To Create Multiple Records on Standard Objects (Doc ID 2215960.1) ", but this is not working for our custom object which we created.

Can you please help us.

We tried by creating for standard objects it was showing the following error.


This is the body we have given


{

    "parts": [

        {

            "id": "part1",

            "path": "/latest/accounts",

            "operation": "create",

            "payload": {

                "OrganizationName": "BulkAccount2"

            }

        },

        {

            "id": "part2",

            "path": "/latest/accounts",

            "operation": "create",

            "payload": {

                "OrganizationName": "AccountBulk1"

            }

        }

    ]

}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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