POST api/v1/SelfCheckin/OpenLock
在线开锁
请求信息(Request)
URI 参数
None.
Body 参数
OpenLockDto名称 | 描述 | 类型 | 备注 |
---|---|---|---|
HotelId | integer |
None. |
|
RegOrderID |
Pms登记单ID |
globally unique identifier |
None. |
RoomID |
房间ID |
globally unique identifier |
None. |
请求格式
application/json, text/json
Sample:
{ "HotelId": 1, "RegOrderID": "86d4d003-2f79-4954-9ca7-e80e507a34c2", "RoomID": "f6a11f5c-056b-4374-90b7-d14070b0afaa" }
application/xml, text/xml
Sample:
<OpenLockDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.API.Controllers"> <HotelId>1</HotelId> <RegOrderID>86d4d003-2f79-4954-9ca7-e80e507a34c2</RegOrderID> <RoomID>f6a11f5c-056b-4374-90b7-d14070b0afaa</RoomID> </OpenLockDto>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfString名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | string |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Data": "sample string 1", "Status": 2, "Message": "sample string 3", "Total": 4 }
application/xml, text/xml
Sample:
<RequestResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 3</Message> <Status>2</Status> <Total>4</Total> <Data>sample string 1</Data> </RequestResultOfstring>