POST api/v1/SelfCheckin/CreateSelfCheckInPay

创建自住支付单

请求信息(Request)

URI 参数

None.

Body 参数

HotelCreatePayDTO
名称描述类型备注
Source

integer

None.

HotelId

酒店id

integer

None.

regOrderId

自助机登记单id

integer

None.

PmsHotelId

PMS酒店id

string

None.

PmsOrderId

PMS预订单id

string

None.

PmsRegOrderId

PMS登记单id

string

None.

PayType

支付类型

PayType

None.

PaySubType

支付子类型

PaySubType

None.

UseType

支付用途

PayUseType

None.

Amount

支付金额

decimal number

None.

Subject

支付主题

string

None.

Remark

备注

string

None.

DayCount

天数

integer

None.

HourCount

时长

integer

None.

ClientIp

客户端ip

string

None.

AllocationId

预留ID

string

None.

PmsNewOrderId

PMS新预订单id

string

None.

PmsNewAllocationId

新预留ID

string

None.

VipID

会员卡ID

string

None.

VipPaySmsCode

会员卡支付短信验证码

string

None.

请求格式

application/json, text/json

Sample:
{
  "Source": 1,
  "HotelId": 1,
  "regOrderId": 1,
  "PmsHotelId": "sample string 2",
  "PmsOrderId": "sample string 3",
  "PmsRegOrderId": "sample string 4",
  "PayType": 0,
  "PaySubType": 0,
  "UseType": 0,
  "Amount": 5.0,
  "Subject": "sample string 6",
  "Remark": "sample string 7",
  "DayCount": 1,
  "HourCount": 1,
  "ClientIp": "sample string 8",
  "AllocationId": "sample string 9",
  "PmsNewOrderId": "sample string 10",
  "PmsNewAllocationId": "sample string 11",
  "VipID": "sample string 12",
  "VipPaySmsCode": "sample string 13"
}

application/xml, text/xml

Sample:
<HotelCreatePayDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
  <AllocationId>sample string 9</AllocationId>
  <Amount>5</Amount>
  <ClientIp>sample string 8</ClientIp>
  <DayCount>1</DayCount>
  <HotelId>1</HotelId>
  <HourCount>1</HourCount>
  <PaySubType>MpPay</PaySubType>
  <PayType>Offline</PayType>
  <PmsHotelId>sample string 2</PmsHotelId>
  <PmsNewAllocationId>sample string 11</PmsNewAllocationId>
  <PmsNewOrderId>sample string 10</PmsNewOrderId>
  <PmsOrderId>sample string 3</PmsOrderId>
  <PmsRegOrderId>sample string 4</PmsRegOrderId>
  <Remark>sample string 7</Remark>
  <Source>1</Source>
  <Subject>sample string 6</Subject>
  <UseType>PmsOrder</UseType>
  <VipID>sample string 12</VipID>
  <VipPaySmsCode>sample string 13</VipPaySmsCode>
  <regOrderId>1</regOrderId>
</HotelCreatePayDTO>

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 'HotelCreatePayDTO'.

响应信息(Response)

资源描述

RequestResultOfSelfCheckInPayDTO
名称描述类型备注
Data

SelfCheckInPayDTO

None.

Status

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

integer

None.

Message

导致失败的相关消息

string

None.

Total

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

integer

None.

响应格式

application/json, text/json

Sample:
{
  "Data": {
    "ID": 1,
    "DealerId": 2,
    "HotelId": 3,
    "HotelName": "sample string 4",
    "GuestName": "sample string 5",
    "UseType": 0,
    "UseTypeName": "sample string 6",
    "PayToPms": true,
    "RegOrderId": 1,
    "PmsOrderId": "sample string 8",
    "PmsAllocationId": "sample string 9",
    "PmsRegOrderId": "sample string 10",
    "RoomNumber": "sample string 11",
    "PmsRoomId": "sample string 12",
    "PmsRoomTypeId": "sample string 13",
    "PmsRoomTypeName": "sample string 14",
    "PmsAcctCode": "sample string 15",
    "Amount": 16.0,
    "PayBody": "sample string 17",
    "PayType": 0,
    "PaySubType": 0,
    "PayTypeName": "sample string 18",
    "PaySubTypeName": "sample string 19",
    "PayedAmount": 20.0,
    "PayedTime": "2025-06-19T22:04:22.0047575+08:00",
    "PayTranId": "sample string 21",
    "RefundTranId": "sample string 22",
    "RefundedAmount": 23.0,
    "RefundedTime": "2025-06-19T22:04:22.0047575+08:00",
    "PmsPaySuccess": true,
    "PmsRefundSuccess": true,
    "Remark": "sample string 26",
    "Status": 0,
    "StatusName": "sample string 27",
    "CreateTime": "2025-06-19T22:04:22.0047575+08:00",
    "OverStayDayCount": 1,
    "ClientIp": "sample string 29",
    "OverStayHourCount": 1,
    "PmsNewOrderId": "sample string 30",
    "PmsNewAllocationId": "sample string 31",
    "VipPayStatus": 32,
    "Source": 1
  },
  "Status": 1,
  "Message": "sample string 2",
  "Total": 3
}

