FirstLookServices

<back to all web services

UnitsInStock

The following routes are available for this service:
GET/{ver}/UnitsInStock/dealerId/{dealerid}/inventoryId/{inventoryId}/IsMaxOrFirstlookOn/{IsMaxOrFirstlookOn}
GET/UnitsInStock/dealerId/{dealerid}/inventoryId/{inventoryId}/IsMaxOrFirstlookOn/{IsMaxOrFirstlookOn}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/UnitsInStock HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/csv
Content-Length: length

DealerId,InventoryId,IsMaxOrFirstlookOn,Ver
0,0,False,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

VehicleHandle,VehicleDescription,Age,RiskLight,VehicleColor,VehicleMileage,UnitCost,ListPrice,BookVersusCost,Certified,TradeOrPurchase,VIN,StockNumber
0,String,0,0,String,0,0,0,0,0,0,String,String