HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/ContactFullRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: application/xml
Content-Length: length
<ContactFullRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<ActiveOnly>false</ActiveOnly>
<Contact_Id>0</Contact_Id>
<DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
<d2p1:ContactFullDto>
<d2p1:Addresses xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:ContactAddressDto>
<d4p1:Address>String</d4p1:Address>
<d4p1:AddressType_Id>0</d4p1:AddressType_Id>
<d4p1:City>String</d4p1:City>
<d4p1:Contact_Id>0</d4p1:Contact_Id>
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:Id>0</d4p1:Id>
<d4p1:State_Id>0</d4p1:State_Id>
<d4p1:Zip>String</d4p1:Zip>
</d4p1:ContactAddressDto>
</d2p1:Addresses>
<d2p1:Contact xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:FirstName>String</d4p1:FirstName>
<d4p1:Id>0</d4p1:Id>
<d4p1:LastName>String</d4p1:LastName>
<d4p1:MiddleName>String</d4p1:MiddleName>
</d2p1:Contact>
<d2p1:Emails xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:ContactEmailDto>
<d4p1:Confirmed>false</d4p1:Confirmed>
<d4p1:ConfirmedOn>0001-01-01T00:00:00</d4p1:ConfirmedOn>
<d4p1:Contact_Id>0</d4p1:Contact_Id>
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:Email>String</d4p1:Email>
<d4p1:EmailType_Id>0</d4p1:EmailType_Id>
<d4p1:Id>0</d4p1:Id>
<d4p1:ModifiedOn>0001-01-01T00:00:00</d4p1:ModifiedOn>
</d4p1:ContactEmailDto>
</d2p1:Emails>
<d2p1:PhoneNumbers xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:ContactPhoneNumberDto>
<d4p1:CanEmail>false</d4p1:CanEmail>
<d4p1:CanText>false</d4p1:CanText>
<d4p1:Contact_Id>0</d4p1:Contact_Id>
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:Extension>String</d4p1:Extension>
<d4p1:Id>0</d4p1:Id>
<d4p1:ModifiedOn>0001-01-01T00:00:00</d4p1:ModifiedOn>
<d4p1:Number>String</d4p1:Number>
<d4p1:PhoneNumberType_Id>0</d4p1:PhoneNumberType_Id>
<d4p1:Priority>0</d4p1:Priority>
<d4p1:Title>String</d4p1:Title>
</d4p1:ContactPhoneNumberDto>
</d2p1:PhoneNumbers>
</d2p1:ContactFullDto>
</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>
</ContactFullRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ContactFullRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<ActiveOnly>false</ActiveOnly>
<Contact_Id>0</Contact_Id>
<DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
<d2p1:ContactFullDto>
<d2p1:Addresses xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:ContactAddressDto>
<d4p1:Address>String</d4p1:Address>
<d4p1:AddressType_Id>0</d4p1:AddressType_Id>
<d4p1:City>String</d4p1:City>
<d4p1:Contact_Id>0</d4p1:Contact_Id>
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:Id>0</d4p1:Id>
<d4p1:State_Id>0</d4p1:State_Id>
<d4p1:Zip>String</d4p1:Zip>
</d4p1:ContactAddressDto>
</d2p1:Addresses>
<d2p1:Contact xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:FirstName>String</d4p1:FirstName>
<d4p1:Id>0</d4p1:Id>
<d4p1:LastName>String</d4p1:LastName>
<d4p1:MiddleName>String</d4p1:MiddleName>
</d2p1:Contact>
<d2p1:Emails xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:ContactEmailDto>
<d4p1:Confirmed>false</d4p1:Confirmed>
<d4p1:ConfirmedOn>0001-01-01T00:00:00</d4p1:ConfirmedOn>
<d4p1:Contact_Id>0</d4p1:Contact_Id>
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:Email>String</d4p1:Email>
<d4p1:EmailType_Id>0</d4p1:EmailType_Id>
<d4p1:Id>0</d4p1:Id>
<d4p1:ModifiedOn>0001-01-01T00:00:00</d4p1:ModifiedOn>
</d4p1:ContactEmailDto>
</d2p1:Emails>
<d2p1:PhoneNumbers xmlns:d4p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d4p1:ContactPhoneNumberDto>
<d4p1:CanEmail>false</d4p1:CanEmail>
<d4p1:CanText>false</d4p1:CanText>
<d4p1:Contact_Id>0</d4p1:Contact_Id>
<d4p1:Deleted>false</d4p1:Deleted>
<d4p1:Extension>String</d4p1:Extension>
<d4p1:Id>0</d4p1:Id>
<d4p1:ModifiedOn>0001-01-01T00:00:00</d4p1:ModifiedOn>
<d4p1:Number>String</d4p1:Number>
<d4p1:PhoneNumberType_Id>0</d4p1:PhoneNumberType_Id>
<d4p1:Priority>0</d4p1:Priority>
<d4p1:Title>String</d4p1:Title>
</d4p1:ContactPhoneNumberDto>
</d2p1:PhoneNumbers>
</d2p1:ContactFullDto>
</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>
</ContactFullRequest>