cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Outbound API Campaign Update Error

galguire
Level 4
Level 4

Greetings,

Can you provide the URL and Body example to update a campaign via the Outbound API.  I am able to Create Campaign, Get Campaign Definition, Get Campaign Records, Import Campaign Records, Delete Campaign Records, and Delete Campaign, but the Campaign Update fails with:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<apiErrors>
    <apiError>
        <errorMessage>415 Unsupported Media Type - null</errorMessage>
    </apiError>
</apiErrors>

 

Documentation isn't clear on which host to utilize (Logger or AW) or the format of Body and Headers.

My PUT URL is:

https://aw1.swyd.com/unifiedconfig/config/campaign/5004

My Body is:

    <timeZone>
        <refURL>/unifiedconfig/config/timezone/UTC</refURL>
    </timeZone>

My Headers are:

Accept application/xml

 

Thanks,

Gary

Who Me Too'd this topic