This request will return the value of a variable on an ongoing call.
| URL | https://api.telecomx.dk/pbx/callvariable/CALL_ID/VARIABLE_NAME | |
|---|---|---|
| Method | GET | |
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | |
| Param | CALL_ID | Id of call. |
| VARIABLE_NAME | Name of the variable. | |
https://api.telecomx.dk/pbx/variable/pbx4.telecomx.dk:45455544.43/onduty
| Json object | ||
|---|---|---|
| name | String | Name of variable |
| value | String | Value of variable |
{ name: 'onduty', value: '203' }
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | name | Variable not found |
| 500 | internal_error | <Unspecified> |