HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/VehicleByVinRequest HTTP/1.1
Host: api.homenetiol.com
Content-Type: application/xml
Content-Length: length
<VehicleByVinRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
<ExpandedVehicleDataRequested xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">false</ExpandedVehicleDataRequested>
<ILotID xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">0</ILotID>
<VIN xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">String</VIN>
</VehicleByVinRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<VehicleResponse 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>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models">
<d2p1:CachedVehicleId>0</d2p1:CachedVehicleId>
<d2p1:ChromeStyleId>0</d2p1:ChromeStyleId>
<d2p1:ChromeStyleList>String</d2p1:ChromeStyleList>
<d2p1:CustomPrice1>0</d2p1:CustomPrice1>
<d2p1:CustomPrice2>0</d2p1:CustomPrice2>
<d2p1:CustomPrice3>0</d2p1:CustomPrice3>
<d2p1:DateCreated>0001-01-01T00:00:00.0000000Z</d2p1:DateCreated>
<d2p1:DateInStock>0001-01-01T00:00:00.0000000Z</d2p1:DateInStock>
<d2p1:DateLastTouched>0001-01-01T00:00:00.0000000Z</d2p1:DateLastTouched>
<d2p1:DaysInStock>0</d2p1:DaysInStock>
<d2p1:DealerCertified>false</d2p1:DealerCertified>
<d2p1:DefaultBookValue>0</d2p1:DefaultBookValue>
<d2p1:DriveType>String</d2p1:DriveType>
<d2p1:EngineAspirationType>String</d2p1:EngineAspirationType>
<d2p1:EngineBlockType>String</d2p1:EngineBlockType>
<d2p1:EngineCylinderCount>0</d2p1:EngineCylinderCount>
<d2p1:EngineDescription>String</d2p1:EngineDescription>
<d2p1:EngineDisplacement>String</d2p1:EngineDisplacement>
<d2p1:EpaCityMpg>0</d2p1:EpaCityMpg>
<d2p1:EpaHighwayMpg>0</d2p1:EpaHighwayMpg>
<d2p1:ExteriorColorDescription>String</d2p1:ExteriorColorDescription>
<d2p1:ExteriorColorHexCode>String</d2p1:ExteriorColorHexCode>
<d2p1:ExteriorGenericColor>String</d2p1:ExteriorGenericColor>
<d2p1:FlickFusion360ID>String</d2p1:FlickFusion360ID>
<d2p1:FlickFusionExterior360ID>String</d2p1:FlickFusionExterior360ID>
<d2p1:FlickFusionInterior360ID>String</d2p1:FlickFusionInterior360ID>
<d2p1:FuelType>String</d2p1:FuelType>
<d2p1:HomenetStyleId>String</d2p1:HomenetStyleId>
<d2p1:HomenetStyleList>String</d2p1:HomenetStyleList>
<d2p1:InServiceDate i:nil="true" />
<d2p1:InstalledOptions>
<d2p1:Custom>
<d2p1:InstalledOptionInfo>
<d2p1:Description>String</d2p1:Description>
<d2p1:EquipmentIdentifier>String</d2p1:EquipmentIdentifier>
<d2p1:OptionCode>String</d2p1:OptionCode>
</d2p1:InstalledOptionInfo>
</d2p1:Custom>
<d2p1:Decoder>
<d2p1:InstalledOptionInfo>
<d2p1:Description>String</d2p1:Description>
<d2p1:EquipmentIdentifier>String</d2p1:EquipmentIdentifier>
<d2p1:OptionCode>String</d2p1:OptionCode>
</d2p1:InstalledOptionInfo>
</d2p1:Decoder>
<d2p1:Global>
<d2p1:InstalledOptionInfo>
<d2p1:Description>String</d2p1:Description>
<d2p1:EquipmentIdentifier>String</d2p1:EquipmentIdentifier>
<d2p1:OptionCode>String</d2p1:OptionCode>
</d2p1:InstalledOptionInfo>
</d2p1:Global>
</d2p1:InstalledOptions>
<d2p1:InteriorColorDescription>String</d2p1:InteriorColorDescription>
<d2p1:InteriorColorHexCode>String</d2p1:InteriorColorHexCode>
<d2p1:InteriorGenericColor>String</d2p1:InteriorGenericColor>
<d2p1:InternetPrice>0</d2p1:InternetPrice>
<d2p1:InventoryLotId>0</d2p1:InventoryLotId>
<d2p1:InventoryLotName>String</d2p1:InventoryLotName>
<d2p1:InvoiceAmount>0</d2p1:InvoiceAmount>
<d2p1:IsDeleted>false</d2p1:IsDeleted>
<d2p1:IsSold>false</d2p1:IsSold>
<d2p1:KBBBookVersion>String</d2p1:KBBBookVersion>
<d2p1:KBBDrivetrainID>0</d2p1:KBBDrivetrainID>
<d2p1:KBBEdition>String</d2p1:KBBEdition>
<d2p1:KBBEngineID>0</d2p1:KBBEngineID>
<d2p1:KBBExteriorColorID>0</d2p1:KBBExteriorColorID>
<d2p1:KBBMakeID>0</d2p1:KBBMakeID>
<d2p1:KBBModelID>0</d2p1:KBBModelID>
<d2p1:KBBOptOut>false</d2p1:KBBOptOut>
<d2p1:KBBTransmissionID>0</d2p1:KBBTransmissionID>
<d2p1:KBBTrimID>0</d2p1:KBBTrimID>
<d2p1:KBBVAOIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</d2p1:KBBVAOIDs>
<d2p1:KBBValuationDate i:nil="true" />
<d2p1:KBBVehicleID>0</d2p1:KBBVehicleID>
<d2p1:KBBYearID>0</d2p1:KBBYearID>
<d2p1:MSRP>0</d2p1:MSRP>
<d2p1:Make>String</d2p1:Make>
<d2p1:MasterVehicleId>0</d2p1:MasterVehicleId>
<d2p1:Miles>0</d2p1:Miles>
<d2p1:Model>String</d2p1:Model>
<d2p1:OemCertifiedInspectionChecklistNumber>String</d2p1:OemCertifiedInspectionChecklistNumber>
<d2p1:PhotoCount>0</d2p1:PhotoCount>
<d2p1:SellingPrice>0</d2p1:SellingPrice>
<d2p1:ServiceRepNotes>String</d2p1:ServiceRepNotes>
<d2p1:ShouldValuateWithKBB>false</d2p1:ShouldValuateWithKBB>
<d2p1:StandardEquipment>
<d2p1:Custom>
<d2p1:StandardEquipmentBase i:nil="true" />
</d2p1:Custom>
<d2p1:Decoder>
<d2p1:StandardEquipmentBase i:nil="true" />
</d2p1:Decoder>
<d2p1:Global>
<d2p1:StandardEquipmentBase i:nil="true" />
</d2p1:Global>
</d2p1:StandardEquipment>
<d2p1:StockNumber>String</d2p1:StockNumber>
<d2p1:StyleDescription>String</d2p1:StyleDescription>
<d2p1:Transmission>String</d2p1:Transmission>
<d2p1:TransmissionDescription>String</d2p1:TransmissionDescription>
<d2p1:TransmissionSpeed>0</d2p1:TransmissionSpeed>
<d2p1:TransmissionTypeCode>String</d2p1:TransmissionTypeCode>
<d2p1:Trim>String</d2p1:Trim>
<d2p1:Upholstery>String</d2p1:Upholstery>
<d2p1:VehicleCondition>New</d2p1:VehicleCondition>
<d2p1:VehicleImages>
<d2p1:VehicleImageInfo>
<d2p1:CachedVehicleId>0</d2p1:CachedVehicleId>
<d2p1:DateDeleted i:nil="true" />
<d2p1:FileName>String</d2p1:FileName>
<d2p1:Height>0</d2p1:Height>
<d2p1:ImageSource>String</d2p1:ImageSource>
<d2p1:ManualDeletion>false</d2p1:ManualDeletion>
<d2p1:MasterVehicleId>0</d2p1:MasterVehicleId>
<d2p1:MasterVehicleImageDetailId>0</d2p1:MasterVehicleImageDetailId>
<d2p1:OriginalHeight>0</d2p1:OriginalHeight>
<d2p1:OriginalWidth>0</d2p1:OriginalWidth>
<d2p1:PhotoGuideDefinitionCaption>String</d2p1:PhotoGuideDefinitionCaption>
<d2p1:PhotoGuideDefinitionId>0</d2p1:PhotoGuideDefinitionId>
<d2p1:Position>0</d2p1:Position>
<d2p1:Width>0</d2p1:Width>
</d2p1:VehicleImageInfo>
</d2p1:VehicleImages>
<d2p1:VehicleLifeCycleState>InPrep</d2p1:VehicleLifeCycleState>
<d2p1:VehicleType>Undefined</d2p1:VehicleType>
<d2p1:Vin>String</d2p1:Vin>
<d2p1:Year>0</d2p1:Year>
</Vehicle>
</VehicleResponse>