curl --request PUT \
--url 'https://api.hubapi.com/integrators/timeline/v3/{appId}/event-templates/{eventTemplateId}/tokens/{tokenName}?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
],
"objectPropertyName": "<string>"
}
'{
"label": "<string>",
"name": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
],
"type": "date",
"createdAt": "2023-11-07T05:31:56Z",
"objectPropertyName": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}トークン名で指定された、イベントタイプのテンプレートトークンを更新します。
curl --request PUT \
--url 'https://api.hubapi.com/integrators/timeline/v3/{appId}/event-templates/{eventTemplateId}/tokens/{tokenName}?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
],
"objectPropertyName": "<string>"
}
'{
"label": "<string>",
"name": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
],
"type": "date",
"createdAt": "2023-11-07T05:31:56Z",
"objectPropertyName": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}ターゲットアプリのID。
イベントテンプレートID。
トークン名。
successful operation
リストのセグメンテーションやレポートに使用されます。
テンプレートで参照されるトークンの名前。特定のテンプレートで固有である必要があります。使用できるのは英数字、ピリオド、ダッシュ、またはアンダースコア(. - _)のみです。
データ型が「列挙」の場合、選択元となるオプションのリストが必要です。
表示 子属性
トークンのデータ型。現在のところ、[文字列、数値、日付、列挙]の中から選択できます。
date, enumeration, number, string イベント テンプレート トークンが作成された日時(ISO 8601タイムスタンプ)。テンプレートが2020年2月18日より前に作成された場合はnullになります。
CRMオブジェクトプロパティーの名前。イベントに関連付けられているCRMオブジェクトプロパティーが入力されます。十分に用意すれば、タイムラインAPIを使用してCRMオブジェクトを完全に構築できます。
イベント テンプレート トークンが最後に更新された日時(ISO 8601タイムスタンプ)。テンプレートが2020年2月18日より前に作成された場合はnullになります。