A Queue item is a dialplan call distribution entity with advanced features for members and callers.
This request mark a call processed by a queue as handled. It is only possible to mark an unanswered call as handled.
| URL | https://api.telecomx.dk/pbx/queue/QUEUE_ID/calls/CALL_ID/handled | ||
|---|---|---|---|
| Method | POST | ||
| Access level | PERSONAL if user has access to the queue VIEWER, MANAGE, OWNER if queue items belongs to the customer RESELLER if customer belongs to the reseller ADMIN. |
||
| Params | QUEUE_ID | Id | Id of queue to show callers in. |
| CALL_ID | Id | Id of the call to mark as handled. | |
| Query | extension | Id | Id of the extension who handled the call. |
{
"extension": "12345678901234567890ABCD"
}
| JSON object | ||
|---|---|---|
| success | Boolean | True on success. |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 404 | id | Queue not found |
| 404 | call | Call not found |
| 404 | extension | Extension not found |
| 409 | customer | Extension does not belong to the queue |
| 409 | call | Call already handled |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |