酒店订单详情接口
酒店订单详情接口
功能介绍
企业可调用此接口获取酒店订单详情数据。
可用于租户查询。
调用方法
POST
接口URL
/napi/enterprise/hotel/order/detail
请求参数
隐私策略, NORMAL:正常返回, NORETURN:不返回, DESENSITIZED:脱敏返回, 不传则脱敏返回(默认) |
响应参数
OrderBase
支付方式:0:员工电子流,1:在线支付,14:到店付款,3:个人现金,4:个人pos,5:关联月结,6:因公欠款,8:担保欠款,10:外部月结,11:转账 | |||
取消标识:FREE_CANCEL:免费取消,CANCEL_AND_PENALTY:限时取消,NO_CANCEL:不可取消 |
HotelInfo
酒店钻级:2:二星(钻)及以下/经济型,3:三星(钻)/舒适型,4:四星(钻)/高档型,5:五星(钻)/豪华型。酒店星级和酒店钻级相互补充,没有星级时则会用钻级。 | |||
PayRecordDetail
支付方式:0:员工电子流,1:在线支付,14:到店付款,3:个人现金,4:个人pos,5:关联月结,6:因公欠款,8:担保欠款,10:外部月结,11:转账 | |||
OrderDetailCheckinPerson
ContactInfo
DailyPrice
请求示例
{
"orderId":"H0125120210090343692",
"corpCode": "",
"language": "en",
"msgId": "200214098490218492018491",
"privacyPolicy":"DESENSITIZED"
}
响应示例
{
"resultCode": "0",
"description": "成功",
"orderId": "H0125120210090343692",
"orderBase": {
"checkinDate": "20251202",
"checkoutDate": "20251205",
"clientRemark": "",
"orderStatus": "3",
"roomPrice": 3,
"serviceFee": 11,
"currency": "CNY",
"guaranteeFormat": "0",
"guaranteeType": null,
"travelType": "BUSINESS",
"roomNum": 1,
"breakfastNum": 3,
"freeCancelTime": "20251203060000",
"latestCancelTime": "20251203060000",
"latestArrivalTime": "20251202180000",
"enterpriseTrId": null,
"bookingChannel": null,
"payWay": "10",
"payDetailList": [],
"protocolSource": true,
"cancelPolicyType": "FREE_CANCEL"
},
"hotelInfo": {
"cityId": "156320100",
"cityName": "Nanjing",
"countryId": null,
"countryName": "China",
"hotelId": "1004418369",
"hotelName": "GP Test Hotel",
"hotelPhone": "19014521236",
"hotelAddr": "Xinjiekou",
"hotelStar": "0",
"hotelStarRating": "5",
"roomTypeName": "Deluxe Mountain view Double room",
"bedTypeName": "Big bed"
},
"checkinPersonList": [
{
"checkinPersonName": "郭*",
"gender": "M",
"nationality": "CN"
}
],
"contactList": [
{
"contactName": "GUO*****",
"contactMobile": "190****8563",
"phoneCountryCode": "+86",
"contactMail": "1*5@H.com"
}
],
"dailyPriceList": [
{
"date": "20251202",
"roomPrice": 1,
"serviceFee": null
},
{
"date": "20251203",
"roomPrice": 1,
"serviceFee": null
},
{
"date": "20251204",
"roomPrice": 1,
"serviceFee": null
}
]
}