Add Agent Group

POST
https://api.itniotech.com/v3/cc/seatGroup/addGroup
Add agent group
 
Request Parameters
Parameters Description Required Required
appId Application ID Yes Integer
groupName Phone group name, 4-32 characters, no duplicates are allowed in the same application Yes String
 
Request Sample
Request URL:
    https://api.itniotech.com/v3/cc/seatGroup/addGroup
Request Method:
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "groupName":"sipGroup",
    "appId":"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 This method returns empty String
 
Response Sample
{
	"status": "0",
	"reason": "success",
	"data": null
}
 
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
-63 There are agents under this agent group. Please remove the agents before performing this operation.
-75 Please contact the salesperson