curl --request POST \
--url 'https://api.hubapi.com/webhooks/v3/{appId}/subscriptions/batch/update?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"active": true,
"id": 12
}
]
}
'{
"completedAt": "2020-04-17T02:19:26.283Z",
"results": [
{
"active": true,
"createdAt": "2019-06-06T16:56:16.652Z",
"eventType": "contact.propertyChange",
"id": "1234",
"propertyName": "firstname",
"updatedAt": "2019-08-06T16:56:16.652Z"
},
{
"active": false,
"createdAt": "2019-06-06T16:56:16.652Z",
"eventType": "contact.create",
"id": "4567",
"updatedAt": "2019-08-06T16:56:16.652Z"
}
],
"startedAt": "2020-04-17T02:19:26.256Z",
"status": "COMPLETE"
}指定されたアプリのイベント配信登録を一括作成します。
curl --request POST \
--url 'https://api.hubapi.com/webhooks/v3/{appId}/subscriptions/batch/update?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"active": true,
"id": 12
}
]
}
'{
"completedAt": "2020-04-17T02:19:26.283Z",
"results": [
{
"active": true,
"createdAt": "2019-06-06T16:56:16.652Z",
"eventType": "contact.propertyChange",
"id": "1234",
"propertyName": "firstname",
"updatedAt": "2019-08-06T16:56:16.652Z"
},
{
"active": false,
"createdAt": "2019-06-06T16:56:16.652Z",
"eventType": "contact.create",
"id": "4567",
"updatedAt": "2019-08-06T16:56:16.652Z"
}
],
"startedAt": "2020-04-17T02:19:26.256Z",
"status": "COMPLETE"
}ターゲットアプリのID。
Updated details for the specified subscriptions.
Show child attributes
successful operation
バッチ処理が完了した日時。
バッチ処理の結果のリスト。
Show child attributes
バッチ処理が開始された日時。
バッチ処理の現在のステータス(保留中、処理中、キャンセル済み、または完了)。
CANCELED, COMPLETE, PENDING, PROCESSING Show child attributes
バッチ処理に関連付けられた関連リンクのコレクション。
Show child attributes
バッチ処理が要求された日時。