客服考勤报表
POST
/openapi/statistic/staffAttendance
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://qiyukf.com/openapi/statistic/staffAttendance?appKey=&time=&checksum=' \
--header 'content-type: application/json;charset=utf-8' \
--data-raw '{
"startTime": 1594306727942,
"endTime": 1594308204040,
"model": 1,
"staffGroupList": [
63294,
80624,
46334
],
"staffIdList": [
34240,
92461,
74647
]
}'
响应示例响应示例
{
"code": 0,
"message": {
"id": 0,
"name": "string",
"account": "string",
"date": 0,
"firstLoginTs": "string",
"firstOnlineTs": 0,
"lastHangTs": 0,
"lastLogoutTs": 0,
"loginDuration": 0,
"onlineDuration": 0,
"onlineSessionDuration": 0,
"onlineFreeDuration": 0,
"pcOnlineDuration": 0,
"mobileOnlineDuration": 0,
"restDuration": 0,
"restSessionDuration": 0,
"breakTimes": 0,
"restMealDuration": 0,
"restMettingDuration": 0,
"restTrainDuration": 0,
"restShortDuration": 0,
"restWashroomDuration": 0,
"restOtherDuration": 0,
"hangDuration": 0,
"hangSessionDuration": 0,
"hangTimes": 0
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
time
string
必需
默认值:
{{time}}
checksum
string
必需
默认值:
{{checksum}}
Header 参数
content-type
string
必需
示例值:
application/json;charset=utf-8
Body 参数application/json
返回响应
修改于 2022-01-28 05:37:10