POST api/hotel/search/term

查询酒店Term(已使用)

Request Information

URI Parameters

None.

Body Parameters

HotelTermRQContract
NameDescriptionTypeAdditional information
HotelCode

酒店编码

string

None.

RatePlanID

RatePlanID

string

None.

CheckIn

入住时间

date

None.

CheckOut

退房时间

date

None.

Nationality

国籍

string

None.

Language

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HotelCode": "sample string 1",
  "RatePlanID": "sample string 2",
  "CheckIn": "2024-12-23T19:28:22.0305644+08:00",
  "CheckOut": "2024-12-23T19:28:22.0305644+08:00",
  "Nationality": "sample string 5",
  "Language": "sample string 6"
}

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 'HotelTermRQContract'.

Response Information

Resource Description

查询酒店Term(已使用)

ReturnResultOfHotelTermRSContract
NameDescriptionTypeAdditional information
data

HotelTermRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "Status": true,
    "AdditionalNotes": "sample string 2",
    "CxlPolicy": "sample string 3",
    "GuaranteeBefore": "sample string 4"
  },
  "code": 1,
  "message": "sample string 2"
}