GET api/Dashboard/GetLastSixMonthSales?DealershipID={DealershipID}
Gets Dashboard Last Six Month Sales
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DealershipID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SaleByMonth| Name | Description | Type | Additional information |
|---|---|---|---|
| MonthYear | string |
None. |
|
| Cash | integer |
None. |
|
| Consignment | integer |
None. |
|
| FP | integer |
None. |
|
| FPTotalSale | integer |
None. |
|
| ConsignmenttotalSale | integer |
None. |
|
| CashTotalSale | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MonthYear": "sample string 1",
"Cash": 2,
"Consignment": 3,
"FP": 4,
"FPTotalSale": 5,
"ConsignmenttotalSale": 6,
"CashTotalSale": 7
},
{
"MonthYear": "sample string 1",
"Cash": 2,
"Consignment": 3,
"FP": 4,
"FPTotalSale": 5,
"ConsignmenttotalSale": 6,
"CashTotalSale": 7
}
]
application/xml, text/xml
Sample:
<ArrayOfSaleByMonth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model">
<SaleByMonth>
<Cash>2</Cash>
<CashTotalSale>7</CashTotalSale>
<Consignment>3</Consignment>
<ConsignmenttotalSale>6</ConsignmenttotalSale>
<FP>4</FP>
<FPTotalSale>5</FPTotalSale>
<MonthYear>sample string 1</MonthYear>
</SaleByMonth>
<SaleByMonth>
<Cash>2</Cash>
<CashTotalSale>7</CashTotalSale>
<Consignment>3</Consignment>
<ConsignmenttotalSale>6</ConsignmenttotalSale>
<FP>4</FP>
<FPTotalSale>5</FPTotalSale>
<MonthYear>sample string 1</MonthYear>
</SaleByMonth>
</ArrayOfSaleByMonth>