/
getRecording
getRecording
Returns the recording object 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 (token returned by EasyCIM SSO)
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
}