GET api/Infomation/GetStatistics?languageType={languageType}&year={year}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| languageType | CmsLanguage |
Required |
|
| year | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StatisticsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StatisticsList | Collection of StatisticsModel |
None. |
|
| ResponseCode | ResponseCode |
None. |
|
| AlertMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatisticsList": [
{
"StatisticsID": 1,
"Year": 2,
"Month": 3,
"TakeMortgageCount": 4,
"TakeMortgageMoney": 5.0,
"GiveMortgageCount": 6,
"GiveMortgageMoney": 7.0,
"ApplyMortgageCount": 8,
"NowFloorCount": 9,
"FutureFloorCount": 10
},
{
"StatisticsID": 1,
"Year": 2,
"Month": 3,
"TakeMortgageCount": 4,
"TakeMortgageMoney": 5.0,
"GiveMortgageCount": 6,
"GiveMortgageMoney": 7.0,
"ApplyMortgageCount": 8,
"NowFloorCount": 9,
"FutureFloorCount": 10
}
],
"ResponseCode": 1,
"AlertMessage": "sample string 1"
}
text/xml
Sample:
<StatisticsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
<AlertMessage>sample string 1</AlertMessage>
<ResponseCode>Success</ResponseCode>
<StatisticsList>
<StatisticsModel>
<ApplyMortgageCount>8</ApplyMortgageCount>
<FutureFloorCount>10</FutureFloorCount>
<GiveMortgageCount>6</GiveMortgageCount>
<GiveMortgageMoney>7</GiveMortgageMoney>
<Month>3</Month>
<NowFloorCount>9</NowFloorCount>
<StatisticsID>1</StatisticsID>
<TakeMortgageCount>4</TakeMortgageCount>
<TakeMortgageMoney>5</TakeMortgageMoney>
<Year>2</Year>
</StatisticsModel>
<StatisticsModel>
<ApplyMortgageCount>8</ApplyMortgageCount>
<FutureFloorCount>10</FutureFloorCount>
<GiveMortgageCount>6</GiveMortgageCount>
<GiveMortgageMoney>7</GiveMortgageMoney>
<Month>3</Month>
<NowFloorCount>9</NowFloorCount>
<StatisticsID>1</StatisticsID>
<TakeMortgageCount>4</TakeMortgageCount>
<TakeMortgageMoney>5</TakeMortgageMoney>
<Year>2</Year>
</StatisticsModel>
</StatisticsList>
</StatisticsResponse>