POST api/hotel/common/get/sunseries/facility?type={type}&isupdate={isupdate}

酒店基础设施信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

0.酒店设施 1.房间设施

integer

Required

isupdate

更新

boolean

Required

Body Parameters

TC_UserAuthentContract
NameDescriptionTypeAdditional information
authuser

用户身份信息

TC_UserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "authuser": {
    "userid": "sample string 1",
    "password": "sample string 2"
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TC_UserAuthentContract'.

Response Information

Resource Description

酒店基础设施信息

ReturnResultOfListOfBaseFacilityResponse
NameDescriptionTypeAdditional information
data

Collection of BaseFacilityResponse

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "id": "sample string 1",
      "description": "sample string 2",
      "free": "sample string 3"
    },
    {
      "id": "sample string 1",
      "description": "sample string 2",
      "free": "sample string 3"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}