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/5f048b1a2b66ce470c46460d
Response:
{ "result": true, "document": { "_id": "5f048b1a2b66ce470c46460d", "__v": 0, "callcenter": "CC_DEFAULT", "partner": "DEFAULT", "recorderAddr": "10.112.4.138", "callType": "outbound", "auto": true, "macroactivity": null, "ecid": "saasher|11|50463|51", "remote": "3287039697", "extension": "80106@B2BUAEP.saasher.priv", "duration": 25728, "startTs": "2020-07-07T09:37:08.000Z", "callId": "fa83e30e-a3be-ea11-8420-005056ae4e88@saasher-cti1_0_0", "agent": "ACA010447", "uuid": "fd6920f9-9042-4226-852d-02777582c527" }, "error": null }