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

Compare with Current View Page History

Version 1 Next »

Retrieve all Routing Applications

This function retrieves all routing applications from a client account a daemon process, waiting (for a maximum of 10 seconds) for the result of running the application.

URL

GET {baseURL}/routingApplications

Parameters

None

Responses

If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.

Returned Data (200 OK)

A JSON Structure containing the following fields:

FieldTypeData
filterStringThe applied filter. This is reserved for future use.
limitStartIntegerThe first record index. Currently 0, reserved for future use.
limitPageSizeIntegerThe number of records. -1 indicates all records. Reserved for future use.
recordsRoutingApplication []An array of RoutingApplication records.
countIntegerThe number of records returned.
orderByStringThe field used to sort the records. 
ascendingBooleanWhether the array of records is sorted ascending or descending.
statusIntegerThe return code (also provided by the http status code).

Example

{
    "filter": "",
    "limitStart": 0,
    "limitPageSize": -1,
    "records": [
        {
            "TestCLI": null,
            "RoutingApplicationTypesID": null,
            "RoutingApplicationFilesActiveID": 2705,
            "RoutingApplicationFilesTestID": 2705,
            "dtCallLogStart": null,
            "ClientsID": 1,
            "ID": 2793,
            "WorkFlowApplicationTypesID": 1,
            "bOverflowLicense": false,
            "Name": "Test Routing Application"
        },
...
        {
            "TestCLI": "49111",
            "RoutingApplicationTypesID": null,
            "RoutingApplicationFilesActiveID": 2688,
            "RoutingApplicationFilesTestID": 2688,
            "dtCallLogStart": null,
            "ClientsID": 1,
            "ID": 2786,
            "WorkFlowApplicationTypesID": 1,
            "bOverflowLicense": false,
            "Name": "IVR Menu"
        }
    ],
    "count": 85,
    "orderBy": "Name",
    "ascending": true,
    "status": 200
}
  • No labels