/
setTag

setTag

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

Name

Mandatory

Type

Description

domain

NO

STRING

Unique domain identifier

recordingId

YES

STRING

Unique recording identifier

Authorization: BEARER (token returned by EasyCIM SSO)

Request body:

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

-

yes

object

Tags to be modified/added

Response:

Type: json

Name

Type

Description

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 }