查询酒店ID
POST
/a/commoninterface/commonInterface/query
请求参数
Body 参数application/json
passWord
string
密码
cityId
string
城市ID
userName
string
用户名
queryType
string
查询类型
示例
{
"passWord": "thcstourtest",
"cityId": "236",
"userName": "87",
"queryType": "hotelidByCity"
}
示例代码
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 '{
"passWord": "thcstourtest",
"cityId": "236",
"userName": "87",
"queryType": "hotelidByCity"
}'
返回响应
🟢200成功
application/json
Body
hotelIdList
array[string]
酒店IDs
msg
string
返回状态
success
string
返回状态
示例
{
"hotelIdList": [
"string"
],
"msg": "string",
"success": "string"
}
修改于 2024-08-28 01:07:57