Zum Hauptinhalt springen
POST
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
/
associations
Zuordnungsdefinition erstellen
curl --request POST \
  --url https://api.hubapi.com/media-bridge/v1/{appId}/schemas/{objectType}/associations \
  --header 'Content-Type: application/json' \
  --data '{
  "fromObjectTypeId": "<string>",
  "name": "<string>",
  "toObjectTypeId": "<string>"
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "fromObjectTypeId": "",
  "name": "",
  "id": "",
  "toObjectTypeId": "",
  "updatedAt": "2023-11-07T05:31:56Z"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Authorizations

hapikey
string
query
required

Path Parameters

appId
string
required
objectType
string
required

Body

application/json
fromObjectTypeId
string
required
toObjectTypeId
string
required
name
string

Response

successful operation

The definition of an association

fromObjectTypeId
string
required

Die ID des Quellobjekttyps (z. B. 0–1 für Kontakte).

Example:

""

id
string
required

Die eindeutige ID des zugeordneten Objekts (z. B. eine Kontakt-ID).

Example:

""

toObjectTypeId
string
required

Die ID des Zielobjekttyps (z. B. 0–3 für Deals).

Example:

""

createdAt
string<date-time>

Der Zeitstempel, wann die Zuordnung erstellt wurde (Format ISO 8601).

name
string

Für Zuordnungstypen mit Label der interne Name der Zuordnung.

Example:

""

updatedAt
string<date-time>

Der Zeitstempel, wann die letzte Aktualisierung einer Zuordnung vorgenommen wurde (Format ISO 8601).

I