Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Returns the recording onject with the specified id.

HTTP GET /ctreplay/:domain?/getRecording/:documentId

Path variables:

Name

Mandatory

Type

Description

domain

NO

STRING

Unique domain identifier

documentId

YES

STRING

Unique recording identifier

Authorization: BEARER

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

document

OBJECT

Recording object

Example:

Request:

http://<hostname>:<port>/ctreplay/default/getRecording/5f21411fa3b03d39b876143b

Response:

{
    "result": true,
    "document": {
        "_id": "5f21411fa3b03d39b876143b",
        "__v": 0,
        "callcenter": "CC_DEFAULT",
        "partner": "DEFAULT",
        "recorderAddr": "10.112.4.138",
        "callType": "callTask",
        "auto": true,
        "macroactivity": null,
        "ecid": "saasher|19|169234|33",
        "remote": "3277368543",
        "extension": "80302@B2BUAEP.saasher.priv",
        "duration": 139520,
        "startTs": "2020-07-07T07:26:46.000Z",
        "callId": "fefa5ed5-90be-ea11-8420-005056ae4e88@saasher-cti1_0_0",
        "agent": "CRE010022",
        "uuid": "fb633245-dcb8-4264-b7e7-8a3507567c57",
        "tags": {
            "VUUID": "fb633245-dcb8-4264-b7e7-8a3507567c57",
            "AGENT": "CRE010022",
            "REMOTE": "3277368543",
            "EXTENSION": "80302@B2BUAEP.saasher.priv",
            "ECID": "saasher|19|169234|33",
            "EXTRA0": "saasher|19|169234|33"
        },
        "isClosed": false
    },
    "error": null
}
  • No labels