This web service responds with the number of cases deflected for a set of provided contexts.
| Method | Endpoint |
|---|---|
GET |
|
The use of Case deflection is a premium feature and requires a subscription. Get in touch with a Fluid Topics representative for more information.
Request body
The following lines show an example of a JSON request body:
{
"startDate": "2025-09-01",
"endDate": "2025-10-01",
"contexts": [
"Context 1"
],
"cost": 1000
}
| Field | Type | Required | Description |
|---|---|---|---|
startDate |
String | Yes | The inclusive start date of the period. The start date is mandatory. It must be within the analytics data retention period. |
endDate |
String | Yes | The exclusive end date of the period. The end date is mandatory and must be later than the start date. |
cost |
String | Yes | The individual ticket cost. |
contexts |
String | Yes | The desired contexts. |
Response body
The following lines show an example of a JSON response body:
{
"startDate": "2025-09-01",
"endDate": "2025-10-01",
"results": [
{
"context": "Context 1",
"ticketCreated": 1,
"ticketSaved": 4,
"costSaved": 4000
}
]
}
| Field | Type | Description |
|---|---|---|
startDate |
String | The inclusive start date of the period as defined in the input. |
endDate |
String | The exclusive end date of the period as defined in the input. |
results |
Array | An array containing the results. |
context |
String | The case deflection context |
ticketCreated |
Number | The number of created tickets. |
ticketSaved |
Number | The number of saved tickets. |
costSaved |
Number | The cost saved. |
| Return code | Description |
|---|---|
200 OK |
Returns results. |