HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/BucketsTextsAndEmailsRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: application/xml
Content-Length: length
<BucketsTextsAndEmailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<BucketEmailsAndTextResultContract>
<BucketEntry_Id>0</BucketEntry_Id>
<Customer_Id>0</Customer_Id>
<HasEmail>false</HasEmail>
<HasText>false</HasText>
<Id>0</Id>
</BucketEmailsAndTextResultContract>
<BucketTextsAndEmailsContract>
<BucketEntry_Id>0</BucketEntry_Id>
<BucketName>String</BucketName>
<CreatedBy_Id>0</CreatedBy_Id>
<CreatedOn>0001-01-01T00:00:00</CreatedOn>
<Customer_Id>0</Customer_Id>
<Deleted>false</Deleted>
<EmailStatus>String</EmailStatus>
<Handled>false</Handled>
<Id>0</Id>
<ModifiedBy_Id>0</ModifiedBy_Id>
<ModifiedOn>0001-01-01T00:00:00</ModifiedOn>
<TextStatus>String</TextStatus>
</BucketTextsAndEmailsContract>
<Bucket_Id>0</Bucket_Id>
<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>
<TextSent>false</TextSent>
<TextTemplateEnabled>false</TextTemplateEnabled>
</BucketsTextsAndEmailsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<BucketsTextsAndEmailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<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>false</Result>
</BucketsTextsAndEmailsResponse>