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 2 Next »

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
}
  • No labels