Create a batch of associations

POST {{baseUrl}}/crm/v3/associations/:fromObjectType/:toObjectType/batch/create

Associate all pairs of objects identified in the request body.

Request Body

{"inputs"=>[{"from"=>{"id"=>"<string>"}, "to"=>{"id"=>"<string>"}, "type"=>"<string>"}, {"from"=>{"id"=>"<string>"}, "to"=>{"id"=>"<string>"}, "type"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;completedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;results&quot;:[{&quot;from&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;},&quot;to&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;},&quot;type&quot;:&quot;\u003cstring\u003e&quot;},{&quot;from&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;},&quot;to&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;},&quot;type&quot;:&quot;\u003cstring\u003e&quot;}],&quot;startedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:&quot;PROCESSING&quot;,&quot;requestedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;links&quot;:{&quot;eu_5&quot;:&quot;\u003cstring\u003e&quot;,&quot;nulla21c&quot;:&quot;\u003cstring\u003e&quot;}}