Changes the recording indicated by a specific ID by adding / modifying the indicated tags.
HTTP POST /ctreplay/:domain?/setTag/:recordingId
Path variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | NO | STRING | Unique domain identifier |
recordingId | YES | STRING | Unique recording identifier |
Authorization: BEARER (with a valid EC3 token)
Request body:
Name | Mandatory | Type | Description |
---|---|---|---|
- | YES | OBJECT | Tags to be modified/added |
Response:
Type: JSON
Name | Type | Description |
---|---|---|
result | BOOLEAN | If true, the service response was performed correctly |
error | NULL / STRING | Contains the error description if an error has occurred in the request |
Example:
Request:
http://<hostname>:<port>/ctreplay/default/setTag/5f048b1a2b66ce470c46460d
Request Body:
{ "auto": true, "callType": "outbound", "tags": { "foo": "bar" } }
Response:
{ "result": true, "error": null }