POST api/v1/SelfCheckin/EditUnlicenCheckInConfig
编辑无证入住配置项
请求信息(Request)
URI 参数
None.
Body 参数
UnlicenCheckInConfigDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| ID |
ID |
integer |
None. |
| AppId |
小程序appid |
string |
None. |
| AppName |
小程序名称 |
string |
None. |
| QrCodeUrl |
二维码连接 |
string |
None. |
| HotelId | integer |
None. |
|
| Created |
创建时间 |
date |
None. |
| Updated |
离开时间 |
date |
None. |
| Name | string |
None. |
|
| IsCancel | boolean |
None. |
请求格式
application/json, text/json
Sample:
{
"ID": 1,
"AppId": "sample string 2",
"AppName": "sample string 3",
"QrCodeUrl": "sample string 4",
"HotelId": 5,
"Created": "2025-11-06T04:12:41.8102917+08:00",
"Updated": "2025-11-06T04:12:41.8102917+08:00",
"Name": "sample string 8",
"IsCancel": true
}
application/xml, text/xml
Sample:
<UnlicenCheckInConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <AppId>sample string 2</AppId> <AppName>sample string 3</AppName> <Created>2025-11-06T04:12:41.8102917+08:00</Created> <HotelId>5</HotelId> <ID>1</ID> <IsCancel>true</IsCancel> <Name>sample string 8</Name> <QrCodeUrl>sample string 4</QrCodeUrl> <Updated>2025-11-06T04:12:41.8102917+08:00</Updated> </UnlicenCheckInConfigDTO>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfBoolean| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Data | boolean |
None. |
|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{
"Data": true,
"Status": 2,
"Message": "sample string 3",
"Total": 4
}
application/xml, text/xml
Sample:
<RequestResultOfboolean 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>true</Data> </RequestResultOfboolean>