Skip to main content

Statistics List

Use this API to fetch the list of data for the provided request.

Resource Informations

NameValue
Requires authentication?Yes
Rate limited?No

Request

Request headers

KeyValue
AuthorizationBearer token
Content-Typeapplication/json

HTTP request URL for SSMS

GET https://{tenantId}.{hostname}/digitanium/v4/monitor/statistics

OR

GET https://{tenantId}.{hostname}/digitanium/v4/monitor/statistics?fromdate=<yyyy-MM-DD>&todate=<yyyy-MM-DD>

HTTP request URL for SHIFT

GET https://{hostname}/auth/realms/{tenantId}/v3_monitor/statistics?fromdate=<yyyy-MM-DD>&todate=<yyyy-MM-DD>
note

At this moment, this API is applicable only for SSMS based installations.

note

API requests must be made over https. Calls made over plain http will fail.

Parameters

Parameter NameTypeDescription
fromdateStringprovide fromdate for device risk (Query parameter)
todateStringprovide todate for device risk (Query parameter)

Note: Device risk data will be retrieved only if fromdate and todate are not null.

Request body

No request body fields are required.

Response

Field NameTypeDescription
messageStringMessage explains result of the API call. Refer Response status Information for details.
statusStringThe status of the API call. Refer Response status Information for details.
subSystemIntegersubSystem categorizes the type of API that has been called. Refer Subsystem details for details.
dataArrayList of all details for the given statisticType.

Sample Response

{
"subSystem": 2,
"status": "OK",
"message": "Received response!",
"data": {
"DEVICE_RISKS": [
{
"Start date": "2019-05-10",
"End date": "2019-06-10",
"Risk": "JBreak",
"Count": "0"
},
{
"Start date": "2019-05-10",
"End date": "2019-06-10",
"Risk": "Manipulation",
"Count": "0"
}
],
"APP_CLIENT_VERSIONS": [
{
"Client type": "MAC_OS",
"Version": "Total",
"App Name": "",
"Count": "0"
}
],
"DEVICE_TYPES": [
{
"Type": "MIDENTITY_MINI",
"Count": "0"
},
{
"Type": "VIRTUAL_DEVICE",
"Count": "1"
},
],
"LOCKED_DEVICES": [
{
"Devices": "PIN was wrong",
"Count": "0"
},
{
"Devices": "Total devices",
"Count": "1"
}
],
"OS_VERSIONS": [
{
"Client type": "WindowsPhone_Emu",
"Version": "Total",
"Count": "0"
}
],
"LOCKED_USERS": [
{
"Users": "Locked: Retry Counter",
"Count": "0"
},
],
"FIRMWARE_VERSIONS": [
{
"Device type": "MIDENTITY_AIR_PLUS",
"Version": "Total",
"Count": "0"
}
],
"APP_CLIENT_TYPES": [
{
"Type": "ANDROID_ARM",
"Count": "0"
},
{
"Type": "Total",
"Count": "1"
}
]
}
}

Response Status Information

Status CodeStatusMessage
200OKStatistic data fetched successfully
400BAD_REQUESTInvalid statisticParameters for statisticTypeInfo
401UnauthorizedHTTP 401 Unauthorized