Aller au contenu principal
public

Exécuter une requête de rapport

POST
/v1/reports/query
Authorizationstringheaderobligatoire

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

application/json
cardstring
cardParamsobject

Paramètre figé à la pose du widget. La clé attendue dépend de card, et elle est OBLIGATOIRE : tagId pour contacts-by-tag, calendar pour external-calendar. Une carte paramétrée sans sa clé est refusée.

compareYearsinteger[]
Maximum array length: 4
dateRolestring
filtersobject[]default:[]
groupBystring[]
idstringobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
limitinteger
Plage requise: 0 < x <= 500
listSourcestring
measuresstring[]default:[]
presentationobject
scopeenum<string>
Options disponibles: mine, cabinet, contributions
sortobject
subtitlestring
templateIdstring
timeRangeenum<string> | object
enum<string>
titlestringobligatoire
Minimum string length: 1
visualizationenum<string>obligatoire
Options disponibles: kpi, line, table, bar, pie, list, card
widgetIdstring

Réponse

200application/json
aggregatesobject
columnsobject[]obligatoire
comparisonobject
metaobjectobligatoire
rowsobject[]obligatoire
seriesobject[]
sparklineobject