Ack!! 400 killing me! XML Posted

dbinfl
Occasional Participant

Ack!! 400 killing me! XML Posted

Here is the XML being sent...


<?xml version="1.0" encoding="utf-8"?>

<entry xmlns="http://www.w3.org/2005/Atom">

    <title type="text"> </title>

    <updated>2010-10-01T13:42:08:351Z</updated>

    <author></author>

    <id>data:,none</id>

    <summary type="text">Contact</summary>

    <content type="application/vnd.ctct+xml">

        <Contact xmlns="http://ws.constantcontact.com/ns/1.0/">

            <EmailAddress>xxxx@xxxx.com</EmailAddress>

            <FirstName>fdsf</FirstName>

            <LastName>sdfd</LastName>

            <OptInSource>ACTION_BY_CONTACT</OptInSource>

            <ContactLists>

                <ContactList id="http://api.constantcontact.com/ws/customers/xxxxx/lists/1" />

            </ContactLists>

        </Contact>

    </content>

</entry>


 


anyone see any issues?

1 REPLY 1
dbinfl
Occasional Participant

nevermind. Didn't need the XML declaration.


<?xml version="1.0" encoding="utf-8"?>

Developer Portal

View API documentation, code samples, get your API key.

Visit Page