POST api/v1/SelfCheckin/GetPmsHotelOrders

自助机查询pms的订单

请求信息(Request)

URI 参数

None.

Body 参数

SelfCheckinOrderQuery
名称描述类型备注
hotelId

酒店id

integer

None.

hotelDay

酒店营业日

date

None.

idCardNumber

身份证号

string

None.

mobile

手机号码

string

None.

otaBookingNo

ota订单号

string

None.

password

订单密码

string

None.

name

预订人姓名

string

None.

AllocationNum

预留编码(能查到预订单确定的房间)(目前只有奥普系统支持)

string

None.

RegOrderId

换房续住用,当前在住的登记单id

string

None.

请求格式

application/json, text/json

Sample:
{
  "hotelId": 1,
  "hotelDay": "2025-06-19T23:04:01.7235953+08:00",
  "idCardNumber": "sample string 3",
  "mobile": "sample string 4",
  "otaBookingNo": "sample string 5",
  "password": "sample string 6",
  "name": "sample string 7",
  "AllocationNum": "sample string 8",
  "RegOrderId": "sample string 9"
}

application/xml, text/xml

Sample:
<SelfCheckinOrderQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query">
  <AllocationNum>sample string 8</AllocationNum>
  <RegOrderId>sample string 9</RegOrderId>
  <hotelDay>2025-06-19T23:04:01.7235953+08:00</hotelDay>
  <hotelId>1</hotelId>
  <idCardNumber>sample string 3</idCardNumber>
  <mobile>sample string 4</mobile>
  <name>sample string 7</name>
  <otaBookingNo>sample string 5</otaBookingNo>
  <password>sample string 6</password>
</SelfCheckinOrderQuery>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SelfCheckinOrderQuery'.

响应信息(Response)

资源描述

RequestResultOfListOfHotelOrderDTO
名称描述类型备注
Data

HotelOrderDTO 集合

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 for property 'HotelRoom' with type 'WLife.Application.DTOs.HotelRoomDTO'. Path 'Data[0].PreAllocatedRooms[0].RoomType.Combos[0].Products[0]'.

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 for property 'HotelRoom' with type 'WLife.Application.DTOs.HotelRoomDTO'. Path 'Data[0].PreAllocatedRooms[0].RoomType.Combos[0].Products[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[WLife.Application.DTOs.DealSpecificationDTO, WLife.Application, Version=1.0.0.33, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[WLife.Application.DTOs.DealSpecificationDTO, WLife.Application, Version=1.0.0.33, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。