POST api/v1/SelfCheckin/apiTest
测试接口(触发生日规则事件)
请求信息(Request)
URI 参数
None.
Body 参数
HotelPmsOrderQueryDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| HotelId | string |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| CheckInDate | date |
None. |
|
| IsCancel | boolean |
None. |
|
| IsNoShow | boolean |
None. |
|
| IsToOrder | boolean |
None. |
|
| VipID | string |
None. |
|
| IdCardNumber | string |
None. |
|
| PhoneNumber | string |
None. |
|
| BookingPassword | string |
None. |
|
| OTABookingNumber | string |
None. |
|
| Name | string |
None. |
|
| AllocationId |
预留ID |
string |
None. |
| AllocationNum |
预留编码(能查到预订单确定的房间)(目前只有奥普系统支持) |
string |
None. |
| OrderId |
预订单id |
string |
None. |
| RegOrderId |
换房续住用,当前在住的登记单id |
string |
None. |
| HotelOrderNumber | string |
None. |
|
| KeyWord | string |
None. |
请求格式
application/json, text/json
Sample:
{
"HotelId": "sample string 1",
"Page": 2,
"PageSize": 3,
"CheckInDate": "2025-12-18T14:35:11.5290076+08:00",
"IsCancel": true,
"IsNoShow": true,
"IsToOrder": true,
"VipID": "sample string 7",
"IdCardNumber": "sample string 8",
"PhoneNumber": "sample string 9",
"BookingPassword": "sample string 10",
"OTABookingNumber": "sample string 11",
"Name": "sample string 12",
"AllocationId": "sample string 13",
"AllocationNum": "sample string 14",
"OrderId": "sample string 15",
"RegOrderId": "sample string 16",
"HotelOrderNumber": "sample string 17",
"KeyWord": "sample string 18"
}
application/xml, text/xml
Sample:
<HotelPmsOrderQueryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <AllocationId>sample string 13</AllocationId> <AllocationNum>sample string 14</AllocationNum> <BookingPassword>sample string 10</BookingPassword> <CheckInDate>2025-12-18T14:35:11.5290076+08:00</CheckInDate> <HotelId>sample string 1</HotelId> <HotelOrderNumber>sample string 17</HotelOrderNumber> <IdCardNumber>sample string 8</IdCardNumber> <IsCancel>true</IsCancel> <IsNoShow>true</IsNoShow> <IsToOrder>true</IsToOrder> <KeyWord>sample string 18</KeyWord> <Name>sample string 12</Name> <OTABookingNumber>sample string 11</OTABookingNumber> <OrderId>sample string 15</OrderId> <Page>2</Page> <PageSize>3</PageSize> <PhoneNumber>sample string 9</PhoneNumber> <RegOrderId>sample string 16</RegOrderId> <VipID>sample string 7</VipID> </HotelPmsOrderQueryDTO>
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>