curl --request POST \
--url 'https://api.hubapi.com/crm/v3/extensions/cards-dev/{appId}?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"actions": {
"baseUrls": [
"https://www.example.com/hubspot"
]
},
"display": {
"properties": [
{
"dataType": "STRING",
"label": "Pets Name",
"name": "pet_name"
}
]
},
"fetch": {
"objectTypes": [
{
"name": "contacts",
"propertiesToSend": [
"email",
"firstname"
]
}
],
"targetUrl": "https://www.example.com/hubspot/target"
},
"title": "PetSpot"
}
'{
"actions": {
"baseUrls": [
"https://www.example.com/hubspot"
]
},
"createdAt": "2019-10-30T03:30:17.883Z",
"display": {
"properties": [
{
"dataType": "STRING",
"label": "Pet's Name",
"name": "pet_name"
}
]
},
"fetch": {
"objectTypes": [
{
"name": "contacts",
"propertiesToSend": [
"email",
"firstname"
]
}
],
"targetUrl": "https://www.example.com/hubspot/target"
},
"title": "PetSpot",
"updatedAt": "2019-11-30T03:30:17.883Z"
}このアプリがインストールされたときにアカウントで有効になる新しいカードを定義します。
curl --request POST \
--url 'https://api.hubapi.com/crm/v3/extensions/cards-dev/{appId}?hapikey=' \
--header 'Content-Type: application/json' \
--data '
{
"actions": {
"baseUrls": [
"https://www.example.com/hubspot"
]
},
"display": {
"properties": [
{
"dataType": "STRING",
"label": "Pets Name",
"name": "pet_name"
}
]
},
"fetch": {
"objectTypes": [
{
"name": "contacts",
"propertiesToSend": [
"email",
"firstname"
]
}
],
"targetUrl": "https://www.example.com/hubspot/target"
},
"title": "PetSpot"
}
'{
"actions": {
"baseUrls": [
"https://www.example.com/hubspot"
]
},
"createdAt": "2019-10-30T03:30:17.883Z",
"display": {
"properties": [
{
"dataType": "STRING",
"label": "Pet's Name",
"name": "pet_name"
}
]
},
"fetch": {
"objectTypes": [
{
"name": "contacts",
"propertiesToSend": [
"email",
"firstname"
]
}
],
"targetUrl": "https://www.example.com/hubspot/target"
},
"title": "PetSpot",
"updatedAt": "2019-11-30T03:30:17.883Z"
}ターゲットアプリのID。
The new card definition.
State of card definition to be created
Configuration for custom user actions on cards.
表示 子属性
{
"baseUrls": ["https://www.example.com/hubspot"]
}Configuration for displayed info on a card
表示 子属性
Configuration for this card's data fetch request.
表示 子属性
このカードのトップレベルタイトル。CRM UIのユーザーに表示されます。
successful operation
Configuration for custom user actions on cards.
表示 子属性
{
"baseUrls": ["https://www.example.com/hubspot"]
}作成、削除、更新など、カードで実行されるアクションのリスト。
表示 子属性
Configuration for displayed info on a card
表示 子属性
表示 子属性
カードの固有ID。
このカードのトップレベルタイトル。CRM UIのユーザーに表示されます。
カードが作成された日時。
カードが最後に更新された日時。