curl --request PUT \
--url https://api.hubapi.com/crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 123
}
]
'{
"fromObjectId": "<string>",
"fromObjectTypeId": "<string>",
"labels": [
"<string>"
],
"toObjectId": "<string>",
"toObjectTypeId": "<string>"
}Legen Sie Zuordnungslabel zwischen zwei Datensätzen fest.
curl --request PUT \
--url https://api.hubapi.com/crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 123
}
]
'{
"fromObjectId": "<string>",
"fromObjectTypeId": "<string>",
"labels": [
"<string>"
],
"toObjectId": "<string>",
"toObjectTypeId": "<string>"
}Unterstützte Produkte
Erforderliche Bereiche
The access token received from the authorization server in the OAuth 2.0 flow.
Die eindeutige ID für das Quellobjekt in der zu erstellenden Zuordnung.
Gibt den Typ des Quellobjekts in der zu erstellenden Zuordnung an.
Die eindeutige ID für das Zielobjekt in der zu erstellenden Zuordnung.
Gibt den Typ des Zielobjekts in der zu erstellenden Zuordnung an.
successful operation
Die Beziehungsdeskriptoren, die zwischen zwei Objekttypen anwendbar sind.
Die ID des Quellobjekts in der Zuordnung.
Die Typ-ID des Quellobjekts in der Zuordnung.
Ein Array von Labeln, die der Beziehung zwischen den Objekten zugeordnet sind.
Die ID des Zielobjekts in der Zuordnung.
Die Typ-ID des Zielobjekts in der Zuordnung.