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

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

{
	vehicles: 
	[
		{
			dealDate: 0001-01-01,
			dealType: 0,
			vehicleDescription: String,
			color: String,
			daysToSale: 0,
			internetprice: 0,
			salePrice: 0,
			discount: 0,
			stockNumber: String,
			salesPerson: String,
			deactivatedMarketAveragePrice: 0,
			deactivatedMarketDaySupply: 0,
			salesManager: String
		}
	]
}