Add Contacts to Campaign
HTPS Method |
POST |
URI |
https://<server>/adminapi/campaign/{id}/contacts |
Example URI |
https://uccx-server/adminapi/campaign/200/contacts |
Accept |
Application/XML, Application/JSON |
Content Type |
Application/XML, Application/JSON |
HTPS Success Code |
200, 202 |
HTPS Failure Codes |
400, 401, 403, 404, 405, 500 |
Error Codes |
— |
Input XML Example 1
|
Note | Dial Time field is applicable only for UCCX Agent Direct Preview campaigns. |
Success Response
<?xml version="1.0" encoding="UTF-8"?>
<campaignContacts>
<campaign name="Campaign1">
<refURL>https://uccx-server/adminapi/campaign/200</refURL>
</campaign>
<csvdata/>
</campaignContacts>
Input XML Example 2
|
Response Headers
The header "Location" contains the URL for the import status API, which can be executed by client to get the status of import.
Example: http://<UCCX FQDN>/adminapi/campaign/<campId>/contacts/status
Attention | Do not upload the outbound dialing list using the Load Balancer. |