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

{"UserLogin":"String","BusinessUnitId":0,"InventoryId":0,"Ver":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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}