查询酒店房型基本信息
POST
/a/commoninterface/commonInterface/query
请求参数
Body 参数application/json
userName
string
用户名
passWord
string
密码
queryType
string
查询类型
hotelId
string
酒店ID
示例
{
"userName": "87",
"passWord": "thcstourtest",
"queryType": "hotelInfo",
"hotelId": "549901"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://test-cn.your-api-server.com/a/commoninterface/commonInterface/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"userName": "87",
"passWord": "thcstourtest",
"queryType": "hotelInfo",
"hotelId": "549901"
}'
返回响应
🟢200成功
application/json
Body
commonQueryHotelInfo
object
必需
addressChn
string
中午地址
centralTel
string
地址
city
integer
城市ID
cityName
string
城市名称
country
integer
国家ID
state
integer
必需
stateName
string
省份名称
fax
string
传真
hotelId
string
酒店ID
introduceChn
string
中文介绍
jingdu
string
经度
weidu
string
纬度
nameChn
string
酒店名称
nameEng
string
酒店英文名称