HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/CampaignExtendedSearchRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: application/xml
Content-Length: length
<CampaignExtendedSearchRequest 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>
<SearchEnd>0001-01-01T00:00:00</SearchEnd>
<SearchStart>0001-01-01T00:00:00</SearchStart>
<SearchText>String</SearchText>
</CampaignExtendedSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CampaignExtendedSearchResponse 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>
<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>
</CampaignExtendedSearchResponse>