FirstLookServices

<back to all web services

PricingCalculatorFetch

The following routes are available for this service:
GET/{ver}/pricingcalculator/dealer/{BusinessUnitId}/inventory/{InventoryId}/user/{UserLogin}
GET/pricingcalculator/dealer/{BusinessUnitId}/inventory/{InventoryId}/user/{Userlogin}

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

{
	UserLogin: String,
	BusinessUnitId: 0,
	InventoryId: 0,
	Ver: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	totalDiscount: 0,
	totalFees: 0,
	totalIncentives: 0,
	businessUnitId: 0,
	inventoryId: 0,
	year: 0,
	make: String,
	model: String,
	trim: String,
	chromeStyleId: 0,
	stockNumber: String,
	age: 0,
	color: String,
	invoicePrice: 0,
	msrp: 0,
	discounts: 
	[
		{
			discountCampaignId: 0,
			discountName: String,
			discountAmount: 0,
			discountType: String,
			isPercentage: False
		}
	],
	fees: 
	[
		{
			feeCampaignId: 0,
			feeName: String,
			feeAmount: 0,
			feeType: String
		}
	],
	advertisedPrice: 0,
	websitePrice: 0,
	drivewayPrice: 0,
	specialPrice: 0,
	listPrice: 0,
	discountPrice: 0,
	isLocked: False,
	hasLithiaNewCarPricingView: False,
	enableLithiaDrivewayPricingUi: False,
	userIsPricer: False,
	isNewCar: False
}