暂停坐席服务
暂停某个坐席的服务。坐席被暂停之后,将不会接听到呼入到该队列的来电。
请求地址
{base_url}/{api_path}/queue/pause_agent?token={token}
请求参数
参数 | 是否必选 | 类型 | 描述 |
---|---|---|---|
queuenumber | 是 | Integer | 队列号码。 |
extnumber | 是 | Integer | 坐席号码。 |
响应参数
参数 | 类型 | 描述 |
---|---|---|
status | String | 请求结果。
|
示例
请求示例
暂停队列6700中坐席1000的服务。
POST /api/v2.0.0/queue/pause_agent?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "queuenumber": "6700", "extnumber": "1000" }
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" }