POST api/v1/SelfCheckin/SendPmsRoomPassword
发送房间门锁密码
请求信息(Request)
URI 参数
None.
Body 参数
DoorPasswordResult名称 | 描述 | 类型 | 备注 |
---|---|---|---|
HotelId | integer |
None. |
|
PmsRegOrderId | string |
None. |
|
Password | string |
None. |
|
ResultId | string |
None. |
|
RoomNumber |
房间号 |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "HotelId": 1, "PmsRegOrderId": "sample string 2", "Password": "sample string 3", "ResultId": "sample string 4", "RoomNumber": "sample string 5" }
application/xml, text/xml
Sample:
<DoorPasswordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <HotelId>1</HotelId> <Password>sample string 3</Password> <PmsRegOrderId>sample string 2</PmsRegOrderId> <ResultId>sample string 4</ResultId> <RoomNumber>sample string 5</RoomNumber> </DoorPasswordResult>
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>