| Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Retrieve allAcdEventTypesAcdEventsThis function retrieves all AcdEventTypes AcdEvents from the systemclient account. URL
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:
Example
Retrieve an AcdEvent by IDThis function retrieves one AcdEvent by ID from the client account. URL
Parameters
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:
Example
Create an AcdEventThis function retrieves all AcdEventStatus from the systemcreates an AcdEvent. URL
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). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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
} |
Retrieve a specific ACD Group by ID
This function retrieves a specific ACD group by ID.
URL
| Code Block |
|---|
GET {baseURL}/acd/groups/group/{AcdGroupsID} |
Parameters
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 returned data.
Example
Note, the record array has been shortened for readability.
| Code Block | ||
|---|---|---|
| ||
{
"records": [
{
"QueueMusicID4Sec": -1,
"SupervisorAggregationSkill5ID": null,
"DistributionAlgorithmID": 1,
...
"bPositionAnnouncement3": false,
"TarifAnnouncementWavesID": null,
"bCallRedirectionAfterNumberAnnouncement": false
}
],
"count": 1,
"status": 200
} |
Retrieve ACD Group by Name
This function retrieves one or more ACD groups, depending on the passed name. If more than one group is available which matches the name passed (partial match), then all corresponding groups will be returned.
URL
| Code Block |
|---|
GET {baseURL}/acd/groups/group?name={AcdGroupsName} |
Parameters
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 returned acd groups.
An array of ACD groups.
Example
Note, the records array has been shortened for readability.
| Code Block | ||
|---|---|---|
| ||
{
"records": [
{
"QueueMusicID4Sec": 10,
"SupervisorAggregationSkill5ID": null,
"DistributionAlgorithmID": 3,
...
"QueueOffhookAnnouncementID": null,
"bPositionAnnouncement3": false,
"TarifAnnouncementWavesID": null,
"bCallRedirectionAfterNumberAnnouncement": false
}
],
"count": 3,
"status": 200
} |
| language | de |
|---|
Post Data
A JSON structure containing the following parameters:
Parameter | Required | Supported in AcdEventTypes | Type | Data | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| AcdEventTypesID | Yes | Integer | The ID of the AcdEventType to create. | |||||||
| AcdGroupsID | EITHER THIS | All | Integer | The ID of the AcdGroup to which this event should be distributed. Either specify this, or the parameters AcdConfigurationGroupsID and AcdAgentGroupsID. | ||||||
| AcdConfigurationGroupsID | OR BOTH OF THESE | All | Integer | The ID of the Configuration Group to which this event should be distributed. Either specify this with AcdAgentGroupsID, or specify AcdGroupsID. | ||||||
| AcdAgentGroupsID | OR BOTH OF THESE | All | Integer | The ID of the Agent Group to which this event should be distributed. Either specify this with AcdAgentGroupsID, or specify AcdGroupsID. | ||||||
| UsersID | No | All | Integer | The ID of the User to which this event should be distributed. If not provided, the event is distributed via the group queue. | ||||||
| Sender | Yes | All | String | A string identifying the sender. For telephone related events this should be a telephone number in E.164 format (Voice Mail and Callback Requests). For other events the data may be context specific - for example an email address. | ||||||
| Receiver | No | All | String | A string identifying the receiver. For telephone related events this should be a telephone number which is available in the system as a configured service number in E.164 format (Voice Mail and Callback Requests). For other events, the data may be context specific - for example an email address. | ||||||
| Subject | Yes | All | String | A string subject to associate with the event. Can be any text. | ||||||
| Body | No | Callback | String | A body which will be added to the event body data. | ||||||
| CrmURL | No | All | String | An URL which will be associated with the event. This should correspond to a well formed URL. | ||||||
| UserData | No | All | String | An optional user data field which will be associated with the event. For Ticket (Workflow) events, this will correspond to the foreign system ticket number. | ||||||
nPriority
| No | All | Integer | The priority of the event. If not specified, 50 is used. | ||||||
dtAppointmentDate
| No | All | String | The date part of the required appointment in the format yyyy-mm-dd or yyyymmdd The fields dtAppointmentDate and dtAppointmentTime are set as follows:
Note: actual distribution depends on the agents logged in and the distribution requirements (skill, priority etc.). | ||||||
dtAppointmentTime
| No | All | String | The time part of the required appointment in the format hh:mm or hhmm See dtAppointmentDate above for important details on how to use this parameter. |
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 | AcdEvent [] | An array of AcdEvents containing the created AcdEvent. |
| count | Integer | 1 |
| status | Integer | The return code (also provided by the http status code). |
Example Post Data
Create a callback event:
| Translations Ignore | ||
|---|---|---|
|
Create a callback event for a specific user:
| Translations Ignore | ||
|---|---|---|
|
Create a ticket event:
| Translations Ignore | ||
|---|---|---|
|
Example response:
| Translations Ignore | |||||
|---|---|---|---|---|---|
|
| Table of Contents | ||
|---|---|---|
|
Retrieve all Dialler Campaigns
This function retrieves all dialler campaigns from the client account.
URL
| Code Block |
|---|
GET {baseURL}/dialler/campaigns |
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:
Example
Note, the dialler campaign array has been shortened for readability.
| Code Block | ||
|---|---|---|
| ||
{
"filter": "",
"limitStart": 0,
"limitPageSize": -1,
"records": [
{
"ContactPreviewTime": 5,
"nMaxParallelLines": null,
"bCloseContactsOnIncomingCallsMatchCallerID": true,
"dtTo": null,
"LanguagesID": 2,
"bCallerIDActive": false,
"Name": "Campaign 1000",
...
"ClientsID": 1,
"AbortOnNoTelNumberResultCodesID": 2492,
"IncomingCallResultCodesID": 2494
}
],
"count": 1,
"orderBy": "Name",
"ascending": true,
"status": 200
} |
Retrieve a specific Dialler Campaign by ID
This function retrieves a specific dialler campaign by ID.
URL
| Code Block |
|---|
GET {baseURL}/dialler/campaigns/{DiallerCampaignsID} |
Parameters
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 returned campaign.
Example
Note, the dialler campaign array has been shortened for readability.
| Code Block | ||
|---|---|---|
| ||
{
"records": [
{
"ContactPreviewTime": 5,
"nMaxParallelLines": null,
"bCloseContactsOnIncomingCallsMatchCallerID": true,
"dtTo": null,
"LanguagesID": 2,
"bCallerIDActive": false,
"Name": "Campaign 1000",
...
"ClientsID": 1,
"AbortOnNoTelNumberResultCodesID": 2492,
"IncomingCallResultCodesID": 2494
}
],
"count": 1,
"status": 200
} |
Retrieve Dialler Campaigns by Name
This function retrieves one or more dialler campaigns, depending on the passed name. If more than one campaign is available which matches the name passed (partial match), then all corresponding campaigns will be returned.
URL
| Code Block |
|---|
GET {baseURL}/dialler/campaigns/campaign?name={DiallerCampaignsName} |
Parameters
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 returned campaign.
Example
Note, the dialler campaign data has been shortened for readability.
| Code Block | ||
|---|---|---|
| ||
{
"records": [
{
"ContactPreviewTime": 5,
"nMaxParallelLines": null,
"bCloseContactsOnIncomingCallsMatchCallerID": true,
"dtTo": null,
"LanguagesID": 2,
"bCallerIDActive": false,
"Name": "Campaign 1000",
...
"ClientsID": 1,
"AbortOnNoTelNumberResultCodesID": 2492,
"IncomingCallResultCodesID": 2494
}
],
"count": 1,
"status": 200
} |
Retrieve the Result Codes from a Dialler Campaign
This function retrieves all result codes from a particular dialler campaign.
URL
| Code Block |
|---|
GET {baseURL}/dialler/campaigns/campaign/{DiallerCampaignsID}/resultCodes?languagesID={LanguagesID} |
Parameters
The ID of the language in which to retrieve the result codes.
Currently supported:
1 = English
2 = German
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 returned result codes.
Example
Note, the dialler campaign result codes array has been shortened for readability.
| Translations Ignore | |||||
|---|---|---|---|---|---|
|
Clone a Dialler Campaign
This function clones a dialler campaign including all related data except for the contacts in the campaign.
URL
| Code Block |
|---|
POST {baseURL}/dialler/campaigns/clone |
POST Data
A JSON Structure containing the following parameters:
Example:
| Code Block |
|---|
{
"source": "Campaign 1000",
"destination": "My New Campaign",
"userData": "UserData Field Contents"
} |
Responses
If the request is performed, 200 OK is returned.
If the source campaign does not exist, 404 Not Found is returned.
If the destination campaign already exists, 409 Conflict is returned.
See Return Codes for further possible status codes.
Returned Data (200 OK)
A JSON Structure containing the cloned campaign.
Example
Note, the dialler campaign data has been shortened for readability.
| Translations Ignore | |||||
|---|---|---|---|---|---|
|
Delete a Dialler Campaign by ID
This function deletes a dialler campaign including all related data.
URL
|
| Info | ||
|---|---|---|
| ||
NOTE: If the Result_ parameter is received in the returned event and this contains the value "UPDATED", then this means the ACD group configuration stipulates that no duplicate ACD events should be created. In this case, the existing event is returned and updated with a comment. |
| Sv translation | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
Translations Ignore |
Parameters | ||||||||
| Parameter | Where | Type | Data | ||||||
| DiallerCampaignsID | URL | Integer | The ID of the dialler campaign to delete. | ||||||
| Field | Type | Data | |||||||
| status | Integer | The return code (also provided by the http status code). | |||||||
| Translations Ignore |
| Code Block |
|---|
DELETE {baseURL}/dialler/campaigns/campaign?name=DiallerCampaignsName |
Parameters
Responses
If the request is performed, 200 OK is returned.
If the campaign does not exist, 404 Not Found is returned.
See Return Codes for further possible status codes.
Returned Data (200 OK)
A JSON Structure containing the status code.