Log out a Queue
Through this interface, you can log out a dynamic agent from a queue.
Endpoint
POST /api/v0.0.1/queue/del_dynamicagent?token={token}&type={type}
Request Parameters
Name | Importance | Type | Description |
queueid | Required | Int | The queue number. |
extid | Required | Int | The dynamic agent’s number. |
password | Required | Int | The password of the queue. |
Examples
Request Example
Request to log out the agent 6000 from the queue 9998, and the password is 666666.
POST /api/v1.1.0/queue/del_dynamicagent?token=813b621cfe8eecf445a2ce1f4a079ffe&type=json HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
“queueid”:”9998″,
“extid”:”6000″,
“password”:”666666″
}
POST /api/v1.1.0/queue/del_dynamicagent?token=813b621cfe8eecf445a2ce1f4a079ffe&type=xml HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<xml>
<queueid>9998</queueid>
<extid>6000</extid>
<password>666666</password>
</xml>
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
“status”: “Success”
}
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
<?xml version=”1.0″ encoding=”utf-8″?>
<xml>
<status>Success</status>
</xml>