| Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Retrieve Dialler ContactsThis function retrieves all dialler contacts from the client account or from a specific dialler campaign. 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:
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 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): Translations Ignore |
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):
Example (shortened, provide DiallerCampaignsName):
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field | Type | Data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| records | DiallerContacts[] | An array of dialler contacts. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| count | Integer | The number of records returned. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| status | Integer | The return code (also provided by the http status code). |
Example (shortened, provide DiallerCampaignsName):
| Translations Ignore | ||
|---|---|---|
|
Example
Note, the dialler contact data has been shortened for readability.
| Translations Ignore | |||||
|---|---|---|---|---|---|
|
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.
| Field | Type | Data |
|---|---|---|
| records | DiallerContacts[] | An array of dialler contacts. |
| count | Integer | The number of records returned. |
| status | Integer | The return code (also provided by the http status code). |
Example
Note, the dialler contact data has been shortened for readability.
| Translations Ignore | |||||
|---|---|---|---|---|---|
|
|
Update a Dialler Contact
This 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.
- If the ID is specified, then this function can be used to update the UserData field, if specified.
- If only UserData is specified, then the contact must be found by UserData. Note, that it is not possible to determine which contact exactly will be updated if more than one contact exists with the same UserData field value.
- Only the fields specified in the JSON data structure for the contact will be updated.
URL
| Translations Ignore | ||
|---|---|---|
|
Post Data
A JSON structure containing the contact to update.
Note that the following fields are mandatory:
- ID
- OR
- UserData
The other fields may be provided or left empty.
Example (all fields which can be updated, provide ID):
| Translations Ignore | ||
|---|---|---|
|
Example (provide UserData, partial update only):
| Translations Ignore | ||
|---|---|---|
|
Responses
If 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.
| Field | Type | Data |
|---|---|---|
| records | DiallerContacts[] | An array containing the updated contact. |
| count | Integer | The number of records returned (will always be 1). |
| status | Integer | The return code (also provided by the http status code). |
Example
Note, the dialler contact data has been shortened for readability.
| Translations Ignore | |||||
|---|---|---|---|---|---|
|
Delete a Dialler Contact by ID
This function deletes a dialler contact including all related data by ID.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| diallerContactsID | URL | Integer | The ID of the dialler contact to delete. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Delete a Dialler Contact by UserData
This 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
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| userData | Query | String | The UserData of the dialler contact to delete. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Lock a Dialler Contact by ID
This function deletes locks a dialler contact including all related data by ID.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| diallerContactsID | URL | Integer | The ID of the dialler contact to deletelock. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Lock a Dialler Contact by UserData
This function deletes locks 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 deletedlocked. It is not possible to determine which contact this will actually be.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| userData | Query | String | The UserData userData of the dialler contact to deletelock. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Unlock a Dialler Contact by ID
This function locks unlocks a dialler contact by ID.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| diallerContactsID | URL | Integer | The ID of the dialler contact to lock. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Unlock a Dialler Contact by UserData
This function locks 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 lockedunlocked. It is not possible to determine which contact this will actually be.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| userData | Query | String | The userData of the contact to lock. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Reset a Dialler Contact by ID
This function unlocks 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
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| diallerContactsID | URL | Integer | The ID of the dialler contact to lockreset. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Reset a Dialler Contact by UserData
This function unlocks 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 unlockedreset. It is not possible to determine which contact this will actually be.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| userData | Query | String | The userData of the contact to lockreset. |
Responses
If 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.
Field | Type | Data |
|---|---|---|
| status | Integer | The return code (also provided by the http status code). |
Retrieve Dialler Contact
ResultsHistory by ID
This function retrieves all history (calls and results recorded result codes) for a dialler contact, given the dialler contact ID.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
Parameter | Where | Type | Data |
|---|---|---|---|
| diallerContactsID | URL | Integer | The ID of the dialler contact to retrieve the data from. |
Responses
If 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.
| Field | Type | Data |
|---|---|---|
| records | DiallerContactsHistory[] | An array of dialler contacts history. |
| count | Integer | The number of records returned. |
| status | Integer | The return code (also provided by the http status code). |
Example:
| Translations Ignore | ||
|---|---|---|
|
Retrieve Dialler Contact History by UserData
This function retrieves all history (calls and recorded result codes) for all dialler contacts with a particular UserData field value.
URL
| Translations Ignore | ||
|---|---|---|
|
Parameters
| Parameter | Where | Type | Data |
|---|---|---|---|
| userData | Query | String | The userData of the dialler contacts to search for. |
Responses
If 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.
| Field | Type | Data |
|---|---|---|
| records | DiallerContactsHistory[] | An array of dialler contacts history. |
| count | Integer | The number of records returned. |
| status | Integer | The return code (also provided by the http status code). |
| Sv translation | ||||||
|---|---|---|---|---|---|---|
| ||||||
|