/
addTagsToQMS

addTagsToQMS

Adds new tags to QMS. New tags won't be available for use until the next QMS restart.

http post /ctreplay/:domain?/addTagsToQMS

Path variables:

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

domain

NO

STRING

Unique domain identifier

Authentication headers

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

X-EC-TS

yes

STRING

Timestamp

X-EC-KEY

yes

STRING

sha256 hash

Request body:

Type: json

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

tagList

yes

array

Tag names to be added to QMS

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/addTagsToQMS

Request Body:

{ "tagList": [ "auto", "extension", "agent", "remote", "uuid", "callType", "duration", "recorderAddr", "callcenter", "ecid", "callId", "startTs", "macroactivity", "partner", "isClosed" ] }

Response:

{ "result": true, "error": null }

Â