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.
09-08-2018 07:12 AM
This has been resolved.
Content-Type application/xml is a required header and the body needs to include the changeStamp.
09-08-2018 07:12 AM
This has been resolved.
Content-Type application/xml is a required header and the body needs to include the changeStamp.
04-04-2024 03:17 AM
what is the URL for deleting the dial list from a specific campaign please ?
04-04-2024 09:07 AM
04-05-2024 02:57 AM
What is the content of the body as i am getting 413 unsupported media
04-18-2024 12:15 AM
Is there any content in Body of Delete Request ?
04-27-2024 10:01 AM
No.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide