HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/ServiceTypesForAccountRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: application/xml
Content-Length: length
<ServiceTypesForAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<AccountNumber>String</AccountNumber>
<Customer_Id>0</Customer_Id>
<DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard">
<d2p1:GetServiceTypesResultSet>
<d2p1:Category>String</d2p1:Category>
<d2p1:Category_Id>0</d2p1:Category_Id>
<d2p1:Charge>0</d2p1:Charge>
<d2p1:Code>String</d2p1:Code>
<d2p1:FromCB>0</d2p1:FromCB>
<d2p1:ISCharge>0</d2p1:ISCharge>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsDefault>false</d2p1:IsDefault>
<d2p1:ServiceType_Id>0</d2p1:ServiceType_Id>
<d2p1:Tier_Id>0</d2p1:Tier_Id>
</d2p1:GetServiceTypesResultSet>
</DataObj>
<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>
</ServiceTypesForAccountRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ServiceTypesForAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<AccountNumber>String</AccountNumber>
<Customer_Id>0</Customer_Id>
<DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard">
<d2p1:GetServiceTypesResultSet>
<d2p1:Category>String</d2p1:Category>
<d2p1:Category_Id>0</d2p1:Category_Id>
<d2p1:Charge>0</d2p1:Charge>
<d2p1:Code>String</d2p1:Code>
<d2p1:FromCB>0</d2p1:FromCB>
<d2p1:ISCharge>0</d2p1:ISCharge>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsDefault>false</d2p1:IsDefault>
<d2p1:ServiceType_Id>0</d2p1:ServiceType_Id>
<d2p1:Tier_Id>0</d2p1:Tier_Id>
</d2p1:GetServiceTypesResultSet>
</DataObj>
<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>
</ServiceTypesForAccountRequest>