curl --request POST \
--url 'https://api.hubapi.com/media-bridge/v1/{appId}/schemas/{objectType}/associations?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"fromObjectTypeId": "<string>",
"toObjectTypeId": "<string>",
"name": "<string>"
}
'{
"fromObjectTypeId": "<string>",
"id": "<string>",
"toObjectTypeId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}指定したオブジェクトタイプの新しい関連付け定義を作成します。
curl --request POST \
--url 'https://api.hubapi.com/media-bridge/v1/{appId}/schemas/{objectType}/associations?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"fromObjectTypeId": "<string>",
"toObjectTypeId": "<string>",
"name": "<string>"
}
'{
"fromObjectTypeId": "<string>",
"id": "<string>",
"toObjectTypeId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}メディアブリッジアプリのappId。メディアブリッジを使用する開発者アカウント内に複数のアプリを持つことが可能です。
定義を作成するオブジェクトタイプ
successful operation
関連付けの定義
ソースオブジェクトタイプのID(例:コンタクトの場合は0-1)。
関連付けられたオブジェクトの固有ID(例:コンタクトID)。
ターゲットオブジェクトタイプのID(例:取引の場合は0-3)。
関連付けが作成された時刻のタイムスタンプ(ISO 8601形式)。
ラベル付き関連付けタイプの場合、関連付けの内部名。
ISO 8601形式の関連付けが最後に更新されたときのタイムスタンプ。