api:pbx:app:action:queuepickup
Table of Contents
API : PBX : APP : Action : Queue pickup
Introduction
This request will pickup a call that is waiting in a queue.
Request
| URL | https://api.telecomx.dk/pbx/app/action/queuepickup | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| Query | device | Id | Id of device to pickup with. Use device or extension. |
| extension | Id | Id of extension to pickup with. Use device or extension. | |
| target | String | Id of call in queue. | |
Request example
https://api.telecomx.dk/pbx/app/action/queuepickup?device=12345678901234567890ABCD&target=pbx4.telecomx.dk:644654345.54 https://api.telecomx.dk/pbx/app/action/queuepickup?extension=12345678901234567890DDDD&target=pbx4.telecomx.dk:644654345.54
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | device | Invalid device |
| 422 | device | Invalid extension |
| 422 | target | Invalid target |
| 403 | queue | User does not have access to the queue |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/app/action/queuepickup.txt · Last modified: 2021/04/28 08:11 by Per Møller