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

Compare with Current View Page History

« Previous Version 2 Next »

Retrieve all Calls

This function retrieves all calls from the client account.

URL

GET {baseURL}/calls

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
recordsAcdAgentStatus []An array of AcdAgentStatus.
countIntegerThe number of records returned.
statusIntegerThe return code (also provided by the http status code).

Example

{
    "records": [
        {
            "Abbreviation": null,
            "bOutbound": true,
            "bAgentSettable": true,
            "bVoiceMail": false,
            "bCalls": true,
            "bCallback": false,
...
            "bSMS": false,
            "ResellersID": 1,
            "dtLastModified": "2021-08-27T15:35:55.255+02:00",
            "bTicket": false
        },
...
    ],
    "count": 16,
    "status": 200
}
  • No labels