WebApi

<back to all web services

VehicleQueryRequest

The following routes are available for this service:
GET/rooftops/{VirtualRooftopId}/vehiclesGet all vehicles for specified virtual rooftopExpanded data optionally includes equipment data.
OPTIONS/rooftops/{VirtualRooftopId}/vehicles

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/VehicleQueryRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: application/xml
Content-Length: length

<VehicleQueryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
  <Skip xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages">0</Skip>
  <Take xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages">0</Take>
  <ExpandedVehicleDataRequested xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">false</ExpandedVehicleDataRequested>
  <LastQueried xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">0001-01-01T00:00:00</LastQueried>
  <VirtualRooftopId xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">0</VirtualRooftopId>
</VehicleQueryRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VehicleQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">
  <MessageDetails i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages" />
  <ResponseMessageKind xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages">None</ResponseMessageKind>
  <LastQueried>0001-01-01T00:00:00</LastQueried>
  <Vehicles xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models" i:nil="true" />
</VehicleQueryResponse>