Constant Contact wants to help you succeed! We’re celebrating our professional service programs on the Constant Contact Community this month and you have a chance to try one of the services for free! Learn more.
Update process not taking place...
while i use <StateCode><StateCode> tag in XML , Update process is not taking place, Can anyone tell me the exact tag for state code..
Note : If i remove state code update is taking place.. pleae help me...here is my XML code.
$entry = '<entry xmlns="http://www.w3.org/2005/Atom">
<title type="text">Contact: '.$txt_email.'</title>
<Contact xmlns="http://ws.constantcontact.com/ns/1.0/" id="http://api.constantcontact.com/ws/customers/'.$UN.'/contacts/'.$SubID.'">
I think you may want to try specifying <CountryCode> as well that matches your state code. For example, if your state code is ma, then you want to specify us as your CountryCode. You also want to make sure that the state code you are passing is correct as well. Incorrect state/country codes or non-matching state and country codes (such as using a Unisted States state code with Canada as your country) will result in an error as well.
sir can you check is it correct ????....
if so, then also am not getting updated sir, please help me..
Our contacts API documentation describes what the requirements are for state and country codes. At the bottom of the page, there is a section that describes each XML element, and links to documents that list valid state and country codes.
Could you please try using lower cases for country code and see if it works?
Thanks for your kind reply...Since i got it from also using <statename> tag along with <statecode> so it was pretty easy to retrive.. though i tired country code it was an added advantage but it's not a must tag to be used..