GET api/v1/SelfCheckin/GetHotelSelfCheckinKeys?dealerId={dealerId}
获取商家的所有酒店对应key
请求信息(Request)
URI 参数
名称 | 描述 | 类型 | 备注 |
---|---|---|---|
dealerId | integer |
Required |
Body 参数
None.
响应信息(Response)
资源描述
RequestResultOfListOfHotelSelfCheckinKeyDTO名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | HotelSelfCheckinKeyDTO 集合 |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Data": [ { "Key": "sample string 1", "HotelId": 2, "HotelName": "sample string 3" }, { "Key": "sample string 1", "HotelId": 2, "HotelName": "sample string 3" } ], "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResultOfArrayOfHotelSelfCheckinKeyDTOXKm9wKGL 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.Query"> <d2p1:HotelSelfCheckinKeyDTO> <d2p1:HotelId>2</d2p1:HotelId> <d2p1:HotelName>sample string 3</d2p1:HotelName> <d2p1:Key>sample string 1</d2p1:Key> </d2p1:HotelSelfCheckinKeyDTO> <d2p1:HotelSelfCheckinKeyDTO> <d2p1:HotelId>2</d2p1:HotelId> <d2p1:HotelName>sample string 3</d2p1:HotelName> <d2p1:Key>sample string 1</d2p1:Key> </d2p1:HotelSelfCheckinKeyDTO> </Data> </RequestResultOfArrayOfHotelSelfCheckinKeyDTOXKm9wKGL>