POST api/houseprice/getexchangecountchart

成交量

默认返回json数据,若要返回xml格式数据在访问地址后加上xml=true

Request 信息

URI 参数

None.

Body 参数

参数

HousePriceModel
名称说明数据类型附加信息
RegionCode

可选,区域,优先级大于城市

string

Matching regular expression pattern: ^\d{6}$

BoardId

可选,板块id,优先级大于区域

integer

None.

BuildingId

可选,小区id,优先级大于板块id

integer

None.

EndDate

[可选]截至日期,如2014-11,表示2014年11月

string

None.

Months

可选,默认6个月

integer

Range: inclusive between 1 and 12

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "RegionCode": "sample string 1",
  "BoardId": 1,
  "BuildingId": 1,
  "EndDate": "sample string 2",
  "Months": 1,
  "City": "sample string 3",
  "Token": "sample string 4",
  "Platform": "sample string 5"
}

application/xml, text/xml

示例:
<HousePriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.HousePrice">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 5</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 4</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</City>
  <BoardId>1</BoardId>
  <BuildingId>1</BuildingId>
  <EndDate>sample string 2</EndDate>
  <Months>1</Months>
  <RegionCode>sample string 1</RegionCode>
</HousePriceModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

ExchangeCountChart
名称说明数据类型附加信息
Labels

月份

Collection of string

None.

Count

数量

Collection of integer

None.

ExCount

最近一个月的成交量

integer

None.

ThreeMonthCount

最近3个月的成交量

integer

None.

ExPrice

最近一个月成交均价

decimal number

None.

ThreeMonthPrice

最近3个月成交均价

decimal number

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Labels": [
    "sample string 1",
    "sample string 2"
  ],
  "Count": [
    1,
    2
  ],
  "ExCount": 1,
  "ThreeMonthCount": 2,
  "ExPrice": 3.0,
  "ThreeMonthPrice": 4.0,
  "ErrorCode": 0,
  "Msg": "sample string 5"
}

application/xml, text/xml

示例:
<ExchangeCountChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.HousePrice">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">SUCCESS</ErrorCode>
  <Msg xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 5</Msg>
  <Count xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </Count>
  <ExCount>1</ExCount>
  <ExPrice>3</ExPrice>
  <Labels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Labels>
  <ThreeMonthCount>2</ThreeMonthCount>
  <ThreeMonthPrice>4</ThreeMonthPrice>
</ExchangeCountChart>