POST api/v1/SelfCheckin/GetUserOrderPayResult
获取用户订单支付结果
请求信息(Request)
URI 参数
None.
Body 参数
UserOrderPayResultQueryDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| hotelId |
酒店id |
integer |
None. |
| idCardNumber |
身份证号 |
string |
None. |
| mobile |
手机号码 |
string |
None. |
| name |
预订人姓名 |
string |
None. |
| hotelDay |
酒店营业日 |
date |
None. |
请求格式
application/json, text/json
Sample:
{
"hotelId": 1,
"idCardNumber": "sample string 2",
"mobile": "sample string 3",
"name": "sample string 4",
"hotelDay": "2025-10-29T12:51:36.1384514+08:00"
}
application/xml, text/xml
Sample:
<UserOrderPayResultQueryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <hotelDay>2025-10-29T12:51:36.1384514+08:00</hotelDay> <hotelId>1</hotelId> <idCardNumber>sample string 2</idCardNumber> <mobile>sample string 3</mobile> <name>sample string 4</name> </UserOrderPayResultQueryDTO>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfUserOrderPayResultDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Data | UserOrderPayResultDTO |
None. |
|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{
"Data": {
"Type": 1,
"HotelId": 2,
"Result": {
"OutTradeId": 1,
"OrderId": "sample string 2",
"RegOrderId": "sample string 3",
"Amount": 4.0,
"PayType": 0,
"UseType": 0,
"PostTimestamp": "sample string 5",
"QRCodeUrl": "sample string 6",
"TradeNo": "sample string 7",
"State": "sample string 8",
"PayTime": "2025-10-29T12:51:36.1384514+08:00",
"PayTypeName": "线下支付",
"Status": 9,
"Message": "sample string 10"
}
},
"Status": 1,
"Message": "sample string 2",
"Total": 3
}
application/xml, text/xml
Sample:
<RequestResultOfUserOrderPayResultDTO6NgmDdgv 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>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
<d2p1:HotelId>2</d2p1:HotelId>
<d2p1:Result>
<d2p1:Message>sample string 10</d2p1:Message>
<d2p1:Status>9</d2p1:Status>
<d2p1:Amount>4</d2p1:Amount>
<d2p1:OrderId>sample string 2</d2p1:OrderId>
<d2p1:OutTradeId>1</d2p1:OutTradeId>
<d2p1:PayTime>2025-10-29T12:51:36.1384514+08:00</d2p1:PayTime>
<d2p1:PayType>Offline</d2p1:PayType>
<d2p1:PostTimestamp>sample string 5</d2p1:PostTimestamp>
<d2p1:QRCodeUrl>sample string 6</d2p1:QRCodeUrl>
<d2p1:RegOrderId>sample string 3</d2p1:RegOrderId>
<d2p1:State>sample string 8</d2p1:State>
<d2p1:TradeNo>sample string 7</d2p1:TradeNo>
<d2p1:UseType>PmsOrder</d2p1:UseType>
</d2p1:Result>
<d2p1:Type>1</d2p1:Type>
</Data>
</RequestResultOfUserOrderPayResultDTO6NgmDdgv>