Retrieve all AcdEventTypesThis function retrieves all AcdEventTypes from the system. URL Translations Ignore |
---|
Code Block |
---|
GET {baseURL}/acd/events/types |
|
ParametersNone ResponsesIf 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 |
---|
filter | String | The applied filter. This is reserved for future use. | limitStart | Integer | The first record index. Currently 0, reserved for future use. | limitPageSize | Integer | The number of records. -1 indicates all records. Reserved for future use. | records | AcdEventType [] | An array of AcdEventTypes. | count | Integer | The number of records returned. | orderBy | String | The field used to sort the records. | ascending | Boolean | Whether the array of records is sorted ascending or descending. | status | Integer | The return code (also provided by the http status code). |
Example Translations Ignore |
---|
Code Block |
---|
| {
"filter": "",
"limitStart": 0,
"limitPageSize": -1,
"records": [
{
"ShortText": "AcdEventTypes.VoiceMail",
"ID": 1
},
{
"ShortText": "AcdEventTypes.Fax",
"ID": 2
},
{
"ShortText": "AcdEventTypes.Callback",
"ID": 3
},
{
"ShortText": "AcdEventTypes.SMS",
"ID": 4
},
{
"ShortText": "AcdEventTypes.Email",
"ID": 5
},
{
"ShortText": "AcdEventTypes.WorkFlowConnector",
"ID": 6
},
{
"ShortText": "AcdEventTypes.Chat",
"ID": 7
}
],
"count": 7,
"orderBy": "ID",
"ascending": true,
"status": 200
} |
|
Retrieve all AcdEventStatusThis function retrieves all AcdEventStatus from the system. URL Translations Ignore |
---|
Code Block |
---|
GET {baseURL}/acd/events/status |
|
ParametersNone ResponsesIf 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 |
---|
filter | String | The applied filter. This is reserved for future use. | limitStart | Integer | The first record index. Currently 0, reserved for future use. | limitPageSize | Integer | The number of records. -1 indicates all records. Reserved for future use. | records | AcdEventStatus [] | An array of AcdEventStatus. | count | Integer | The number of records returned. | orderBy | String | The field used to sort the records. | ascending | Boolean | Whether the array of records is sorted ascending or descending. | status | Integer | The return code (also provided by the http status code). |
Example Translations Ignore |
---|
Code Block |
---|
| {
"filter": "",
"limitStart": 0,
"limitPageSize": -1,
"records": [
{
"ShortText": "AcdEventStatus.EnterSystem",
"ID": 0
},
{
"ShortText": "AcdEventStatus.Distribute",
"ID": 1
},
{
"ShortText": "AcdEventStatus.TransportSMTP",
"ID": 2
},
{
"ShortText": "AcdEventStatus.TransportToGroup",
"ID": 4
},
{
"ShortText": "AcdEventStatus.TransportAgent",
"ID": 10
},
{
"ShortText": "AcdEventStatus.New",
"ID": 20
},
{
"ShortText": "AcdEventStatus.Seen",
"ID": 30
},
{
"ShortText": "AcdEventStatus.Remind",
"ID": 40
},
{
"ShortText": "AcdEventStatus.ChatClosed",
"ID": 98
},
{
"ShortText": "AcdEventStatus.Done",
"ID": 99
},
{
"ShortText": "AcdEventStatus.Error",
"ID": 100
}
],
"count": 11,
"orderBy": "ID",
"ascending": true,
"status": 200
} |
|
|