Query Agent Group List

POST
https://api.itniotech.com/v3/cc/seatGroup/query
Query agent group list.
 
Request Parameters
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
groupName Agent group name No String
 
Request Sample
Request URL:
    https://api.itniotech.com/v3/cc/seatGroup/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":{
        "groupName":"4luaKsL2"
    }
}
 
Response Parameters
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 Paginated data JSONObject
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 String
voiceGroupId Primary key id (voice group) Integer
callinStrategy Incoming call strategy: 1-allocation based on idle time, 2-allocation based on number of accesses, 3-allocation based on agent group agent priority, 4-polling allocation Integer
countSeat The number of agents under the agent group Integer
groupName Agent group name String
appName Application name String
 
Response Sample
{
    "status": "0",
    "reason": "success",
    "data": {
      "total": 5,
      "size": 20,
      "current": 1,
      "pages": 1,
      "records": [
            {
              "voiceGroupId": 1000037,
              "callinStrategy": 4,
              "countSeat": 4,
              "groupName": "groupName12",
              "appName": "appName---test-C782-3"
          }
      ]
    }
}
 
Response Status Code
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