EMUN1 ASP.NET

<back to all web services

GetCampaign

The following routes are available for this service:
All Verbs/service/GetCampaign
GetCampaign Parameters:
NameParameterData TypeRequiredDescription
CampaignIdquerystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/GetCampaign HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mailchimp">
  <CampaignId>String</CampaignId>
</GetCampaign>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Campaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">
  <ArchiveUrl>String</ArchiveUrl>
  <ContentType>String</ContentType>
  <CreateTime>0001-01-01T00:00:00</CreateTime>
  <DeliveryStatus>
    <CanCancel>false</CanCancel>
    <EmailsCanceled>0</EmailsCanceled>
    <EmailsSent>0</EmailsSent>
    <Enabled>false</Enabled>
    <Status>String</Status>
  </DeliveryStatus>
  <EmailsSent>0</EmailsSent>
  <Id>String</Id>
  <Links>
    <Link>
      <Href>String</Href>
      <Method>GET</Method>
      <Rel>String</Rel>
      <Schema>String</Schema>
      <TargetSchema>String</TargetSchema>
    </Link>
  </Links>
  <LongArchiveUrl>String</LongArchiveUrl>
  <Recipients>
    <ListId>String</ListId>
    <SegmentOptions>
      <Conditions i:nil="true" />
      <Match>Any</Match>
      <SavedSegmentId>0</SavedSegmentId>
    </SegmentOptions>
    <SegmentText>String</SegmentText>
  </Recipients>
  <ReportSummary>
    <ClickRate>0</ClickRate>
    <Clicks>0</Clicks>
    <Ecommerce>
      <TotalOrders>0</TotalOrders>
      <TotalRevenue>0</TotalRevenue>
      <TotalSpent>0</TotalSpent>
    </Ecommerce>
    <OpenRate>0</OpenRate>
    <Opens>0</Opens>
    <SubscriberClicks>0</SubscriberClicks>
    <UniqueOpens>0</UniqueOpens>
  </ReportSummary>
  <RssOptions>
    <ConstrainImage>false</ConstrainImage>
    <Frequency>String</Frequency>
    <Schedule>
      <DailySend>
        <Friday>false</Friday>
        <Monday>false</Monday>
        <Saturday>false</Saturday>
        <Sunday>false</Sunday>
        <Thursday>false</Thursday>
        <Tuesday>false</Tuesday>
        <Wednesday>false</Wednesday>
      </DailySend>
      <DayOfMonthToSend>0</DayOfMonthToSend>
      <DayOfWeekToSend>String</DayOfWeekToSend>
      <Hour>0</Hour>
    </Schedule>
    <Url>String</Url>
  </RssOptions>
  <SendTime>0001-01-01T00:00:00</SendTime>
  <Settings>
    <Authenticate>false</Authenticate>
    <AutoFooter>false</AutoFooter>
    <AutoTweet>false</AutoTweet>
    <DragAndDrop>false</DragAndDrop>
    <FbComments>false</FbComments>
    <FolderId>String</FolderId>
    <FromName>String</FromName>
    <InlineCss>false</InlineCss>
    <ReplyTo>String</ReplyTo>
    <SubjectLine>String</SubjectLine>
    <TemplateId>0</TemplateId>
    <Timewarp>false</Timewarp>
    <Title>String</Title>
    <ToName>String</ToName>
    <UseConversation>false</UseConversation>
  </Settings>
  <SocialCard>
    <Description>String</Description>
    <ImageUrl>String</ImageUrl>
    <Title>String</Title>
  </SocialCard>
  <Status>String</Status>
  <Tracking>
    <Capsule>
      <UpdateNotesForCampaign>false</UpdateNotesForCampaign>
    </Capsule>
    <Clicktale>String</Clicktale>
    <Ecomm360>false</Ecomm360>
    <GoalTracking>false</GoalTracking>
    <GoogleAnalytics>String</GoogleAnalytics>
    <HighRise>
      <CreateCampaignInAccount>false</CreateCampaignInAccount>
      <UpdateNotesForCampaign>false</UpdateNotesForCampaign>
    </HighRise>
    <HtmlClicks>false</HtmlClicks>
    <Opens>false</Opens>
    <SalesForce>
      <CreateCampaignInAccount>false</CreateCampaignInAccount>
      <UpdateNotesForCampaign>false</UpdateNotesForCampaign>
    </SalesForce>
    <TextClicks>false</TextClicks>
  </Tracking>
  <Type>Regular</Type>
  <VariateSettings>
    <Combinations i:nil="true" />
    <WinnerCriteria>String</WinnerCriteria>
    <WinningCampaignId>String</WinningCampaignId>
    <WinningCombinationId>String</WinningCombinationId>
  </VariateSettings>
  <WebId>0</WebId>
</Campaign>