Retrieves all export rules documents.
HTTP GET /ctreplay/:domain?/getExportRules
Path variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | NO | STRING | Unique domain 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 |
documents | OBJECT | list of export rules objects |
Example:
Request:
http://<hostname>:<port>/ctreplay/default/getExportRules
Response:
{ "result": true, "documents": [ { "destination": { "type": "fs", "path": "destination/path", "parameters": "" }, "_id": "5f4e175a3a239d29a425b7b8", "__v": 0, "user": "admin", "action": "export", "blockSize": 100, "fileNamePattern": "callId", "format": "zip", "query": "{\"macroactivity\": \"DEFAULT\"}", "schedule": "******" } ], "error": null }