Get List of Pending Contacts for Campaign

HTTPS Method

GET

URI

https://<server>/adminapi/campaign/{id}/contacts

Example URI

https://uccx-server/adminapi/campaign/200/contacts

Accept

Application/XML, Application/JSON

HTTPS Success Code

200

HTTPS Failure Codes

401, 404, 405

Error Codes

Success Response

<?xml version="1.0" encoding="UTF-8"?>
<campaignContacts>
    <campaign name="previewCampaign">
        <link href="https://uccx-server/adminapi/campaign/932"
        rel="campaign" type="campaign"/>
    </campaign>
    <csvdata>account number, first name, last name, phone1,
        phone2, phone3, dial time
 
 
        , , , 1000, , , 10:45
        , , , 1001, , , 10:45
        , , , 1002, , , 10:45
        , , , 1003, , , 10:45
        , , , 1004, , , 10:45
        </csvdata>
</campaignContacts>
<?xml version="1.0" encoding="UTF-8"?>
<campaignContacts>
    <campaign name="previewCampaign">
        <refURL>https://uccx-server/adminapi/campaign/932</refURL>
    </campaign>
    <csvdata>account number, first name, last name, phone1,
        phone2, phone3, dial time, call result, callback number, call status, call result 01, call result 02, call result 03, last number dialled, calls made to phone 01, calls made to phone 02, calls made to phone 03, retry, num missed call back


        , , , 1000, , , 10:45, 0, , 5, 0, 0, 0, 0, 0, 0, 0, false, 0
        , , , 1001, , , 10:45, 0, , 5, 0, 0, 0, 0, 0, 0, 0, false, 0
        , , , 1002, , , 10:45, 0, , 5, 0, 0, 0, 0, 0, 0, 0, false, 0
        , , , 1003, , , 10:45, 0, , 5, 0, 0, 0, 0, 0, 0, 0, false, 0
        , , , 1004, , , 10:45, 0, , 5, 0, 0, 0, 0, 0, 0, 0, false, 0
        </csvdata>
</campaignContacts>