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

POST multile lines via REST in Custom Object

Received Response
19
Views
5
Comments
edited Aug 8, 2020 5:15PM in Integrations and Extensions 5 comments

Content

Hi ,

We have created custom object & we are dumping data in Object from external system.

As of now it is working fine for inserting single records.

is there any way we can insert multiple line via single JSON payload?

I tried Modifying JSON but it is not working.

Not Working: error: Invalid attribute "items" in the payload. - I took "Items" from GET

{
    "items":[
    {
        "RecordName" :"K13B5124_1N9N2312","ContractNumber_c" :"513B5124","UnitNumber_c" :"1N9N2312","ContractDescription_c" :"API","ContractType_c" :"J1","ContractEffectiveDate_c" :"2020-06-20","ContractCompletionDate_c" :"2021-06-20","BusinessUnit_c" :"500000002","Supervisor_c" :"MP","Flag_c" :"JC","ContractStartDate_c" :"2020-08-16","Active_c" :"true","BuildingID_c" :"6Y7GH","JDECompanynum_c" :"00500","Status_c" :"A"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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