Parameters | Description | Required | Required |
---|---|---|---|
current | Current page number, 1-N | Yes | Integer |
size | Number of displays per page,1-100 | Yes | Integer |
params | Paging parameters | Yes | JSONObject |
enable | Enable Disable 0 enables, 1 disables | No | Integer |
name | name | No | String |
voiceGroupIdList | Agent group (agent group query returns voiceGroupId) | No | List<Integer> |
Request URL:
https://api.itniotech.com/v3/cc/teamleader/query
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"current":1,
"size":10,
"params":{
"enable": 0,
"name":"12",
"voiceGroupIdList": [12,13]
}
}
Parameters | Description | Required |
---|---|---|
status | status code,0 is successful. For other failures, please refer to the interface response code | String |
reason | Failure reason description | String |
data | collection of objects | JSONArray |
total | Total number of records | Integer |
size | Number of displays per page | Integer |
current | Current page number | Integer |
pages | Total page number | Integer |
records | Data collection | JSONArray |
keyId | Primary key id | Integer |
empNo | Job number | String |
petName | Team leader nickname | String |
name | Team leader name | String |
enable | Enable Disable 0 enables, 1 disables | Integer |
voiceGroupIdList | Agent group ID | List<Integer> |
voiceGroupNameList | Agent group name | List<String> |
account | Account | String |
password | Password | String |
createTime | Creation time | LocalDateTime |
updateTime | Update Time | LocalDateTime |
{
"status":"0",
"reason":"success",
"data": {
"total": 5,
"size": 20,
"current": 1,
"pages": 1,
"records": [
{
"keyId": 5000013,
"empNo": "003",
"petName": "",
"name": "name",
"enable": 0,
"voiceGroupIdList": [
12,14
],
"voiceGroupNameList": [
"voiceGroupName1", "voiceGroupName2"
],
"account": "tao_003",
"password": "EJfyqwEi",
"createTime": "2024-05-19 16:33:58",
"updateTime": "2024-07-12 19:39:19",
"customerId": 396,
"customerName": "szwutao"
}
]
}
}
status | Description |
---|---|
0 | Success |
-1 | Authentication error |
-2 | Authentication error |
-16 | Timestamp expires |
-18 | Port program unusual |
-20 | Data existing |
-22 | Parameter exception |
-23 | Data caps |