This was from November last year, so I am hoping you might have implemented something of this nature in the meanwhile? Otherwise we’d be doubling our requests.
To quote from the post I referenced to:
I see documentation on how to do this with the API as a seperate step- but I wasn’t sure if I could create the Custom Object AND create the association with one API call?
Please advise, since we have a slew of data to synchronise and are aware of rate limits…
In the above request, were are creating 2 custom object records, “Test 1” and “Test 2”. We are also associating these new test records to records (IDs “123”, “321” and “456”, “654”) of 2 other object-types, where the association category is “USER_DEFINED” (association type ID “1” and “2”). To find the associationTypeId(s) relevant to your case, you’ll need to retrieve the relevant custom object schema via API and then go through the “associations” array
. More information can be found by navigating to the previously mentioned documentation’s “Object schema” tab, then scrolling down to “Get an existing schema”.
I hope this proves useful. Please let me know if you have any follow-up questions.
Hey @HKamminga,
I’m a little late to the party but have you heard of Associ8? It lets you automatically create associations between objects based on parameters you set. There’s some documentation showing how it works here.
Let me know if you have any questions! I’d be happy to talk with you about it in more detail.
Best,
-David Staat