Create Default Associations
POST {{baseUrl}}/crm/v4/associations/:fromObjectType/:toObjectType/batch/associate/default
Create the default (most generic) association type between two object types
Request Body
{"inputs"=>[{"from"=>{"id"=>"<string>"}, "to"=>{"id"=>"<string>"}}, {"from"=>{"id"=>"<string>"}, "to"=>{"id"=>"<string>"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"completedAt":"\u003cdateTime\u003e","results":[{"associationSpec":{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":"\u003cinteger\u003e"},"from":{"id":"\u003cstring\u003e"},"to":{"id":"\u003cstring\u003e"}},{"associationSpec":{"associationCategory":"INTEGRATOR_DEFINED","associationTypeId":"\u003cinteger\u003e"},"from":{"id":"\u003cstring\u003e"},"to":{"id":"\u003cstring\u003e"}}],"startedAt":"\u003cdateTime\u003e","status":"CANCELED","numErrors":"\u003cinteger\u003e","requestedAt":"\u003cdateTime\u003e","links":{"aute8":"\u003cstring\u003e","Ut_bfe":"\u003cstring\u003e"},"errors":[{"category":"\u003cstring\u003e","context":{"cillum_8c":["\u003cstring\u003e","\u003cstring\u003e"]},"errors":[{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"magnab":["\u003cstring\u003e","\u003cstring\u003e"]}},{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"ad__":["\u003cstring\u003e","\u003cstring\u003e"],"tempor_2":["\u003cstring\u003e","\u003cstring\u003e"]}}],"links":{"mollit_4":"\u003cstring\u003e","adipisicing_6":"\u003cstring\u003e"},"message":"\u003cstring\u003e","status":"\u003cstring\u003e","subCategory":{},"id":"\u003cstring\u003e"},{"category":"\u003cstring\u003e","context":{"dolor9":["\u003cstring\u003e","\u003cstring\u003e"]},"errors":[{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"laboris6b":["\u003cstring\u003e","\u003cstring\u003e"],"eu_2d":["\u003cstring\u003e","\u003cstring\u003e"]}},{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"mollit_6e":["\u003cstring\u003e","\u003cstring\u003e"]}}],"links":{"eac_":"\u003cstring\u003e"},"message":"\u003cstring\u003e","status":"\u003cstring\u003e","subCategory":{},"id":"\u003cstring\u003e"}]}