Retrieve all Network IVR Lists

This function retrieves all Network IVR Lists from the client account.

URL

GET {baseURL}/networkIVRLists

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.
recordsNetworkIVRList []An array of 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": [
        {
            "ClientsID": 1,
            "ID": 9,
            "Name": "Campaign List"
        },
...
        {
            "ClientsID": 1,
            "ID": 3,
            "Name": "Routing"
        }
    ],
    "count": 11,
    "orderBy": "Name",
    "ascending": true,
    "status": 200
}

Retrieve the Entries in a Network IVR List

This function retrieves the entries in a network IVR list.

URL

GET {baseURL}/networkIVRLists/{networkIVRListsID}

Parameters

Parameter

Where

Type

Data

networkIVRListsIDURLIntegerThe ID of the NetworkIVRList.


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.
recordsNetworkIVRListEntry []An array of network IVR list entries.
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": [
        {
            "Field4": null,
            "Field2": "Field 2",
            "Field3": "Field 3",
            "bMarkedForSend": null,
            "ID": 22,
            "NetworkIVRListsID": 9,
            "Field1": "Key 22"
        },
...
        {
            "Field4": null,
            "Field2": "Field 2",
            "Field3": "Field 3",
            "bMarkedForSend": null,
            "ID": 24,
            "NetworkIVRListsID": 9,
            "Field1": "Key 24"
        }
    ],
    "count": 238,
    "orderBy": "",
    "ascending": true,
    "status": 200
}

Add a new Entry to a Network IVR List

This function adds a new entry to a network IVR list.

URL

POST {baseURL}/networkIVRLists/{networkIVRListsID}

Parameters

Parameter

Where

Type

Data

networkIVRListsIDURLIntegerThe ID of the NetworkIVRList.


Post Data

A JSON structure containing the new entry to add.

Example:

{
    "Field1": "Field 1 Value", 
    "Field2": "Field 2 Value", 
    "Field3": "Field 3 Value",
    "Field4": "Field 4 Value"
}

Responses

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

Update an Entry in a Network IVR List

This function updates an entry in a network IVR list.

URL

PATCH {baseURL}/networkIVRLists/{networkIVRListsID}/{networkIVRListEntryID}

Parameters

Parameter

Where

Type

Data

networkIVRListsIDURLIntegerThe ID of the NetworkIVRList.
networkIVRListEntryIDURLIntegerThe ID of the NetworkIVRListEntry to update.

Post Data

A JSON structure containing the data to change.

Example:

{
    "Field1": "Field 1 Value", 
    "Field2": "Field 2 Value", 
    "Field3": "Field 3 Value",
    "Field4": "Field 4 Value"
}

Responses

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

Delete an Entry in a Network IVR List

This function deletes an entry in a network IVR list.

URL

DELETE {baseURL}/networkIVRLists/{networkIVRListsID}/{networkIVRListEntryID}

Parameters

Parameter

Where

Type

Data

networkIVRListsIDURLIntegerThe ID of the NetworkIVRList.
networkIVRListEntryIDURLIntegerThe ID of the NetworkIVRListEntry to update.

Responses

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

  • No labels