Bulwark Web API Service Host

<back to all web services

CallbackRequest

Get Callback

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

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

<CallbackRequest 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:CallbackDto>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:CallbackImagesCheckedOn>0001-01-01T00:00:00</d2p1:CallbackImagesCheckedOn>
      <d2p1:CustomerNoteId>0</d2p1:CustomerNoteId>
      <d2p1:Customer_Id>0</d2p1:Customer_Id>
      <d2p1:Details>String</d2p1:Details>
      <d2p1:FollowUpCall>false</d2p1:FollowUpCall>
      <d2p1:FollowedUp>false</d2p1:FollowedUp>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Location1>0</d2p1:Location1>
      <d2p1:Location2>0</d2p1:Location2>
      <d2p1:Location3>0</d2p1:Location3>
      <d2p1:Location4>0</d2p1:Location4>
      <d2p1:LockedTime>String</d2p1:LockedTime>
      <d2p1:LockedTimeType>0</d2p1:LockedTimeType>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:Pest1_Id>0</d2p1:Pest1_Id>
      <d2p1:Pest2_Id>0</d2p1:Pest2_Id>
      <d2p1:Pest3_Id>0</d2p1:Pest3_Id>
      <d2p1:Pest4>String</d2p1:Pest4>
      <d2p1:ScheduleDate>0001-01-01T00:00:00</d2p1:ScheduleDate>
      <d2p1:ServiceDate>0001-01-01T00:00:00</d2p1:ServiceDate>
      <d2p1:Service_Id>0</d2p1:Service_Id>
      <d2p1:Tech_Id>0</d2p1:Tech_Id>
      <d2p1:TimeBlockEnd>0001-01-01T00:00:00</d2p1:TimeBlockEnd>
      <d2p1:TimeBlockStart>0001-01-01T00:00:00</d2p1:TimeBlockStart>
      <d2p1:Type_Id>0</d2p1:Type_Id>
    </d2p1:CallbackDto>
  </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>
</CallbackRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CallbackRequest 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:CallbackDto>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:CallbackImagesCheckedOn>0001-01-01T00:00:00</d2p1:CallbackImagesCheckedOn>
      <d2p1:CustomerNoteId>0</d2p1:CustomerNoteId>
      <d2p1:Customer_Id>0</d2p1:Customer_Id>
      <d2p1:Details>String</d2p1:Details>
      <d2p1:FollowUpCall>false</d2p1:FollowUpCall>
      <d2p1:FollowedUp>false</d2p1:FollowedUp>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Location1>0</d2p1:Location1>
      <d2p1:Location2>0</d2p1:Location2>
      <d2p1:Location3>0</d2p1:Location3>
      <d2p1:Location4>0</d2p1:Location4>
      <d2p1:LockedTime>String</d2p1:LockedTime>
      <d2p1:LockedTimeType>0</d2p1:LockedTimeType>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:Pest1_Id>0</d2p1:Pest1_Id>
      <d2p1:Pest2_Id>0</d2p1:Pest2_Id>
      <d2p1:Pest3_Id>0</d2p1:Pest3_Id>
      <d2p1:Pest4>String</d2p1:Pest4>
      <d2p1:ScheduleDate>0001-01-01T00:00:00</d2p1:ScheduleDate>
      <d2p1:ServiceDate>0001-01-01T00:00:00</d2p1:ServiceDate>
      <d2p1:Service_Id>0</d2p1:Service_Id>
      <d2p1:Tech_Id>0</d2p1:Tech_Id>
      <d2p1:TimeBlockEnd>0001-01-01T00:00:00</d2p1:TimeBlockEnd>
      <d2p1:TimeBlockStart>0001-01-01T00:00:00</d2p1:TimeBlockStart>
      <d2p1:Type_Id>0</d2p1:Type_Id>
    </d2p1:CallbackDto>
  </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>
</CallbackRequest>