GET api/FangYuan/GetFangyuanNumByAgentId?agentId={agentId}&houseTypes[0]={houseTypes[0]}&houseTypes[1]={houseTypes[1]}

前台-查询经纪人房源数量(店长或经纪人)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentId

经纪人id

integer

Required

houseTypes

房源类型集合,取全部房源数量,类型可传Default即-1

Collection of HouseType

Required

Body Parameters

None.

Response Information

Resource Description

前台-查询经纪人房源数量(店长或经纪人)

Dictionary of HouseType [key] and integer [value]

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfEnumsHouse.HouseTypeNullableOfint2BAA1H6B xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfEnumsHouse.HouseTypeNullableOfint2BAA1H6B>
    <Key>SecondhandHouse</Key>
    <Value>1</Value>
  </KeyValueOfEnumsHouse.HouseTypeNullableOfint2BAA1H6B>
</ArrayOfKeyValueOfEnumsHouse.HouseTypeNullableOfint2BAA1H6B>