GET {baseURL}/dialler/campaigns |
None
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
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 | DiallerCampaigns [] | An array of dialler campaigns. |
count | Integer | The number of dialler campaigns returned. |
orderBy | String | The field used to sort the dialler campaigns. |
ascending | Boolean | Whether the array of campaigns is sorted ascending or descending. |
status | Integer | The return code (also provided by the http status code). |
Note, the dialler campaign array has been shortened for readability.
{ "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 } |
GET {baseURL}/dialler/campaigns/{DiallerCampaignsID} |
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
A JSON Structure containing the returned campaign.
Field | Type | Data |
---|---|---|
records | DiallerCampaigns [] | An array of dialler campaigns, containing one campaign. |
count | Integer | 1 |
status | Integer | The return code (also provided by the http status code). |
Note, the dialler campaign array has been shortened for readability.
{ "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 } |
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.
GET {baseURL}/dialler/campaigns/campaign?name={DiallerCampaignsName} |
Parameter | Type | Data |
---|---|---|
DiallerCampaignsName | String | The name of the dialler campaign(s) to retrieve. |
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
A JSON Structure containing the returned campaign.
Field | Type | Data |
---|---|---|
records | DiallerCampaigns [] | An array of dialler campaigns, containing one campaign. |
count | Integer | 1 |
status | Integer | The return code (also provided by the http status code). |
Note, the dialler campaign array has been shortened for readability.
{ "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 } |
GET {baseURL}/dialler/campaigns/campaign/{DiallerCampaignsID}/resultCodes?languagesID={LanguagesID} |
Parameter | Type | Data |
---|---|---|
DiallerCampaignsName | String | The name of the dialler campaign(s) to retrieve. |
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
A JSON Structure containing the returned campaign.
Field | Type | Data |
---|---|---|
records | DiallerCampaigns [] | An array of dialler campaigns, containing one campaign. |
count | Integer | 1 |
status | Integer | The return code (also provided by the http status code). |
Note, the dialler campaign array has been shortened for readability.
{ "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 } |