Pera ServiceStack

<back to all web services

CampaignExtendedRequest

The following routes are available for this service:
GET,OPTIONS/v1/CampaignExtended/{StartDate}/{IncludeActive}

To override the Content-type in your clients 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 /xml/reply/CampaignExtendedRequest HTTP/1.1 
Host: api2.publicemployeeretirementassistance.com 
Content-Type: application/xml
Content-Length: length

<CampaignExtendedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraServiceStackLibrary">
  <CampaignExtended>
    <CampaignExtended>
      <AllowOnsiteAppt>false</AllowOnsiteAppt>
      <ApptCount>0</ApptCount>
      <CampaignId>0</CampaignId>
      <CampaignName>String</CampaignName>
      <CampaignTypeId>0</CampaignTypeId>
      <CancelledApptCount>0</CancelledApptCount>
      <DNCBounceCount>0</DNCBounceCount>
      <DNCCount>0</DNCCount>
      <DateCompleted>0001-01-01T00:00:00</DateCompleted>
      <DateCreated>0001-01-01T00:00:00</DateCreated>
      <DateStarted>0001-01-01T00:00:00</DateStarted>
      <DomainId>0</DomainId>
      <EmailCount>0</EmailCount>
      <EmailViewCount>0</EmailViewCount>
      <FromEmail>String</FromEmail>
      <IpAddress>String</IpAddress>
      <LandingSite>String</LandingSite>
      <LandingSiteId>00000000-0000-0000-0000-000000000000</LandingSiteId>
      <LastEmail>0001-01-01T00:00:00</LastEmail>
      <ListId>0</ListId>
      <Note>String</Note>
      <Paused>false</Paused>
      <ProductTypeId>0</ProductTypeId>
      <RemainingCount>0</RemainingCount>
      <SentCount>0</SentCount>
      <SleepAfter>0</SleepAfter>
      <Status>String</Status>
      <TemplateId>0</TemplateId>
      <TemplateName>String</TemplateName>
      <TimeZone>String</TimeZone>
      <WebsiteVisitCount>0</WebsiteVisitCount>
    </CampaignExtended>
  </CampaignExtended>
  <IncludeActive>false</IncludeActive>
  <StartDate>0001-01-01T00:00:00</StartDate>
</CampaignExtendedRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CampaignExtendedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraServiceStackLibrary">
  <AppointmentsLast24>0</AppointmentsLast24>
  <AppointmentsLastWeek>0</AppointmentsLastWeek>
  <AppointmentsPerHour>0</AppointmentsPerHour>
  <AppointmentsThis24>0</AppointmentsThis24>
  <AppointmentsThisWeek>0</AppointmentsThisWeek>
  <CampaignExtended>
    <CampaignExtended>
      <AllowOnsiteAppt>false</AllowOnsiteAppt>
      <ApptCount>0</ApptCount>
      <CampaignId>0</CampaignId>
      <CampaignName>String</CampaignName>
      <CampaignTypeId>0</CampaignTypeId>
      <CancelledApptCount>0</CancelledApptCount>
      <DNCBounceCount>0</DNCBounceCount>
      <DNCCount>0</DNCCount>
      <DateCompleted>0001-01-01T00:00:00</DateCompleted>
      <DateCreated>0001-01-01T00:00:00</DateCreated>
      <DateStarted>0001-01-01T00:00:00</DateStarted>
      <DomainId>0</DomainId>
      <EmailCount>0</EmailCount>
      <EmailViewCount>0</EmailViewCount>
      <FromEmail>String</FromEmail>
      <IpAddress>String</IpAddress>
      <LandingSite>String</LandingSite>
      <LandingSiteId>00000000-0000-0000-0000-000000000000</LandingSiteId>
      <LastEmail>0001-01-01T00:00:00</LastEmail>
      <ListId>0</ListId>
      <Note>String</Note>
      <Paused>false</Paused>
      <ProductTypeId>0</ProductTypeId>
      <RemainingCount>0</RemainingCount>
      <SentCount>0</SentCount>
      <SleepAfter>0</SleepAfter>
      <Status>String</Status>
      <TemplateId>0</TemplateId>
      <TemplateName>String</TemplateName>
      <TimeZone>String</TimeZone>
      <WebsiteVisitCount>0</WebsiteVisitCount>
    </CampaignExtended>
  </CampaignExtended>
  <EmailsPerHour>0</EmailsPerHour>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
</CampaignExtendedResponse>