Hello,
I am doing rest bulk call.
I want to create multiple relationships along with the bulk record creation/updation.
Please advise.
Thanks
Sanket
Hello,
I am doing rest bulk call.
I want to create multiple relationships along with the bulk record creation/updation.
Please advise.
Thanks
Sanket
Hi Richard Jenkins,
I advise you to check our Onboarding Framework Integrations section, it has a lot of good materials there.
In your case, you can use this endpoint and add multiple requests to one single bulk call, however, it requires you to have both Sugar IDs (GUIDs generated) to make it happen.
If your use case allows you to, for the best possible performance, use our upsert API in combination with sync_keys.
Here is an example of the Bulk API request:
{"requests": [ { "url": "/v11/integrate/Accounts/sync_key/ACC0001/link/contacts/sync_key/CON0001", "method": "PATCH" }, { "url": "/v11/integrate/Accounts/sync_key/ACC0001/link/contacts/sync_key/CON0002", "method": "PATCH" } ] }
Hi Richard Jenkins,
I advise you to check our Onboarding Framework Integrations section, it has a lot of good materials there.
In your case, you can use this endpoint and add multiple requests to one single bulk call, however, it requires you to have both Sugar IDs (GUIDs generated) to make it happen.
If your use case allows you to, for the best possible performance, use our upsert API in combination with sync_keys.
Here is an example of the Bulk API request:
{"requests": [ { "url": "/v11/integrate/Accounts/sync_key/ACC0001/link/contacts/sync_key/CON0001", "method": "PATCH" }, { "url": "/v11/integrate/Accounts/sync_key/ACC0001/link/contacts/sync_key/CON0002", "method": "PATCH" } ] }
Rafael,
Thank You for Your quick response.
Is it possible to relate existing record at the time of bulk record creation?
Like at the time of new contact creation and We can pass the relation field value (e.g. ilnked_account field name in contact).