GET api/v1/Common/GetHotelAgentConfigs?time={time}&nonceStr={nonceStr}
获取预订接口配置
请求信息(Request)
URI 参数
名称 | 描述 | 类型 | 备注 |
---|---|---|---|
time | date |
Required |
|
nonceStr | string |
Required |
Body 参数
None.
响应信息(Response)
资源描述
RequestResultOfListOfHotelAgentConfig名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | HotelAgentConfig 集合 |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Data": [ { "ID": 1, "AgentKey": "sample string 2", "AgentType": "sample string 3", "AgentName": "sample string 4", "HotelName": "sample string 5", "OnLine": true, "ClientId": "sample string 7", "ClientKey": "sample string 8", "ClientSecrect": "sample string 9", "PrivateKey": "sample string 10", "GroupId": "sample string 11", "WxAppid": "sample string 12", "JoinAlliance": true, "DealerId": 1, "MemberTypeHotelCard": { "Normal": { "CardTypeId": "sample string 1", "CardTypeName": "sample string 2", "CardTypeNames": [ "sample string 2" ], "Channel": "sample string 3", "PlanCheckOutHour": 4, "FreeOrderCheckOutHour": 5, "NoShowTime": "00:00:00.1234567", "FreeOrderNoShowTime": "00:00:00.1234567" } } }, { "ID": 1, "AgentKey": "sample string 2", "AgentType": "sample string 3", "AgentName": "sample string 4", "HotelName": "sample string 5", "OnLine": true, "ClientId": "sample string 7", "ClientKey": "sample string 8", "ClientSecrect": "sample string 9", "PrivateKey": "sample string 10", "GroupId": "sample string 11", "WxAppid": "sample string 12", "JoinAlliance": true, "DealerId": 1, "MemberTypeHotelCard": { "Normal": { "CardTypeId": "sample string 1", "CardTypeName": "sample string 2", "CardTypeNames": [ "sample string 2" ], "Channel": "sample string 3", "PlanCheckOutHour": 4, "FreeOrderCheckOutHour": 5, "NoShowTime": "00:00:00.1234567", "FreeOrderNoShowTime": "00:00:00.1234567" } } } ], "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResultOfArrayOfHotelAgentConfigfjRYAsAB 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.HotelAgent"> <d2p1:HotelAgentConfig> <d2p1:AgentKey>sample string 2</d2p1:AgentKey> <d2p1:AgentName>sample string 4</d2p1:AgentName> <d2p1:AgentType>sample string 3</d2p1:AgentType> <d2p1:ClientId>sample string 7</d2p1:ClientId> <d2p1:ClientKey>sample string 8</d2p1:ClientKey> <d2p1:ClientSecrect>sample string 9</d2p1:ClientSecrect> <d2p1:DealerId>1</d2p1:DealerId> <d2p1:GroupId>sample string 11</d2p1:GroupId> <d2p1:HotelName>sample string 5</d2p1:HotelName> <d2p1:ID>1</d2p1:ID> <d2p1:JoinAlliance>true</d2p1:JoinAlliance> <d2p1:MemberTypeHotelCard xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfMemberTypeMemberTypeHotelCarda4_PQ8_PM_S> <d4p1:Key>Normal</d4p1:Key> <d4p1:Value> <d2p1:CardTypeId>sample string 1</d2p1:CardTypeId> <d2p1:CardTypeName>sample string 2</d2p1:CardTypeName> <d2p1:CardTypeNames> <d4p1:string>sample string 2</d4p1:string> </d2p1:CardTypeNames> <d2p1:Channel>sample string 3</d2p1:Channel> <d2p1:FreeOrderCheckOutHour>5</d2p1:FreeOrderCheckOutHour> <d2p1:FreeOrderNoShowTime>PT0.1234567S</d2p1:FreeOrderNoShowTime> <d2p1:NoShowTime>PT0.1234567S</d2p1:NoShowTime> <d2p1:PlanCheckOutHour>4</d2p1:PlanCheckOutHour> </d4p1:Value> </d4p1:KeyValueOfMemberTypeMemberTypeHotelCarda4_PQ8_PM_S> </d2p1:MemberTypeHotelCard> <d2p1:OnLine>true</d2p1:OnLine> <d2p1:PrivateKey>sample string 10</d2p1:PrivateKey> <d2p1:WxAppid>sample string 12</d2p1:WxAppid> </d2p1:HotelAgentConfig> <d2p1:HotelAgentConfig> <d2p1:AgentKey>sample string 2</d2p1:AgentKey> <d2p1:AgentName>sample string 4</d2p1:AgentName> <d2p1:AgentType>sample string 3</d2p1:AgentType> <d2p1:ClientId>sample string 7</d2p1:ClientId> <d2p1:ClientKey>sample string 8</d2p1:ClientKey> <d2p1:ClientSecrect>sample string 9</d2p1:ClientSecrect> <d2p1:DealerId>1</d2p1:DealerId> <d2p1:GroupId>sample string 11</d2p1:GroupId> <d2p1:HotelName>sample string 5</d2p1:HotelName> <d2p1:ID>1</d2p1:ID> <d2p1:JoinAlliance>true</d2p1:JoinAlliance> <d2p1:MemberTypeHotelCard xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfMemberTypeMemberTypeHotelCarda4_PQ8_PM_S> <d4p1:Key>Normal</d4p1:Key> <d4p1:Value> <d2p1:CardTypeId>sample string 1</d2p1:CardTypeId> <d2p1:CardTypeName>sample string 2</d2p1:CardTypeName> <d2p1:CardTypeNames> <d4p1:string>sample string 2</d4p1:string> </d2p1:CardTypeNames> <d2p1:Channel>sample string 3</d2p1:Channel> <d2p1:FreeOrderCheckOutHour>5</d2p1:FreeOrderCheckOutHour> <d2p1:FreeOrderNoShowTime>PT0.1234567S</d2p1:FreeOrderNoShowTime> <d2p1:NoShowTime>PT0.1234567S</d2p1:NoShowTime> <d2p1:PlanCheckOutHour>4</d2p1:PlanCheckOutHour> </d4p1:Value> </d4p1:KeyValueOfMemberTypeMemberTypeHotelCarda4_PQ8_PM_S> </d2p1:MemberTypeHotelCard> <d2p1:OnLine>true</d2p1:OnLine> <d2p1:PrivateKey>sample string 10</d2p1:PrivateKey> <d2p1:WxAppid>sample string 12</d2p1:WxAppid> </d2p1:HotelAgentConfig> </Data> </RequestResultOfArrayOfHotelAgentConfigfjRYAsAB>