FirstLookServices

<back to all web services

MarketListingTypedSearchRequest

The following routes are available for this service:
POST/v1/MarketListingTypedSearch

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

{
	VehicleHandle: 0,
	DealerId: 0,
	RequestTypes: 
	[
		String
	],
	Latitude: String,
	Longitude: String,
	Debug: False,
	PageSize: 0,
	PageNumber: 0,
	Sort: 
	{
		field: Distance,
		order: Ascending
	},
	ExcludeCurrentVehicle: False,
	PrefetchedData: 
	{
		AppraisalInfo: 
		{
			AppraisalId: 0,
			AppraisalAmount: 0,
			TargetGrossProfit: 0,
			EstimatedReconditioning: 0,
			ChromeStyleId: 0,
			Year: 0,
			Make: String,
			Model: String,
			Trim: String,
			Certified: False,
			Color: String,
			Mileage: 0,
			Vin: String,
			ReceivedDate: 0001-01-01
		},
		InventoryInfo: 
		{
			InventoryType: 0,
			UnitCost: 0,
			ListPrice: 0,
			SpecialPrice: 0,
			InventoryId: 0,
			ChromeStyleId: 0,
			Year: 0,
			Make: String,
			Model: String,
			Trim: String,
			Certified: False,
			Color: String,
			Mileage: 0,
			Vin: String,
			ReceivedDate: 0001-01-01,
			StockNumber: String,
			SegmentId: 0,
			BusinessUnitId: 0
		}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	matching_market_day_supply: 
	{
		debug: 
		{
			equation: String,
			retailTxnsInPast90d: 0,
			marketDaySupplyCount: 0,
			numberOfListings: 0
		},
		value: 0
	},
	overall_market_day_supply: 
	{
		debug: 
		{
			equation: String,
			retailTxnsInPast90d: 0,
			marketDaySupplyCount: 0,
			numberOfListings: 0
		},
		value: 0
	}
}