Appearance
订单详情
简要描述
- 获取订单详情接口
请求URL
/Order/HotelOrderDetail
请求方式
- POST
参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| OrderId | 是 | long | 奈斯旅行订单号 |
| DistributorOrderId | 否 | string | 分销商订单号 |
返回示例
{
"Msg": "获取成功",
"Guid": "3e957d09-f4b8-bb52-cdd6-342d2a5a09b9",
"Success": true,
"Status": "success",
"Data": {
"OrderId": "11111111113",
"TotalPrice": "408.00",
"HotelId": 1656671,
"HotelName": "Morning·哈森公寓(广州南站石壁地铁站店)",
"RoomName": "LOFT复式三床房|180°全景大阳台+通风极佳+洗衣机|",
"RatePlanName": "不含早",
"RoomNums": 1,
"ArrivalDate": "2026-01-05",
"DepartureDate": "2026-01-08",
"Status": "V",
"Contact": {
"Name": "测试",
"Mobile": "13111111111"
},
"Customer": [
"测试"
],
"DailyPrice": [
{
"Date": "2026-01-05",
"Price": 136
},
{
"Date": "2026-01-06",
"Price": 136
},
{
"Date": "2026-01-07",
"Price": 136
}
],
"PrePayRules": {
"typeFormat": "限时取消",
"table": [],
"CancelRules": [],
"Description": "2026-01-04 23:00前免费取消;2026-01-04 23:00后收取全部房费;"
}
},
"Code": 200
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| Data | HotelOrderDetailModel | 订单详情 |
HotelOrderDetailModel
| 参数名 | 类型 | 说明 |
|---|---|---|
| OrderId | long | 订单号 |
| Status | string | 订单状态 |
| ArrivalDate | string | 入住日期 |
| DepartureDate | string | 离店日期 |
| HotelName | string | 酒店名称 |
| RoomName | string | 房间名称 |
| RatePlanName | string | 价格政策名称 |
| RoomNums | int | 房间数量 |
| DepartureDate | string | 离店日期 |
| Customers | List <CustomersInfo> | 入住人列表 |
| Contact | List <ContactInfo> | 联系人信息 |
| DailyPrice | List <DailyPricetInfo> | 每日房价 |
| PrePayRules | List <PrePayRulesInfo> | 取消规则 |
| TotalPrice | string | 订单总金额 |
ContactInfo
| 参数名 | 类型 | 说明 |
|---|---|---|
| Name | string | 姓名 |
| Mobile | string | 手机号 |
DailyPricetInfo
| 参数名 | 类型 | 说明 |
|---|---|---|
| Date | string | 当天日期 |
| Price | string | 房价 |
PrePayRulesInfo
| 参数名 | 类型 | 说明 |
|---|---|---|
| description | string | 描述 |