WebApi

<back to all web services

VehicleRequest

The following routes are available for this service:
PUT, POST/ilots/{InventoryLotId}/vehiclesQueues vehicle changes matched by a single ILot/VIN pair.This is an asynchronous operation. To verify changes have been persisted, use the returned StatusToken to check on caching status.
OPTIONS/ilots/{InventoryLotId}/vehicles
POST/proxy/v1/vehicle-sets/{InventoryLotId}/vehiclesQueues vehicle changes matched by a single ILot/VIN pair.This is an asynchronous operation. To verify changes have been persisted, use the returned StatusToken to check on caching status.

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

<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>ILotID</Key>
    <Value xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int">0</Value>
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>VIN</Key>
    <Value xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string">String</Value>
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VehicleUploadResponse 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>
  <MasterVehicleId>0</MasterVehicleId>
  <StatusTokenId>00000000-0000-0000-0000-000000000000</StatusTokenId>
</VehicleUploadResponse>