curl --request GET \
--url https://api.hubapi.com/crm/v3/extensions/cards-dev/sample-response{
"totalCount": 123,
"allItemsLinkUrl": "<string>",
"cardLabel": "<string>",
"responseVersion": "v1",
"sections": [
{
"actions": [
{
"httpMethod": "CONNECT",
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"id": "<string>",
"title": "<string>",
"tokens": [
{
"value": "<string>",
"dataType": "BOOLEAN",
"label": "<string>",
"name": "<string>"
}
],
"linkUrl": "<string>"
}
],
"topLevelActions": {
"secondary": [
{
"httpMethod": "CONNECT",
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"primary": {
"httpMethod": "CONNECT",
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
},
"settings": {
"height": 123,
"propertyNamesIncluded": [
"<string>"
],
"type": "IFRAME",
"url": "<string>",
"width": 123,
"label": "<string>"
}
}
}Retorna um exemplo de resposta de detalhes do cartão. Esta é a carga útil com detalhes exibidos para um cartão que será mostrado a um usuário. Um aplicativo deve enviar isso em resposta à solicitação de busca de dados.
curl --request GET \
--url https://api.hubapi.com/crm/v3/extensions/cards-dev/sample-response{
"totalCount": 123,
"allItemsLinkUrl": "<string>",
"cardLabel": "<string>",
"responseVersion": "v1",
"sections": [
{
"actions": [
{
"httpMethod": "CONNECT",
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"id": "<string>",
"title": "<string>",
"tokens": [
{
"value": "<string>",
"dataType": "BOOLEAN",
"label": "<string>",
"name": "<string>"
}
],
"linkUrl": "<string>"
}
],
"topLevelActions": {
"secondary": [
{
"httpMethod": "CONNECT",
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"primary": {
"httpMethod": "CONNECT",
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
},
"settings": {
"height": 123,
"propertyNamesIncluded": [
"<string>"
],
"type": "IFRAME",
"url": "<string>",
"width": 123,
"label": "<string>"
}
}
}successful operation
The card details payload, sent to HubSpot by an app in response to a data fetch request when a user visits a CRM record page.
O número total de propriedades do cartão que serão enviadas nesta resposta.
O URL de uma página que o integrador construiu que exibe todos os detalhes deste cartão. Este URL será exibido para os usuários em um link "Ver mais [x]" se houver mais de cinco itens em sua resposta, onde "[x]" é o valor de "temLabel".
O rótulo a ser usado para o link "allItemsLinkUrl" (por exemplo, "Ver mais tickets"). Se não for fornecido, o título do cartão será usado.
A versão numérica da resposta.
v1, v3 Uma lista de até cinco subcategorias de cartões válidas.
Show child attributes
Show child attributes