Static Statistics Details API
Overview
View Static Statistics Details data
API URL
api/workhours/details
HTTP Method
GET
URL Parameters
Name |
Type |
Required |
Description |
check |
String |
Requires |
Select tag serial number |
date |
String |
Requires |
Date for which you want to view data |
tag |
String |
Requires |
Tag serial number |
access_token or user_access_token |
String |
Requires |
Specify the API access_token of the account or the user_access_token obtained after the user logged in. |
Response
Returns a JSON object. If "code" is "0", it is successful. "data" is the static statistics details data.
Examples
{
"code": 0,
"msg": "操作成功",
"msg_en": "Successful operation",
"data": {
"data": [
{
"tag": "1ae0", //Tag Serial Number
"date": "2024-06-26", //Date of Statistics
"hour": "15", //The Specific Time
"statics": "885", //No Displacement Time (seconds)
"alls": 1025, //On-duty Time (seconds)
"per_serialnumber": null, //Tag Member Number
"per_name": null //Tag Member Name
},
{
"tag": "1ae0",
"date": "2024-06-26",
"hour": "16",
"statics": "2925",
"alls": 3341,
"per_serialnumber": null,
"per_name": null
},
{
"tag": "1ae0",
"date": "2024-06-26",
"hour": "17",
"statics": "1593",
"alls": 1598,
"per_serialnumber": null,
"per_name": null
}
]
}
}