Statistics devices

Statistics devices data.

get
Query parameters
StartDatestring · date-timeOptional

The end date to filter the statistics. The format is "yyyy-MM-dd HH:mm:ss".

Example: 2024-02-23 00:00:00
EndDatestring · date-timeOptional

The end date to filter the statistics. The format is "yyyy-MM-dd HH:mm:ss".

Example: 2024-02-23 23:59:59
TypeResponsestringOptional

The type of response. This value can be "MONTH" or "DATE".

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.

Example: YOUR_AUTH_KEY
Responses
chevron-right
200

The request was successful.

application/json

The API result model with data.

successbooleanRead-onlyRequired

This is the flag to indicate whether the API call is successful or not.

statusCodeinteger · int32Read-onlyRequired

This is the HTTP status code. This is used to determine the status code to be returned to the client.

messagestring · min: 1Required

This is the message to be displayed to the user.

dataany · nullableOptional
get
/api/v1/devices/statistics

Last updated