Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel1

Retrieve all Calls

This function retrieves all calls from the client account.

URL

Translations Ignore


Code Block
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

Translations Ignore


Code Block
languagejs
{
    "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
}