HTTP/1.1 400 Bad Request while creating campagain

VenuB
Occasional Participant

HTTP/1.1 400 Bad Request while creating campagain

Hi,

 

Iam creating a campagain . It contans a link and i have to pass a paramater. Iam not able to create this. Please check the xml. I highlighted the respective content in bold. Please let me know how we can send the parameters to the links.

 

 

<?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom'><link href='/ws/customers/venubabu/campaigns' rel='edit' /><id>http://api.constantcontact.com/ws/customers/venubabu/campaigns</id><title type='text'>Apr 31 2011</title><updated>2011-04-20T10:43:48.6744866+05:30</updated><author><name>Constant Contact</name></author><content type='application/vnd.ctct+xml'><Campaign xmlns='http://ws.constantcontact.com/ns/1.0/' id='http://api.constantcontact.com/ws/customers/venubabu/campaigns/0000000000000' ><Name>1 4/29/2011 7:10:05 PM</Name><Status>Draft</Status><Date>2011-04-20T10:42:25.1157073+05:30</Date><Subject>News from</Subject><FromName>Venu</FromName><ViewAsWebpage>YES</ViewAsWebpage><ViewAsWebpageLinkText>Click here</ViewAsWebpageLinkText><ViewAsWebpageText>Having trouble viewing this email?</ViewAsWebpageText><PermissionReminder>YES</PermissionReminder><PermissionReminderText>You're receiving this email because of your relationship with venubabu. Please confirm your continued interest in receiving email from us.</PermissionReminderText><GreetingSalutation>Mr.</GreetingSalutation><GreetingName>FirstName</GreetingName><GreetingString>Babu</GreetingString><OrganizationName>Q1</OrganizationName><OrganizationAddress1>Hyd</OrganizationAddress1><OrganizationAddress2></OrganizationAddress2><OrganizationAddress3></OrganizationAddress3><OrganizationCity>Hyd</OrganizationCity><OrganizationState></OrganizationState><OrganizationInternationalState></OrganizationInternationalState><OrganizationCountry>in</OrganizationCountry><OrganizationPostalCode>500070</OrganizationPostalCode><IncludeForwardEmail>NO</IncludeForwardEmail><ForwardEmailLinkText></ForwardEmailLinkText><IncludeSubscribeLink>NO</IncludeSubscribeLink><SubscribeLinkText></SubscribeLinkText><EmailContentFormat>XHTML</EmailContentFormat><EmailContent>&lt;html&gt; &lt;head&gt; &lt;title&gt; New Document &lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;table width=&quot;80%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;center&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style=&quot;height: 5px;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt; &lt;a href=&apos;http://example.com?name=$Subscriber.CustomText4$&apos; &gt;Vijay&lt;/a&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;5&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 12px; color: rgb(0, 0, 255); font-style: normal; font-weight: bold; text-decoration: none; line-height: 16px;&quot;&gt;&lt;a href=&quot;http://www.example.com/query.php?name=&quot;&lt;Property name=&quot;Subscriber.CustomText2&quot;/&gt; &gt;Test link22&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;5&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt;&lt;Property name=&quot;Subscriber.CustomText3&quot;/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;5&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 12px; color: rgb(0, 0, 255); font-style: normal; font-weight: bold; text-decoration: none; line-height: 16px;&quot;&gt;&lt;Property name=&quot;Subscriber.CustomText4&quot;/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;5&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt;&lt;Property name=&quot;Subscriber.CustomText5&quot;/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;10&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 12px; color: rgb(0, 0, 255); font-style: normal; font-weight: bold; text-decoration: none; line-height: 16px;&quot;&gt;Dear &lt;Property name=&quot;Subscriber.CustomText6&quot;/&gt;,&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;center&quot;&gt; &lt;tbody&gt; &lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width=&quot;10%&quot; valign=&quot;top&quot; style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;td width=&quot;90%&quot; style=&quot;font-family: arial; font-size: 14px; color: rgb(255, 0, 0); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt;Exhibit your Products &amp;amp; Services AT NO COST at Virtual Pharma Exhibition (VPE)&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width=&quot;80%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;center&quot; style=&quot;border: 1px solid rgb(0, 0, 0);&quot;&gt; &lt;tbody&gt; &lt;tr&gt;&lt;td&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;8&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 14pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 22px;&quot;&gt;This is an invitation to&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 14pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 22px;&quot;&gt;EXHIBIT your company's&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 16pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 22px;&quot;&gt;Products, Services and Capabilities&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 16pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 22px;&quot;&gt;AT NO COST&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none; line-height: 18px;&quot;&gt; &lt;p&gt;on 24 X 365 basis to about 70,000 visitors and potential customers from your&lt;br /&gt; neighborhood and worldwide pharmaceutical industry at&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 22px; color: rgb(0, 0, 255); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Virtual Pharma Exhibition&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;(VPE)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none; line-height: 18px;&quot;&gt;at a very low cost of 3% to 10% of cost of exhibiting at a yearly &lt;br /&gt; International Pharma Exhibition of 2 to 4 days&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot; style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Please note that &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;VPE &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;is NOT A Directory Or A Listing&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;website but&lt;/span&gt; IS AN ONLINE EXHIBITION &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;for pharmaceutical and allied industries.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;15&quot; style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;15&quot; style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 255); font-style: normal; font-weight: normal; text-decoration: none; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 255); font-style: normal; font-weight: normal; text-decoration: none; line-height: 18px; text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;strong&gt;Exhibits under Construction:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;strong&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;135&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;strong&gt;Exhibits Completed:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;strong&gt;182&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 255); font-style: normal; font-weight: normal; text-decoration: none; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;Welcome to VPE, one of the fastest growing &lt;u&gt;Online Exhibitions&lt;/u&gt; specifically servicing the Pharmaeceutical and Allied Industries.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;We are inviting more than 7,000 worldwide pharma and allied industry companies to exhibit their capabilities, products and services on 24 X 365 basis at VPE. These invitations have been sent to the Pharma Industry companies worldwide including pharma companies in your neighborhood.&amp;nbsp; By neighborhood, we mean your own country and countries in your region.&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;We have randomly chosen 30 companies of different sizes and from different regions to exhibit AT NO COST AT VPE, IN RETURN FOR PROVIDING US THEIR FEEDBACK.&amp;nbsp; Your company is one of the 30 chosen companies.&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt; We request you to allow a few minutes of your time to study this offer.&amp;nbsp; We are sure you will find this offer very attractive and useful to enhance your company&amp;rsquo;s business prospects and worthy of your time and attention.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 11pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;HERE IS SOME ADDITIONAL INFORMATION FOR YOUR CONSIDERATION:&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;8&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;8&quot;&gt; &lt;p&gt;&lt;strong&gt; &lt;/strong&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;A.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First, VALUE of this offer can be assessed by the following:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Total cost of the exhibiting at a land based 2 to 3 day exhibition is between US$ 20,000 for a small exhibit and goes up to US$ 60,000 for a large exhibit.&lt;br /&gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost of exhibiting at VPE is between US$ 2,000 to 6,000 for one year depending upon the size of an exhibit.&amp;nbsp; BUT THERE IS NO COST FOR YOUR COMPANY in return for providing us your feedback.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;8&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width=&quot;65%&quot;&gt; &lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;B.&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VPE has been developed based on the survey of diverse pharmaceutical and allied companies of different sizes and from different countries.&amp;nbsp; We expect to attract more than 70,000 decision makers from the worldwide pharma industry as visitors to VPE.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;C.&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VPE has already been tested by the software development company, by our own project team and by 12 pharma companies from 3 different countries.&amp;nbsp; We have now selected 30 companies to provide us additional feedback in return for allowing them to exhibit at no cost at VPE.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td width=&quot;35%&quot;&gt; &lt;table width=&quot;90%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot; style=&quot;border: 2px solid rgb(0, 0, 0);&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style=&quot;padding: 5px 10px; background-color: rgb(254, 255, 153); font-family: arial; font-size: 18px; color: rgb(0, 0, 255); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt; &lt;div align=&quot;justify&quot;&gt;NO TRAVEL, NO HOTELS, NO SUCH COSTS AND NO SUCH HASSLES BOTH FOR EXHIBITORS AND VISITORS.&lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;D.&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It will require 8 to 16 hours to build your company&amp;rsquo;s exhibit once all the information you want to provide in your company&amp;rsquo;s exhibit is available to your exhibit builder.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;E.&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; No special skills are required to build your company&amp;rsquo;s exhibit.&amp;nbsp; Anyone well versed in the use of personal computer and the internet can build his company&amp;rsquo;s exhibit at VPE.&amp;nbsp; Additionally, our portal provides step by step clear and simple guidance and instructions for exhibit building.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;F.&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please visit VPE (Virtual Pharma Exhibition) to see complete list of advantages and benefits of exhibiting at VPE.&amp;nbsp; Please use the link at the bottom of this email to visit VPE.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width=&quot;63%&quot; style=&quot;font-family: arial; font-size: 11pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;OK WHAT SHOULD I DO?&lt;/span&gt;&lt;/td&gt; &lt;td width=&quot;37%&quot; valign=&quot;top&quot; height=&quot;97&quot; rowspan=&quot;5&quot;&gt; &lt;table width=&quot;87%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot; style=&quot;border: 2px solid rgb(0, 0, 0);&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style=&quot;padding: 5px 10px; background-color: rgb(254, 255, 153); font-family: arial; font-size: 10pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none; line-height: 18px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: 23px; color: rgb(0, 0, 255); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt;WE THANK YOU&lt;/span&gt; for your time and actions, which will result into substantial benefits to your company at zero cost.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Please see below who we consider are the Decision Makers in your company for this offer. Then please click on &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;strong&gt;'DECISION MAKER'&lt;/strong&gt;&lt;/span&gt;, if you are one of them. If you are not one of the Decision Makers, then please click on &lt;strong&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;'NOT A DECISION MAKER'&lt;/span&gt;&lt;/strong&gt;. &lt;br /&gt; &lt;br style=&quot;line-height: 10px;&quot; /&gt; We also request you to additionally reply to this email stating your acceptance of this offer within one week if you happen to be one of the Decision Makers. Please also note that your company must build your Exhibit within 21 days (3 weeks) to avail this NO COST OFFER.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt; &lt;p&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;strong&gt;WHO ARE THE DECISION MAKERS?&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;10px&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Decision Makers for exhibiting at VPE are the persons responsible for advertising, heading sales, meeting growth goals, strategic alliances and interested in accomplishing these at least cost. Such Decision Makers generally are: Head of Advertising, Promotions, Exhibiting; Head of Marketing or Sales; Presidents of Small and Medium size companies; even Chief Financial Officers.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;10px&quot; style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;10px&quot;&gt; &lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;IF YOU ARE A DECISION MAKER&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;then you may want to direct a subordinate or someone else for next action like provide you more information or you yourself may want to see more information available at VPE. Please click on &amp;quot;I am a Decision Maker&amp;quot; below and choose your action.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;10px&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;[EMAILSPATH]/UI/emails/page_a.aspx?hashkey=[UNIQUEID]&amp;amp;emailLogId=[EMAILLOGID]&quot;&gt;DECISIONMAKER&lt;/a&gt;&lt;Property name=&quot;Subscriber.CustomText7&quot;/&gt;&lt;Property name=&quot;Subscriber.CustomText8&quot;/&gt;&lt;Property name=&quot;Subscriber.CustomText9&quot;/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;15&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0); margin-left: 0pt; text-align: justify; text-decoration: none; font-style: normal; font-weight: normal;&quot;&gt; &lt;p&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;strong&gt;IF YOU ARE &lt;u&gt;NOT&lt;/u&gt; A DECISION MAKER &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;then you can help in forwarding this invitation to appropriate Decision Makers in your company to consider exhibiting at VPE. &lt;strong&gt;You will have the choice of forwarding this email from you OR have us send new invitations.&amp;nbsp;&lt;/strong&gt; Please click on &amp;quot;I am NOT a Decision Maker&amp;quot; below and choose your action.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;15&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;[EMAILSPATH]/UI/emails/page_b.aspx?hashkey=[UNIQUEID]&amp;amp;emailLogId=[EMAILLOGID]&quot;&gt;NOT A DECISION MAKER&lt;/a&gt;&lt;Property name=&quot;Subscriber.CustomText9&quot;/&gt;&lt;Property name=&quot;Subscriber.CustomText10&quot;/&gt;&lt;Property name=&quot;Subscriber.CustomText11&quot;/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 11pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;We thank you for your time and attention. We hope to see your company&amp;rsquo;s exhibit at VPE soon.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width=&quot;70%&quot; style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;td width=&quot;40%&quot;&gt; &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border: 1px solid rgb(0, 0, 0); width: 276px; height: 40px;&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td height=&quot;23&quot; align=&quot;center&quot; style=&quot;background-color: rgb(204, 255, 255); font-family: arial; font-size: 10pt; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; text-decoration: none; line-height: 18px;&quot;&gt;&lt;a href=&quot;[EMAILSPATH]/default.aspx?hashkey=[UNIQUEID]&quot;&gt;Click here to visit pharmaexhibition.com&lt;/a&gt;&lt;Property name=&quot;Subscriber.CustomText13&quot;/&gt;&lt;Property name=&quot;Subscriber.CustomText14&quot;/&gt;&lt;Property name=&quot;Subscriber.CustomText15&quot;/&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Harry Summer&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt; Exhibitor Services Division&lt;br /&gt; Virtual Pharma Exhibition.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 16px;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style=&quot;font-family: arial; font-size: 10pt; color: rgb(0, 0, 128); font-style: normal; font-weight: bold; text-decoration: none; line-height: 16px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: smaller;&quot;&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;/body&gt; &lt;/html&gt;</EmailContent><EmailTextContent>&lt;Text>This is the text version.&lt;/Text> </EmailTextContent><StyleSheet></StyleSheet><ContactLists><ContactList id='http://api.constantcontact.com/ws/customers/venubabu/lists/109'><link xmlns='http://www.w3.org/2005/Atom' href='/ws/customers/venubabu/lists/2' rel='self' /></ContactList></ContactLists><FromEmail><Email id='http://api.constantcontact.com/ws/customers/venubabu/settings/emailaddresses/1'><link xmlns='http://www.w3.org/2005/Atom' href='/ws/customers/venubabu/settings/emailaddresses/1' rel='self' /></Email><EmailAddress>borravenu1983@gmail.com</EmailAddress></FromEmail><ReplyToEmail><Email id='http://api.constantcontact.com/ws/customers/venubabu/settings/emailaddresses/1'><link xmlns='http://www.w3.org/2005/Atom' href='/ws/customers/venubabu/settings/emailaddresses/1' rel='self' /></Email><EmailAddress>borravenu1983@gmail.com</EmailAddress></ReplyToEmail></Campaign></content><source><id>http://api.constantcontact.com/ws/customers/venubabu/campaigns</id><title type='text'>Campaigns for customer: venubabu</title><link href='campaigns' /><link href='campaigns' rel='self' /><author><name>venubabu</name></author><updated>2011-04-20T10:44:03.3203243+05:30</updated></source></entry>

 

Thanks,

Venu

1 REPLY 1
bsoder
Employee

Hello,

 

What you are trying to do is what we call a dynamic link.  It is possible to do this in an XHTML email through the API, however, the way that you are currently doing it is the method you would use when you are doing it in our user interface using a template.  I can show you here how to do this in XHTML.

 

You need to break the link up into three different parts, which will all be in the contacts custom fields.  In this example I will use custom field 1, 2, and 3, although you can use any of the fields you want.  First you have to make sure all of the contacts have the Custom fields looking like this:

 

Custom field 1:  <a href="http://www.yourdomain.com/link.html?mn=

Custom field 2: dynamic_text

Custom field 3: ">Click Here</a>

 

You would then put in the XHTML content where you want the dynamic link: &lt;Property name="Subscriber.CustomText1"/>&lt;Property name="Subscriber.CustomText2"/>&lt;Property name="Subscriber.CustomText3"/>

 

If you run into any problems please feel free to let me know and we can take it from there.

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Developer Portal

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

Visit Page