GET api/hotel/techson/getroomtype?lang={lang}&type={type}&typeName={typeName}&opertype={opertype}

获取户型信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

语言(en-us,zh-hk,zh-cn)

string

Required

type

户型code

string

Default value is

typeName

户型名称

string

Default value is

opertype

调用方式(0.本地数据库获取,1.接口获取,2.更新到数据库)

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

获取户型信息

ReturnResultOfListOfHotelRoomTypeRSContract
NameDescriptionTypeAdditional information
data

Collection of HotelRoomTypeRSContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "code": "sample string 1",
      "name": "sample string 2"
    },
    {
      "code": "sample string 1",
      "name": "sample string 2"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}