GET api/hotel/detailbyxml?code={code}&lang={lang}

獲取酒店詳情

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

酒店编码

string

Required

lang

语言代码

string

Default value is zh-HK

Body Parameters

None.

Response Information

Resource Description

獲取酒店詳情

ReturnResultOfString
NameDescriptionTypeAdditional information
data

string

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": "sample string 1",
  "code": 2,
  "message": "sample string 3"
}