Contact list not showing when retrieving campaign details using ws API.

Regular Participant

Contact list not showing when retrieving campaign details using ws API.

Hi,

 

Campaign details retieved using the following API uri is not listing the contactlist associated with the campaign.

FYI:The account used for testing is in expired state.

https://api.constantcontact.com/ws/customers/twbsind%40gmail.com/campaigns/1124895671653

 

Response from the api is given below:

<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns="http://www.w3.org/2005/Atom">
  <link href="/ws/customers/twbsind%40gmail.com/campaigns/1124895671653" rel="edit"/>
  <id>http://api.constantcontact.com/ws/customers/twbsind%40gmail.com/campaigns/1124895671653</id>
  <title type="text">Jithin Campaign</title>
  <updated>2016-06-03T09:05:38.513Z</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/twbsind%40gmail.com/campaigns/1124895671653">
      <Name>Jithin Campaign</Name>
      <Status>Sent</Status>
      <Date>2016-06-03T09:05:38.513Z</Date>
      <LastEditDate>2016-06-22T11:58:14.383Z</LastEditDate>
      <LastRunDate>2016-06-03T09:05:38.509Z</LastRunDate>
      <Sent>1</Sent>
      <Opens>0</Opens>
      <Clicks>0</Clicks>
      <Bounces>0</Bounces>
      <Forwards>0</Forwards>
      <OptOuts>0</OptOuts>
      <SpamReports>0</SpamReports>
      <SharePageURL>http://myemail.constantcontact.com/-enter-subject-here-.html?soid=1124448820800&amp;aid=99SEhECL4Z4</SharePageURL>
      <Subject>Test for Campaing list</Subject>
      <FromName>Jithin</FromName>
      <CampaignType>TEMPLATE_V2</CampaignType>
      <ViewAsWebpage>NO</ViewAsWebpage>
      <ViewAsWebpageLinkText></ViewAsWebpageLinkText>
      <ViewAsWebpageText></ViewAsWebpageText>
      <PermissionReminder>NO</PermissionReminder>
      <PermissionReminderText></PermissionReminderText>
      <GreetingSalutation></GreetingSalutation>
      <GreetingString></GreetingString>
      <OrganizationName>TW</OrganizationName>
      <OrganizationAddress1>ABC</OrganizationAddress1>
      <OrganizationAddress2>DEF</OrganizationAddress2>
      <OrganizationAddress3>GHI</OrganizationAddress3>
      <OrganizationCity>AZ</OrganizationCity>
      <OrganizationState>nj</OrganizationState>
      <OrganizationInternationalState></OrganizationInternationalState>
      <OrganizationCountry>us</OrganizationCountry>
      <OrganizationPostalCode>07747</OrganizationPostalCode>
      <IncludeForwardEmail>NO</IncludeForwardEmail>
      <ForwardEmailLinkText></ForwardEmailLinkText>
      <IncludeSubscribeLink>NO</IncludeSubscribeLink>
      <SubscribeLinkText></SubscribeLinkText>
      <ArchiveStatus></ArchiveStatus>
      <ArchiveURL></ArchiveURL>
      <FromEmail>
        <Email id="http://api.constantcontact.com/ws/customers/twbsind%40gmail.com/settings/emailaddresses/0">
          <link xmlns="http://www.w3.org/2005/Atom" href="/ws/customers/twbsind%40gmail.com/settings/emailaddresses/0" rel="self"/>
        </Email>
        <EmailAddress></EmailAddress>
      </FromEmail>
      <ReplyToEmail>
        <Email id="http://api.constantcontact.com/ws/customers/twbsind%40gmail.com/settings/emailaddresses/0">
          <link xmlns="http://www.w3.org/2005/Atom" href="/ws/customers/twbsind%40gmail.com/settings/emailaddresses/0" rel="self"/>
        </Email>
        <EmailAddress></EmailAddress>
      </ReplyToEmail>
      <Date>2016-06-03T09:02:23.518Z</Date>
      <LastEditDate>2016-06-03T09:05:38.513Z</LastEditDate>
      <LastRunDate>2016-06-03T09:05:38.509Z</LastRunDate>
      <GreetingName>NONE</GreetingName>
      <ProductID>1</ProductID>
      <ShowAgent>true</ShowAgent>
    </Campaign>
  </content>
  <source>
    <id>http://api.constantcontact.com/ws/customers/twbsind%40gmail.com/campaigns</id>
    <title type="text">Campaigns for customer: twbsind@gmail.com</title>
    <link href="campaigns"/>
    <link href="campaigns" rel="self"/>
    <author>
      <name>twbsind@gmail.com</name>
    </author>
    <updated>2016-06-22T11:58:14.790Z</updated>
  </source>
</entry>

 

Please advice what is  missing and how to proceeed .

 

Thanks & Regards

RN

34 REPLIES 34
Developer Portal

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

Visit Page