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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/SearchCriteria HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/jsv
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: text/jsv
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
	}
}