09-06-2018 10:36 AM - edited 03-14-2019 06:28 PM
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
Solved! Go to Solution.