Hi,
After send request for scheduling in form of XML wth help of API, I am getiing a response but still camaign status is in draft mode it's not getting updated.
Can any please tell me what's the problem with given request?
Does the problem with schedule time format? my system time formate is UTC/GMT 5:30.
Please find below my request:-
<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns="http://www.w3.org/2005/Atom">
<link href="/ws/customers/nishantc/campaigns/1110545738880/schedules/1" rel="edit" />
<id>http://api.constantcontact.com/ws/customers/nishantc/campaigns/1110545738880/schedules/1</id>
<title type="text">2010-11-13T15:03:35Z</title>
<updated>2010-11-13T20:03:35.000Z</updated>
<author>
<name>Constant Contact
</name>
</author>
<content type="application/vnd.ctct+xml">
<Schedule xmlns="http://ws.constantcontact.com/ns/1.0/" id="http://api.constantcontact.com/ws/customers/nishantc/campaigns/1110545738880/schedules/1">
<ScheduledTime>2012-07-24T15:15:35.000Z</ScheduledTime>
</Schedule>
</content>
</entry>
request <entry xmlns="http://www.w3.org/2005/Atom"><id>data:,</id><title/><author/><updated>2008-04-16</updated><content type="application/vnd.ctct+xml"><ContactList xmlns="http://ws.constantcontact.com/ns/1.0/"><OptInDefault>false</OptInDefault><Name>testName6</Name><SortOrder>99</SortOrder></ContactList></content></entry>
----> -->---
status 200
response org.apache.http.conn.EofSensorInputStream@536f11
Solved! Go to Solution.
Hello,
I also recieved your other request send to our developer email support address (webservices@constantcontact.com), and sent you a reply to request. Let me know if you don't get that email.
Hello,
I also recieved your other request send to our developer email support address (webservices@constantcontact.com), and sent you a reply to request. Let me know if you don't get that email.
Error 415 has been resolved. In the RESTClient tool I changed content type to application/atom+xml in th ebody section also. like;-
<content type="application/atom+xml">
<Schedule xmlns="http://ws.constantcontact.com/ns/1.0/" id="http://api.constantcontact.com/ws/customers/nishantc/campaigns/1110545738880/schedules/1">
<ScheduledTime>2012-07-27T15:15:35.000Z</ScheduledTime>
</Schedule>
But I didn't think, that chages is mandatory because for 2nd campaign I scheduled it withput changing content type in the body section.
Note:- and also we have make sure that our request should be HTTPS.
Thanks for support & coorporation. :)
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...
See Article