FirstLookServices

<back to all web services

Inventory

The following routes are available for this service:
GET/{ver}/inventory/dealers/{dealer}/{stockNumber}
GET/inventory/dealers/{dealer}/{stockNumber}
GET/{ver}/inventory/dealers/{dealer}
GET/inventory/dealers/{dealer}

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/Inventory HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/csv
Content-Length: length

Dealer,StockNumber,Ver
0,String,String

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

bucketName,bucketInventory
String,"[{inventoryId:0,vin:String,year:0,makeModel:String,trim:String,ageInDays:0,color:String,mileage:0,listPrice:0,riskLight:String,unitCost:0,stockNumber:String,chromeStyleId:0}]"