api:pbx:app:action:cdrnoteget
Table of Contents
API : PBX : APP : Action : Get/Set CDR note
Introduction
This request will get/set the CDR note on an ongoing call.
Request
| URL | https://api.telecomx.dk/pbx/app/action/cdrnote | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| Query | target | String | Id of call to work on. |
| cdrnote | String | [optional] New CDR note to set, omit to only get the current CDR note. |
|
Request example
https://api.telecomx.dk/pbx/app/action/hangup?target=12345678901234567890ABCD&cdrnote=this%20is%20a%20test
Response
| Json object | ||
|---|---|---|
| cdrNote | String | The current or newly set CDR note. |
Example
{ "cdrNote": "this is a test" }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | target | Invalid target |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/app/action/cdrnoteget.txt · Last modified: 2025/03/25 22:25 by Per Møller