POST api/new/getsystemroomtypeimg

获取系统户型图

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

Request 信息

URI 参数

None.

Body 参数

参数

SystemRoomTypeImgModel
名称说明数据类型附加信息
BuildingId

小区Id【不用填写 预留】

integer

None.

RoomCount

几室

integer

None.

HollCount

几厅

integer

None.

LooCount

几卫

integer

None.

Cookroom

几厨

integer

None.

Terrace

几阳台

integer

None.

Pi

PageIndex 页码,默认1

integer

None.

Ps

PageSize 页容量,默认20,最大50

integer

None.

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "BuildingId": 1,
  "RoomCount": 1,
  "HollCount": 1,
  "LooCount": 1,
  "Cookroom": 1,
  "Terrace": 1,
  "Pi": 1,
  "Ps": 1,
  "City": "sample string 1",
  "Token": "sample string 2",
  "Platform": "sample string 3"
}

application/xml, text/xml

示例:
<SystemRoomTypeImgModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 2</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 1</City>
  <Pi xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</Pi>
  <Ps xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</Ps>
  <BuildingId>1</BuildingId>
  <Cookroom>1</Cookroom>
  <HollCount>1</HollCount>
  <LooCount>1</LooCount>
  <RoomCount>1</RoomCount>
  <Terrace>1</Terrace>
</SystemRoomTypeImgModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

SystemRoomTypeImgResult
名称说明数据类型附加信息
Imgs

图片

Collection of HouseImage

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Imgs": [
    {
      "ResId": 1,
      "IsMain": true,
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Ext": "sample string 4",
      "Path": "sample string 5"
    },
    {
      "ResId": 1,
      "IsMain": true,
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Ext": "sample string 4",
      "Path": "sample string 5"
    }
  ],
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<SystemRoomTypeImgResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">
  <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 3</Msg>
  <TotalCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</TotalCount>
  <TotalPage xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">2</TotalPage>
  <Imgs>
    <HouseImage>
      <Ext>sample string 4</Ext>
      <FileName>sample string 2</FileName>
      <IsMain>true</IsMain>
      <Path>sample string 5</Path>
      <ResId>1</ResId>
      <Title>sample string 3</Title>
    </HouseImage>
    <HouseImage>
      <Ext>sample string 4</Ext>
      <FileName>sample string 2</FileName>
      <IsMain>true</IsMain>
      <Path>sample string 5</Path>
      <ResId>1</ResId>
      <Title>sample string 3</Title>
    </HouseImage>
  </Imgs>
</SystemRoomTypeImgResult>