Zum Hauptinhalt springen
POST
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
/
associations
関連付け定義を作成
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"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

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

ソースオブジェクトタイプのID(例:コンタクトの場合は0-1)。

Example:

""

id
string
required

関連付けられたオブジェクトの固有ID(例:コンタクトID)。

Example:

""

toObjectTypeId
string
required

ターゲットオブジェクトタイプのID(例:取引の場合は0-3)。

Example:

""

createdAt
string<date-time>

関連付けが作成された時刻のタイムスタンプ(ISO 8601形式)。

name
string

ラベル付き関連付けタイプの場合、関連付けの内部名。

Example:

""

updatedAt
string<date-time>

ISO 8601形式の関連付けが最後に更新されたときのタイムスタンプ。

I