Log in a Queue

Through this interface, a dynamic agent can log in a queue.

Request URL

{base_url}/{api_path}/queue/add_dynamicagent?token={token}

Request parameters

Parameter Required Type Description
queuenumber Yes Integer Queue number.
extnumber Yes Integer Dynamic agent's number.
password No Integer The password to join dynamic agents.

Response parameters

Parameter Type Description
status String Request result.
  • Success
  • Failed

Examples

Request example

Extension 1000 logs in queue 6700, and the password is 6700123.
POST /api/v2.0.0/queue/add_dynamicagent?token=1e3b3ebb6a974cb42ed31de5413df52d
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150

{
	"queuenumber": "6700",
	"extnumber": "1000",
	"password": "6700123"
}
Response example
HTTP/1.1 200 OK
Server: Boa/0.94.14rc21
Accept-Ranges: bytes
Connection: close
Content-Type: application/json
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE

{
    "status": "Success"
}