HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/ListNoAgentsRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: application/xml
Content-Length: length
<ListNoAgentsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraServiceStackLibrary">
<ListId>0</ListId>
</ListNoAgentsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ListNoAgentsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraServiceStackLibrary">
<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>
<result>
<ListStatistics>
<ASAPAppointment>0</ASAPAppointment>
<Active>false</Active>
<AppointmentCancelled>0</AppointmentCancelled>
<AssignmentType>String</AssignmentType>
<AverageLatitude>0</AverageLatitude>
<AverageLongitude>0</AverageLongitude>
<Campaigns>0</Campaigns>
<DoNotContact>0</DoNotContact>
<EmailSendFailure>0</EmailSendFailure>
<EmailSent>0</EmailSent>
<EmailViewed>0</EmailViewed>
<ListId>0</ListId>
<ListName>String</ListName>
<ListState>String</ListState>
<NearByAgents>0</NearByAgents>
<RecentCampaign>0001-01-01T00:00:00</RecentCampaign>
<TotalContacts>0</TotalContacts>
<Unsubscribe550>0</Unsubscribe550>
<UsedContacts>0</UsedContacts>
<Utilization>0</Utilization>
<WebsiteVisitied>0</WebsiteVisitied>
</ListStatistics>
</result>
</ListNoAgentsResponse>