Bulwark Web API Service Host

<back to all web services

ServiceHistoryRequest

Get ServiceHistory

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

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/ServiceHistoryRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: application/xml
Content-Length: length

<ServiceHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:ServiceHistoryDto>
      <d2p1:Apr>false</d2p1:Apr>
      <d2p1:Aug>false</d2p1:Aug>
      <d2p1:Billing>String</d2p1:Billing>
      <d2p1:ChangedBy_Id>0</d2p1:ChangedBy_Id>
      <d2p1:ChangedOn>0001-01-01T00:00:00</d2p1:ChangedOn>
      <d2p1:Charge>0</d2p1:Charge>
      <d2p1:Dec>false</d2p1:Dec>
      <d2p1:Feb>false</d2p1:Feb>
      <d2p1:Finish>0001-01-01T00:00:00</d2p1:Finish>
      <d2p1:ISCharge>0</d2p1:ISCharge>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Jan>false</d2p1:Jan>
      <d2p1:Jul>false</d2p1:Jul>
      <d2p1:Jun>false</d2p1:Jun>
      <d2p1:Mar>false</d2p1:Mar>
      <d2p1:May>false</d2p1:May>
      <d2p1:Method>String</d2p1:Method>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:Nov>false</d2p1:Nov>
      <d2p1:Oct>false</d2p1:Oct>
      <d2p1:PaymentAmount>0</d2p1:PaymentAmount>
      <d2p1:Reason_Id>0</d2p1:Reason_Id>
      <d2p1:SaleSubType_Id>0</d2p1:SaleSubType_Id>
      <d2p1:SaleType_Id>0</d2p1:SaleType_Id>
      <d2p1:Sep>false</d2p1:Sep>
      <d2p1:ServiceType_Id>0</d2p1:ServiceType_Id>
      <d2p1:Service_Id>0</d2p1:Service_Id>
      <d2p1:SoldBy_Id>0</d2p1:SoldBy_Id>
      <d2p1:SoldOn>0001-01-01T00:00:00</d2p1:SoldOn>
      <d2p1:Start>0001-01-01T00:00:00</d2p1:Start>
      <d2p1:ZeroBill>false</d2p1:ZeroBill>
    </d2p1:ServiceHistoryDto>
  </DataObj>
  <Id>0</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>
</ServiceHistoryRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ServiceHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:ServiceHistoryDto>
      <d2p1:Apr>false</d2p1:Apr>
      <d2p1:Aug>false</d2p1:Aug>
      <d2p1:Billing>String</d2p1:Billing>
      <d2p1:ChangedBy_Id>0</d2p1:ChangedBy_Id>
      <d2p1:ChangedOn>0001-01-01T00:00:00</d2p1:ChangedOn>
      <d2p1:Charge>0</d2p1:Charge>
      <d2p1:Dec>false</d2p1:Dec>
      <d2p1:Feb>false</d2p1:Feb>
      <d2p1:Finish>0001-01-01T00:00:00</d2p1:Finish>
      <d2p1:ISCharge>0</d2p1:ISCharge>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Jan>false</d2p1:Jan>
      <d2p1:Jul>false</d2p1:Jul>
      <d2p1:Jun>false</d2p1:Jun>
      <d2p1:Mar>false</d2p1:Mar>
      <d2p1:May>false</d2p1:May>
      <d2p1:Method>String</d2p1:Method>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:Nov>false</d2p1:Nov>
      <d2p1:Oct>false</d2p1:Oct>
      <d2p1:PaymentAmount>0</d2p1:PaymentAmount>
      <d2p1:Reason_Id>0</d2p1:Reason_Id>
      <d2p1:SaleSubType_Id>0</d2p1:SaleSubType_Id>
      <d2p1:SaleType_Id>0</d2p1:SaleType_Id>
      <d2p1:Sep>false</d2p1:Sep>
      <d2p1:ServiceType_Id>0</d2p1:ServiceType_Id>
      <d2p1:Service_Id>0</d2p1:Service_Id>
      <d2p1:SoldBy_Id>0</d2p1:SoldBy_Id>
      <d2p1:SoldOn>0001-01-01T00:00:00</d2p1:SoldOn>
      <d2p1:Start>0001-01-01T00:00:00</d2p1:Start>
      <d2p1:ZeroBill>false</d2p1:ZeroBill>
    </d2p1:ServiceHistoryDto>
  </DataObj>
  <Id>0</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>
</ServiceHistoryRequest>