Fetch Last Connected Devices

This document covers:

Overview

This API is used to retrieve count of last connected devices.

Resource

Device

Method

Post

Base URL

https://mdm.api.seqrite.com/ws/tpapi/v1-0/

Request URL/End Point

https://mdm.api.seqrite.com/ws/tpapi/v1-0/lastconnected/count

Authentication

QH_MDM_AUTH (tenant specific API key)

time zone

Response Status Code

Status Code Meaning Description
200 Successful The request was successful, and the response contains the requested data.
401 Unauthorised The request lacked valid authentication credentials.
404 Not Found The requested response could not be found.

Table of Parameters/Response Parameters

Parameter Data Type Value Description
id String 3, 7, 15, 30
  • 3: The number of devices connected between last 3rd to 7th day.
  • 7: The number of devices connected between last 8th to 15th day.
  • 15: The number of devices connected between last 16th to 30th day.
  • 30: The number of devices connected before 30 days.
value Long The number of last connected devices.

Sample Response

{
“apiResponseStatus”: “SUCCESS”,
“countList”: [
{
“id”: “3”,
“value”: 0
},
{
“id”: “7”,
“value”: 0
},
{
“id”: “15”,
“value”: 1
},
{
“id”: “30”,
“value”: 0
}
] }

Was this page helpful?