Get customer status changes
POST/stats/app/customer-status-changes
Get customer status changes.
Request
- application/json
Body
required
timeframe stringrequired
Possible values: [day
, week
, month
, year
, allTime
]
cmsProjectId stringrequired
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
subject stringnullable
windowStart date-timerequired
windowEnd date-timerequired
value numberrequired
groupBy objectrequired
tostatus stringrequired
Possible values: [Active
, Rejected
, Dormant
, To be reviewed
, Failed
, Escalated
, Terminated
, No status
]
[
{
"subject": "string",
"windowStart": "2024-07-29T15:51:28.071Z",
"windowEnd": "2024-07-29T15:51:28.071Z",
"value": 0,
"groupBy": {
"tostatus": "Active"
}
}
]
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...