POST api/v1/SelfCheckin/SearchFaceForBreakfast
刷脸早餐
请求信息(Request)
URI 参数
None.
Body 参数
人脸图片(base64)
FaceVerifyFaceSearch| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| HotelId |
酒店ID |
integer |
None. |
| Picture |
人脸图片(base64) |
string |
None. |
| SimilarityForBreakfast |
匹配度 |
decimal number |
None. |
请求格式
application/json, text/json
Sample:
{
"HotelId": 1,
"Picture": "sample string 2",
"SimilarityForBreakfast": 3.0
}
application/xml, text/xml
Sample:
<FaceVerifyFaceSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query"> <HotelId>1</HotelId> <Picture>sample string 2</Picture> <SimilarityForBreakfast>3</SimilarityForBreakfast> </FaceVerifyFaceSearch>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfBreakfastRecordDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Data | BreakfastRecordDTO |
None. |
|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{
"Data": {
"ID": 1,
"HotelId": 2,
"HotelName": "sample string 3",
"RoomNumber": "sample string 4",
"GuestId": 5,
"GuestName": "sample string 6",
"Number": 7,
"CreateTime": "2025-11-06T04:11:24.1388667+08:00"
},
"Status": 1,
"Message": "sample string 2",
"Total": 3
}
application/xml, text/xml
Sample:
<RequestResultOfBreakfastRecordDTO6NgmDdgv 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:CreateTime>2025-11-06T04:11:24.1388667+08:00</d2p1:CreateTime>
<d2p1:GuestId>5</d2p1:GuestId>
<d2p1:GuestName>sample string 6</d2p1:GuestName>
<d2p1:HotelId>2</d2p1:HotelId>
<d2p1:HotelName>sample string 3</d2p1:HotelName>
<d2p1:ID>1</d2p1:ID>
<d2p1:Number>7</d2p1:Number>
<d2p1:RoomNumber>sample string 4</d2p1:RoomNumber>
</Data>
</RequestResultOfBreakfastRecordDTO6NgmDdgv>