FirstLookServices

<back to all web services

SearchCriteria

The following routes are available for this service:
POST/searchCriteria/dealerId/{dealerId}
POST/{ver}/searchCriteria/dealerId/{dealerId}

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/SearchCriteria HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: application/json
Content-Length: length

{"Ver":"String","Vin":"String","VehicleHandle":0,"DealerId":0,"OverallCount":0,"PrecisionCount":0,"MaxMileage":0,"MinMileage":0,"Listings":["String"],"Distance":0,"Certified":false,"NotCertified":false,"Trim":["String"],"DriveTrain":["String"],"Transmission":["String"],"Engine":["String"],"Fuel":["String"],"Facet":["String"],"AvgMileage":0,"MinPrice":0,"MaxPrice":0,"AvgPrice":0,"YearsFilter":[0],"BodyStyle":["String"],"Packages":["String"],"StockType":["String"]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Key":"String","Criteria":{"vin":"String","inventoryId":0,"appraisalId":0,"dealerId":0,"overallCount":0,"precisionCount":0,"maxMileage":0,"minMileage":0,"listings":["String"],"distance":0,"certified":false,"notCertified":false,"trim":["String"],"driveTrain":["String"],"transmission":["String"],"engine":["String"],"fuel":["String"],"yearsFilter":[0],"facet":["String"],"tierOneEquipment":["String"],"avgMileage":0,"minPrice":0,"maxPrice":0,"avgPrice":0,"bodyStyle":["String"],"packages":["String"],"stockType":["String"],"autogenerated":false,"migrated":false,"chromeStyleId":0,"relatedChromeStyleIds":[0],"vehicleHandle":0}}