| Sv translation | ||||
|---|---|---|---|---|
| ||||
Retrieve |
...
Dialler ContactsThis function retrieves all dialler contacts from the client account or from a specific dialler campaign. URL
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 following fields:
...
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:
ExampleNote, the dialler contact array has been shortened for readability.
Retrieve a specific Dialler Contact by IDThis function retrieves a specific dialler contact by ID. 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 returned contact.
ExampleNote, the dialler campaign array has been shortened for readability.
Retrieve Dialler Contacts by User DataThis function retrieves the dialler contacts given the UserData value to search for. 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 returned contacts.
ExampleNote, the dialler contact data has been shortened for readability.
Import a Dialler |
...
ContactThis function imports a dialler contact into a specific dialler campaign specified by either the ID or name of the Dialler Campaign. URL
|
...
Parameters
|
Post Data
A JSON structure containing the contact to import.
Note that the following fields are mandatory:
- Name
- DiallerCampaignsID
- At least one of
- PhoneNumber1
- ...
- PhoneNumber6
The other fields may be provided or left empty.
Example (all fields):
Post DataA JSON structure containing the contact to import. Note that the following fields are mandatory:
The other fields may be provided or left empty. Example (all fields, provide DiallerCampaignsID):
| |||||||||||||||||||||||||
| Code Block | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{
"DiallerCampaignsID": 538,
"RandomSortOrder": null,
"UserData": "testUserData",
"Client": "Client",
"Service": "Service",
"ReferenceNumber": "ReferenceNumber",
"Name" : "Name",
"FirstName" : "FirstName",
"Salutation" : "Salutation",
"Title" : "Title",
"Company" : "Company",
"Address" : "Address",
"PostalCode" : "PostalCode",
"City" : "City",
"Country" : "Country",
"AccountOwner" : "AccountOwner",
"AccountBank" : "AccountBank",
"AccountNationalBankCode" : "AccountNationalBankCode",
"AccountBIC" : "AccountBIC",
"AccountNumber" : "AccountNumber",
"AccountIBAN" : "AccountIBAN",
"Amount": 0.0,
"PhoneNumber1" : "PhoneNumber1",
"PhoneNumber2" : "PhoneNumber2",
"PhoneNumber3" : "PhoneNumber3",
"PhoneNumber4" : "PhoneNumber4",
"PhoneNumber5" : "PhoneNumber5",
"PhoneNumber6" : "PhoneNumber6",
"FaxNumber" : "FaxNumber",
"Email" : "Email",
"Website" : "Website",
"Comment" : "Comment",
"ReservedUsersUID" : "ReservedUsersUID",
"FollowUpUsersUID" : "FollowUpUsersUID",
"FollowUpDateTime" : null,
"dtBeginDate" : "
|
Responses
If the request is performed, 200 OK is returned, returning the imported or already existing contact if it was a duplicate.
See Return Codes for further possible status codes.
Returned Data (200 OK)
A JSON Structure containing the imported contact.
...
Example (shortened, provide DiallerCampaignsName):
|
Example
Note, the dialler contact data has been shortened for readability.
| Code Block | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
{
"records": [
{
"bLastResultMailbox": null,
"bPhoneNumber3Invalid": null,
"bPhoneNumber4Invalid": null,
"Company": "Company",
ResponsesIf the request is performed, 200 OK is returned, returning the imported or already existing contact if it was a duplicate. See Return Codes for further possible status codes. Returned Data (200 OK)A JSON Structure containing the imported contact.
ExampleNote, the dialler contact data has been shortened for readability.
|
Import a Dialler Contact by Dialler Campaign Name
This function imports a dialler contact into a specific dialler campaign specified by ID.
URL
| Code Block |
|---|
POST {baseURL}/dialler/contacts/import?overwriteDuplicates={overwriteDuplicates} |
Query Parameters
...
Whether to overwrite duplicate contacts.
If this is true, existing contact data will be overwritten when a match on the UserData field is detected.
If this is false, the new contact will be created whether a matching record is found or not.
Update a Dialler ContactThis function updates an existing dialler contact into a specific dialler campaign specified by either the ID or UserData, depending on what is supplied in the JSON contact data.
URL
Post DataA JSON structure containing the contact to update. Note that the following fields are mandatory:
The other fields may be provided or left empty. Example (all fields which can be updated, provide ID):
Example (provide UserData, partial update only):
ResponsesIf the request is performed, 200 OK is returned, and the updated contact is returned. See Return Codes for further possible status codes. Returned Data (200 OK)A JSON Structure containing the updated contact.
ExampleNote, the dialler contact data has been shortened for readability.
Delete a Dialler Contact by IDThis function deletes a dialler contact including all related data by ID. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Delete a Dialler Contact by UserDataThis function deletes a dialler contact including all related data by providing the UserData for the record to delete. Note, if more than one record contains the same user data, the first one found in the database will be deleted. It is not possible to determine which contact this will actually be. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Lock a Dialler Contact by IDThis function locks a dialler contact by ID. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Lock a Dialler Contact by UserDataThis function locks a dialler contact by UserData. Note, if more than one record contains the same user data, the first one found in the database will be locked. It is not possible to determine which contact this will actually be. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Unlock a Dialler Contact by IDThis function unlocks a dialler contact by ID. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Unlock a Dialler Contact by UserDataThis function unlocks a dialler contact by UserData. Note, if more than one record contains the same user data, the first one found in the database will be unlocked. It is not possible to determine which contact this will actually be. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Reset a Dialler Contact by IDThis function reset a dialler contact by ID. Resetting a dialler contact sets all call try counters etc. to 0 so the contact is as if it was just imported to the dialler. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Reset a Dialler Contact by UserDataThis function resets a dialler contact by UserData. Resetting a dialler contact sets all call try counters etc. to 0 so the contact is as if it was just imported to the dialler. Note, if more than one record contains the same user data, the first one found in the database will be reset. It is not possible to determine which contact this will actually be. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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.
Retrieve Dialler Contact History by IDThis function retrieves all history (calls and recorded result codes) for a dialler contact, given the dialler contact ID. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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 imported contact.
Example:
Retrieve Dialler Contact History by UserDataThis function retrieves all history (calls and recorded result codes) for all dialler contacts with a particular UserData field value. URL
Parameters
ResponsesIf the request is performed, 200 OK is returned. If the contact 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 imported contact.
|
| Sv translation | ||||||
|---|---|---|---|---|---|---|
| ||||||
|
Post Data
A JSON structure containing the contact to import.
Note that the following fields are mandatory:
- Name
- DiallerCampaignsName
- At least one of
- PhoneNumber1
- ...
- PhoneNumber6
The other fields may be provided or left empty.
Example (all fields):
| Code Block |
|---|
{
"DiallerCampaignsName": "My Campaign Name",
"RandomSortOrder": null,
"UserData": "testUserData",
"Client": "Client",
"Service": "Service",
"ReferenceNumber": "ReferenceNumber",
"Name" : "Name",
"FirstName" : "FirstName",
"Salutation" : "Salutation",
"Title" : "Title",
"Company" : "Company",
"Address" : "Address",
"PostalCode" : "PostalCode",
"City" : "City",
"Country" : "Country",
"AccountOwner" : "AccountOwner",
"AccountBank" : "AccountBank",
"AccountNationalBankCode" : "AccountNationalBankCode",
"AccountBIC" : "AccountBIC",
"AccountNumber" : "AccountNumber",
"AccountIBAN" : "AccountIBAN",
"Amount": 0.0,
"PhoneNumber1" : "PhoneNumber1",
"PhoneNumber2" : "PhoneNumber2",
"PhoneNumber3" : "PhoneNumber3",
"PhoneNumber4" : "PhoneNumber4",
"PhoneNumber5" : "PhoneNumber5",
"PhoneNumber6" : "PhoneNumber6",
"FaxNumber" : "FaxNumber",
"Email" : "Email",
"Website" : "Website",
"Comment" : "Comment",
"ReservedUsersUID" : "ReservedUsersUID",
"FollowUpUsersUID" : "FollowUpUsersUID",
"FollowUpDateTime" : null,
"dtBeginDate" : "2020-01-01T00:00:00",
"dtEndDate" : "2020-03-01T00:00:00",
"Manufacturer" : "Manufacturer",
"Model" : "Model",
"Tag": "Tag",
"ExternalSystemLink": "http://test.external.link/"
} |
Responses
If the request is performed, 200 OK is returned, returning the imported or already existing contact if it was a duplicate.
See Return Codes for further possible status codes.
Returned Data (200 OK)
A JSON Structure containing the imported contact.
...
Example
Note, the dialler contact data has been shortened for readability.
| Code Block | ||
|---|---|---|
| ||
| {
"records": [
{
"bLastResultMailbox": null,
"bPhoneNumber3Invalid": null,
"bPhoneNumber4Invalid": null,
"Company": "Company",
"ExternalSystemLink": "http://test.external.link/",
"Email": "Email",
"LastAcdAgentEndReasonsID": null,
...
"PhoneNumber3LastAcdAgentEndReasonsID": null,
"Tag": "Tag"
}
],
"count": 1,
"status": 200
} |