Usage checking
The ADC RESTful web service allows users to check the number of matches attempted. Each usage request relies on forming valid request headers. (see https://rbdmqld.atlassian.net/wiki/spaces/ADC/pages/601063691)
The ADC stores events in UTC time to simplify the differences across our client’s time zones and is reflected in the date query parameters and results.
Note: The test client is used by multiple users. The usage counts are per client and you will see the counts for all uses of the test client.
Fetch usage
Endpoint | Method |
---|---|
/ws/api/usage/fetch | POST |
Request
Model
{
"startDate": "string",
"endDate": "string"
}
Note: startDate and endDate must be formatted: YYYY-MM-DD and the start date must be before the end date.
Example
{"startDate":"2021-05-25","endDate":"2021-06-01"}
Response
{
"responseId": "86f22af1-382c-4d22-a9bc-1b7dba12038b",
"endDate": "2021-06-01",
"startDate": "2021-05-25",
"usageCount": [
{
"date": "2021-05-25",
"count": 69
},
{
"date": "2021-05-26",
"count": 215
},
{
"date": "2021-05-27",
"count": 222
},
{
"date": "2021-05-28",
"count": 11
},
{
"date": "2021-05-29",
"count": 0
},
{
"date": "2021-05-30",
"count": 1
},
{
"date": "2021-05-31",
"count": 169
},
{
"date": "2021-06-01",
"count": 5
}
],
"total": 692
}