Below is the XML i'm PUTing to update a contact to be included in contact lists. The lists are included in the account owners sign up form and everything is working as expected...
Apart from the OptInSource tag. I'm setting this to ACTION_BY_CONTACT because users are can opt themselves back in to the lists using the a web form. Even though I'm setting the tag to ACTION_BY_CONTACT the emails always appear in the lists as 'Added by Site owner'. New contacts are shown as 'Added by Contact'.
Can you offer some advice please? Is it impossible to add ACTION_BY_CONTACT updates to contacts through the API? As you can see I've tried adding the OptInSource in the ContactList tags also but with no joy.
Many thanks for any help you can provide.
<title type="text">Contact: </title>
<Contact xmlns="http://ws.constantcontact.com/ns/1.0/" id="http://api.constantcontact.com/ws/customers//contacts/892">
<link xmlns="http://www.w3.org/2005/Atom" href="http://api.constantcontact.com/ws/customers//lists/25" rel="self"></link>
<link xmlns="http://www.w3.org/2005/Atom" href="http://api.constantcontact.com/ws/customers//lists/24" rel="self"></link>