FirstLookServices

<back to all web services

DoubleDiscount

The following routes are available for this service:
POST/{ver}/DoubleDiscountReport/BusinessUnitId/{BusinessUnitId}
POST/DoubleDiscountReport/BusinessUnitId/{BusinessUnitId}
POST/{ver}/SalesDiscountReport/BusinessUnitId/{BusinessUnitId}
POST/SalesDiscountReport/BusinessUnitId/{BusinessUnitId}

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

{"Ver":"String","BusinessUnitId":0,"VehicleType":0,"StartDate":"String","EndDate":"String","SalesPerson":"String","NumberOfDeals":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"vehicles":[{"dealDate":"\/Date(-62135596800000-0000)\/","dealType":0,"vehicleDescription":"String","color":"String","daysToSale":0,"internetprice":0,"salePrice":0,"discount":0,"stockNumber":"String","salesPerson":"String","deactivatedMarketAveragePrice":0,"deactivatedMarketDaySupply":0,"salesManager":"String"}]}