Bulwark Web API Service Host

<back to all web services

CustomerMessageRequest

Get Customer Messages

The following routes are available for this service:
GET,POST/api/Vanguard/CustomerMessage

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/CustomerMessageRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: application/xml
Content-Length: length

<CustomerMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <Customer_Id>0</Customer_Id>
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
    <d2p1:TextMessageDescriptiveDto>
      <AccountSid xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</AccountSid>
      <Active xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">false</Active>
      <ApiVersion xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</ApiVersion>
      <Body xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Body>
      <DateCreated xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</DateCreated>
      <DateSent xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</DateSent>
      <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</DateUpdated>
      <Direction xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Direction>
      <Employee_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Employee_Id>
      <From xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</From>
      <Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Id>
      <MessageType_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</MessageType_Id>
      <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</ModifiedOn>
      <Price xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Price>
      <RestException xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</RestException>
      <Sid xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Sid>
      <Status xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Status>
      <To xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</To>
      <d2p1:Customer_Id>0</d2p1:Customer_Id>
      <d2p1:IsNC>false</d2p1:IsNC>
      <d2p1:Office>String</d2p1:Office>
      <d2p1:Office_Id>0</d2p1:Office_Id>
      <d2p1:TexterName>String</d2p1:TexterName>
    </d2p1:TextMessageDescriptiveDto>
  </DataObj>
  <Employee_Id>0</Employee_Id>
  <IsHistory>false</IsHistory>
  <IsNC>false</IsNC>
</CustomerMessageRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CustomerMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <Customer_Id>0</Customer_Id>
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
    <d2p1:TextMessageDescriptiveDto>
      <AccountSid xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</AccountSid>
      <Active xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">false</Active>
      <ApiVersion xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</ApiVersion>
      <Body xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Body>
      <DateCreated xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</DateCreated>
      <DateSent xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</DateSent>
      <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</DateUpdated>
      <Direction xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Direction>
      <Employee_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Employee_Id>
      <From xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</From>
      <Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Id>
      <MessageType_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</MessageType_Id>
      <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0001-01-01T00:00:00</ModifiedOn>
      <Price xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Price>
      <RestException xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</RestException>
      <Sid xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Sid>
      <Status xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</Status>
      <To xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">String</To>
      <d2p1:Customer_Id>0</d2p1:Customer_Id>
      <d2p1:IsNC>false</d2p1:IsNC>
      <d2p1:Office>String</d2p1:Office>
      <d2p1:Office_Id>0</d2p1:Office_Id>
      <d2p1:TexterName>String</d2p1:TexterName>
    </d2p1:TextMessageDescriptiveDto>
  </DataObj>
  <Employee_Id>0</Employee_Id>
  <IsHistory>false</IsHistory>
  <IsNC>false</IsNC>
</CustomerMessageRequest>