GET api/v1/Hotel/GetRoomOrder?checkIn={checkIn}&checkOut={checkOut}&hotelId={hotelId}&roomId={roomId}&agentKey={agentKey}

[需登录]获取房间订单详情

请求信息(Request)

URI 参数

名称描述类型备注
checkIn

入住日期

date

Required

checkOut

退房日期

date

Required

hotelId

酒店的UniqueID

string

Required

roomId

房间的UniqueID

string

Required

agentKey

DealerShop的UniqueID

string

Required

Body 参数

None.

响应信息(Response)

资源描述

RequestResultOfHotelRoomOrderDTO
名称描述类型备注
Data

HotelRoomOrderDTO

None.

Status

状态(0:成功,1:失败)

integer

None.

Message

导致失败的相关消息

string

None.

Total

集合总数,用于分页时使用

integer

None.

响应格式

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'WLife.Application.DTOs.ComboDTO'. Path 'Data.Combo.Products[0].HotelRoom.Combos'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'WLife.Application.DTOs.ComboDTO'. Path 'Data.Combo.Products[0].HotelRoom.Combos'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “WLife.Application.DTOs.DealSpecificationDTO”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “WLife.Application.DTOs.DealSpecificationDTO”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。