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

HTTP + CSV

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

POST /csv/reply/DoubleDiscount HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/csv
Content-Length: length

Ver,BusinessUnitId,VehicleType,StartDate,EndDate,SalesPerson,NumberOfDeals
String,0,0,String,String,String,0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

dealDate,dealType,vehicleDescription,color,daysToSale,internetprice,salePrice,discount,stockNumber,salesPerson,deactivatedMarketAveragePrice,deactivatedMarketDaySupply,salesManager
0001-01-01,0,String,String,0,0,0,0,String,String,0,0,String