Retrieve all AcdAgentStatus
This function retrieves all AcdAgentStatus from the client account.
URL
GET {baseURL}/acd/agentStatus?languagesID={languagesID}
Parameters
| Parameter | Type | Data |
|---|---|---|
| languagesID | Integer | The ID of the language, in which the translations for the AcdAgentStatus should be returned. |
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:
| Field | Type | Data |
|---|---|---|
| records | AcdAgentStatus [] | An array of AcdAgentStatus. |
| count | Integer | The number of records returned. |
| status | Integer | The 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
}
AcdAgentStatus Set
FROM RELEASE 3.29
This function changes the active status of an agent and sets the current active telephone number for the agent.
URL
GET users/control/setAgentStatus?id=&acdAgentStatusID={acdAgentStatusID}&telActive={telActive}
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| acdAgentStatusID | URL | Integer | The AcdAgentStatus to set for the agent. |
| telActive | URL | String | For logged in status, the active telephone number on which the agent is currently working. |
Responses
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.