application/xml, text/xml

Sample:
<RequestResultOfSelfCheckInPayDTO6NgmDdgv 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:Amount>16</d2p1:Amount>
    <d2p1:ClientIp>sample string 29</d2p1:ClientIp>
    <d2p1:CreateTime>2025-06-19T22:04:22.0047575+08:00</d2p1:CreateTime>
    <d2p1:DealerId>2</d2p1:DealerId>
    <d2p1:GuestName>sample string 5</d2p1:GuestName>
    <d2p1:HotelId>3</d2p1:HotelId>
    <d2p1:HotelName>sample string 4</d2p1:HotelName>
    <d2p1:ID>1</d2p1:ID>
    <d2p1:OverStayDayCount>1</d2p1:OverStayDayCount>
    <d2p1:OverStayHourCount>1</d2p1:OverStayHourCount>
    <d2p1:PayBody>sample string 17</d2p1:PayBody>
    <d2p1:PaySubType>MpPay</d2p1:PaySubType>
    <d2p1:PaySubTypeName>sample string 19</d2p1:PaySubTypeName>
    <d2p1:PayToPms>true</d2p1:PayToPms>
    <d2p1:PayTranId>sample string 21</d2p1:PayTranId>
    <d2p1:PayType>Offline</d2p1:PayType>
    <d2p1:PayTypeName>sample string 18</d2p1:PayTypeName>
    <d2p1:PayedAmount>20</d2p1:PayedAmount>
    <d2p1:PayedTime>2025-06-19T22:04:22.0047575+08:00</d2p1:PayedTime>
    <d2p1:PmsAcctCode>sample string 15</d2p1:PmsAcctCode>
    <d2p1:PmsAllocationId>sample string 9</d2p1:PmsAllocationId>
    <d2p1:PmsNewAllocationId>sample string 31</d2p1:PmsNewAllocationId>
    <d2p1:PmsNewOrderId>sample string 30</d2p1:PmsNewOrderId>
    <d2p1:PmsOrderId>sample string 8</d2p1:PmsOrderId>
    <d2p1:PmsPaySuccess>true</d2p1:PmsPaySuccess>
    <d2p1:PmsRefundSuccess>true</d2p1:PmsRefundSuccess>
    <d2p1:PmsRegOrderId>sample string 10</d2p1:PmsRegOrderId>
    <d2p1:PmsRoomId>sample string 12</d2p1:PmsRoomId>
    <d2p1:PmsRoomTypeId>sample string 13</d2p1:PmsRoomTypeId>
    <d2p1:PmsRoomTypeName>sample string 14</d2p1:PmsRoomTypeName>
    <d2p1:RefundTranId>sample string 22</d2p1:RefundTranId>
    <d2p1:RefundedAmount>23</d2p1:RefundedAmount>
    <d2p1:RefundedTime>2025-06-19T22:04:22.0047575+08:00</d2p1:RefundedTime>
    <d2p1:RegOrderId>1</d2p1:RegOrderId>
    <d2p1:Remark>sample string 26</d2p1:Remark>
    <d2p1:RoomNumber>sample string 11</d2p1:RoomNumber>
    <d2p1:Source>1</d2p1:Source>
    <d2p1:Status>Create</d2p1:Status>
    <d2p1:StatusName>sample string 27</d2p1:StatusName>
    <d2p1:UseType>PmsOrder</d2p1:UseType>
    <d2p1:UseTypeName>sample string 6</d2p1:UseTypeName>
    <d2p1:VipPayStatus>32</d2p1:VipPayStatus>
  </Data>
</RequestResultOfSelfCheckInPayDTO6NgmDdgv>