Configurable chart (measure × slice) over the agent's sales
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agents/analytics/chart" \ -H "Content-Type: application/json" \ -d '{ "slice": "city" }'{
"completeness": {
"through": "2019-08-24"
},
"data": [
{
"count": 0,
"excluded": 0,
"id": "string",
"label": "string",
"segments": [
{
"count": 0,
"id": "string",
"label": "string",
"value": 0
}
],
"segmentsOmittedCount": 0,
"unattributed": true,
"value": 0
}
],
"measure": "string",
"nextCursor": "string",
"omittedCount": 0,
"segment": "string",
"slice": "string",
"total": 0,
"totalApproximate": true
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string",
"limit": 0,
"size": 0
}