curl --request PATCH \
--url 'https://api.hubapi.com/crm/v3/extensions/cards-dev/{appId}/{cardId}?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": "Pets 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"
}Mettez à jour une définition de carte avec de nouveaux détails.
curl --request PATCH \
--url 'https://api.hubapi.com/crm/v3/extensions/cards-dev/{appId}/{cardId}?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": "Pets 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"
}L'ID de l'application cible.
L'ID de la carte à mettre à jour.
Card definition fields to be updated.
Body for a patch with optional fields
Configuration for custom user actions on cards.
Afficher attributs enfants
{
"baseUrls": ["https://www.example.com/hubspot"]
}Configuration for displayed info on a card
Afficher attributs enfants
Variant of CardFetchBody with fields as optional for patches
Afficher attributs enfants
Le titre de niveau supérieur pour cette carte. Affiché aux utilisateurs dans l'interface CRM.
successful operation
Configuration for custom user actions on cards.
Afficher attributs enfants
{
"baseUrls": ["https://www.example.com/hubspot"]
}Une liste des actions effectuées sur la carte, y compris la création, la suppression et les mises à jour.
Afficher attributs enfants
Configuration for displayed info on a card
Afficher attributs enfants
Afficher attributs enfants
L'ID unique de la carte.
Le titre de niveau supérieur pour cette carte. Affiché aux utilisateurs dans l'interface CRM.
La date et l'heure de création de la carte.
La date et heure de la dernière mise à jour de la carte.