POST api/v1/Order/GetMyOverStayOrders
[需登录]获取自己的续住订单
请求信息(Request)
URI 参数
None.
Body 参数
HotelOverStayOrderQuery名称 | 描述 | 类型 | 备注 |
---|---|---|---|
userId |
用户id(在获取用户自己的续住单中,客户端不用传这个参数) |
integer |
None. |
orderId |
预订单id |
integer |
None. |
status |
订单状态 |
OverStayOrderStatus |
None. |
payType |
支付类型 |
PayType |
None. |
pmsRegOrderId |
登记单Id |
string |
None. |
pmsRegOrderNumber |
登记单号 |
string |
None. |
hotelShopName |
酒店名称 |
string |
None. |
createTime1 |
下单起始时间 |
date |
None. |
createTime2 |
下单截止时间 |
date |
None. |
hotelId | integer |
None. |
|
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
|
noPage | boolean |
None. |
请求格式
application/json, text/json
Sample:
{ "userId": 1, "orderId": 1, "status": 0, "payType": 0, "pmsRegOrderId": "sample string 1", "pmsRegOrderNumber": "sample string 2", "hotelShopName": "sample string 3", "createTime1": "2025-06-19T22:49:40.5428549+08:00", "createTime2": "2025-06-19T22:49:40.5428549+08:00", "hotelId": 1, "pageIndex": 4, "pageSize": 5, "noPage": true }
application/xml, text/xml
Sample:
<HotelOverStayOrderQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query"> <noPage>true</noPage> <pageIndex>4</pageIndex> <pageSize>5</pageSize> <createTime1>2025-06-19T22:49:40.5428549+08:00</createTime1> <createTime2>2025-06-19T22:49:40.5428549+08:00</createTime2> <hotelId>1</hotelId> <hotelShopName>sample string 3</hotelShopName> <orderId>1</orderId> <payType>Offline</payType> <pmsRegOrderId>sample string 1</pmsRegOrderId> <pmsRegOrderNumber>sample string 2</pmsRegOrderNumber> <status>Create</status> <userId>1</userId> </HotelOverStayOrderQuery>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResult名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 2</Message> <Status>1</Status> <Total>3</Total> </RequestResult>