Modify Agent

POST
https://api.itniotech.com/v3/cc/seat/updateSeat
Modify agent.
 
Request Parameters
Parameters Description Required Required
keyId Agent id Yes Integer
voiceGroupId Agent group ID(Agent group query returns voiceGroupId) Yes String
name Agent name Yes String
displayNum Display number No String
ccode Country code (phonetic country code) No String
petName Nick name No String
empNo Job number Yes String
password Password No String
 
Request Sample
Request URL:
    https://api.itniotech.com/v3/cc/seat/updateSeat
Request Method:
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "keyId":12,
    "name": "123",
    "petName":"12",
    "voiceGroupId": "12",
    "displayNum":"123",
    "ccode":"91",
    "empNo":"123",
    "password":"123456"
}
 
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
-34 This job number has been duplicated, please enter another job number.
-64 Password only supports letters and numbers, please enter correctly
-65 The agent group to which the modified agent belongs does not belong to the current application
-66 Country code does not exist
-67 The agent is currently on a call, please try again later!