POST api/hotel/rts/info
获取酒店信息
Request Information
URI Parameters
None.
Body Parameters
HotelInformationRequestName | Description | Type | Additional information |
---|---|---|---|
Language | string |
None. |
|
HotelCodeList | Collection of string |
None. |
|
Source | string |
None. |
|
UserName | string |
None. |
|
Cid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Language": "sample string 1", "HotelCodeList": [ "sample string 1", "sample string 2" ], "Source": "sample string 2", "UserName": "sample string 3", "Cid": "sample string 4" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取酒店信息
ReturnResultOfGetHotelInformationResultName | Description | Type | Additional information |
---|---|---|---|
data | GetHotelInformationResult |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "LanguageCode": "sample string 1", "LanguageName": "sample string 2", "HotelList": [ { "CityCode": "sample string 1", "CityEname": "sample string 2", "CityName": "sample string 3", "CountryCode": "sample string 4", "CountryEname": "sample string 5", "CountryName": "sample string 6", "ItemCode": "sample string 7", "CurrencyCode": "sample string 8", "ItemName": "sample string 9", "StarRating": "sample string 10", "CategoryDesc": "sample string 11", "TotalRoomCount": "sample string 12", "TotalFloorCount": "sample string 13", "PhoneNo": "sample string 14", "FaxNo": "sample string 15", "Email": "sample string 16", "Address": "sample string 17", "ZipCode": "sample string 18", "HomepageUrl": "sample string 19", "RecommendYn": "sample string 20", "ExpertReportYn": "sample string 21", "BackpackRecommendYn": "sample string 22", "BusinessRecommendYn": "sample string 23", "HoneymoonRecommendYn": "sample string 24", "FairRecommendYn": "sample string 25", "ResortRecommendYn": "sample string 26", "LastWriteTime": "sample string 27", "UseYn": "sample string 28", "AdminRemarks": "sample string 29", "ImagesFileList": [ { "DisplayOrder": "sample string 1", "ImageTypeCode": "sample string 2", "ImageTitle": "sample string 3", "ImageDesc": "sample string 4", "ImageFileName": "sample string 5", "MiddleSizeFileName": "sample string 6", "LargeSizeFileName": "sample string 7", "LastWriteTime": "sample string 8", "FileCode": "sample string 9" }, { "DisplayOrder": "sample string 1", "ImageTypeCode": "sample string 2", "ImageTitle": "sample string 3", "ImageDesc": "sample string 4", "ImageFileName": "sample string 5", "MiddleSizeFileName": "sample string 6", "LargeSizeFileName": "sample string 7", "LastWriteTime": "sample string 8", "FileCode": "sample string 9" } ], "LocationList": [ { "LocationCode": "sample string 1", "DisplayOrder": "sample string 2", "LocationName": "sample string 3", "NoramlRemarks": "sample string 4", "GeneralLocationYn": "sample string 5", "LastWriteTime": "sample string 6" }, { "LocationCode": "sample string 1", "DisplayOrder": "sample string 2", "LocationName": "sample string 3", "NoramlRemarks": "sample string 4", "GeneralLocationYn": "sample string 5", "LastWriteTime": "sample string 6" } ], "HotelFacilityList": [ { "FacilityTypeCode": "sample string 1", "FacilityTypeName": "sample string 2", "FacilityCode": "sample string 3", "FacilityName": "sample string 4", "LastWriteTime": "sample string 5", "FirstWriter": "sample string 6" }, { "FacilityTypeCode": "sample string 1", "FacilityTypeName": "sample string 2", "FacilityCode": "sample string 3", "FacilityName": "sample string 4", "LastWriteTime": "sample string 5", "FirstWriter": "sample string 6" } ], "AdditionalReportList": [ { "ReportTypeCode": "sample string 1", "ReportTypeCodeName": "sample string 2", "ReportTypeName": "sample string 3", "ReportTitle": "sample string 4", "ReportDetail": "sample string 5", "LastWriteTime": "sample string 6" }, { "ReportTypeCode": "sample string 1", "ReportTypeCodeName": "sample string 2", "ReportTypeName": "sample string 3", "ReportTitle": "sample string 4", "ReportDetail": "sample string 5", "LastWriteTime": "sample string 6" } ], "AvailableBedList": [ { "BedTypeCode": "sample string 1", "BedTypeName": "sample string 2" }, { "BedTypeCode": "sample string 1", "BedTypeName": "sample string 2" } ], "HotelGroup": { "ChainCode": [ { "BasicCode": "sample string 1", "BasicName": "sample string 2" }, { "BasicCode": "sample string 1", "BasicName": "sample string 2" } ], "TypeCode": [ { "BasicCode": "sample string 1", "BasicName": "sample string 2" }, { "BasicCode": "sample string 1", "BasicName": "sample string 2" } ] } }, { "CityCode": "sample string 1", "CityEname": "sample string 2", "CityName": "sample string 3", "CountryCode": "sample string 4", "CountryEname": "sample string 5", "CountryName": "sample string 6", "ItemCode": "sample string 7", "CurrencyCode": "sample string 8", "ItemName": "sample string 9", "StarRating": "sample string 10", "CategoryDesc": "sample string 11", "TotalRoomCount": "sample string 12", "TotalFloorCount": "sample string 13", "PhoneNo": "sample string 14", "FaxNo": "sample string 15", "Email": "sample string 16", "Address": "sample string 17", "ZipCode": "sample string 18", "HomepageUrl": "sample string 19", "RecommendYn": "sample string 20", "ExpertReportYn": "sample string 21", "BackpackRecommendYn": "sample string 22", "BusinessRecommendYn": "sample string 23", "HoneymoonRecommendYn": "sample string 24", "FairRecommendYn": "sample string 25", "ResortRecommendYn": "sample string 26", "LastWriteTime": "sample string 27", "UseYn": "sample string 28", "AdminRemarks": "sample string 29", "ImagesFileList": [ { "DisplayOrder": "sample string 1", "ImageTypeCode": "sample string 2", "ImageTitle": "sample string 3", "ImageDesc": "sample string 4", "ImageFileName": "sample string 5", "MiddleSizeFileName": "sample string 6", "LargeSizeFileName": "sample string 7", "LastWriteTime": "sample string 8", "FileCode": "sample string 9" }, { "DisplayOrder": "sample string 1", "ImageTypeCode": "sample string 2", "ImageTitle": "sample string 3", "ImageDesc": "sample string 4", "ImageFileName": "sample string 5", "MiddleSizeFileName": "sample string 6", "LargeSizeFileName": "sample string 7", "LastWriteTime": "sample string 8", "FileCode": "sample string 9" } ], "LocationList": [ { "LocationCode": "sample string 1", "DisplayOrder": "sample string 2", "LocationName": "sample string 3", "NoramlRemarks": "sample string 4", "GeneralLocationYn": "sample string 5", "LastWriteTime": "sample string 6" }, { "LocationCode": "sample string 1", "DisplayOrder": "sample string 2", "LocationName": "sample string 3", "NoramlRemarks": "sample string 4", "GeneralLocationYn": "sample string 5", "LastWriteTime": "sample string 6" } ], "HotelFacilityList": [ { "FacilityTypeCode": "sample string 1", "FacilityTypeName": "sample string 2", "FacilityCode": "sample string 3", "FacilityName": "sample string 4", "LastWriteTime": "sample string 5", "FirstWriter": "sample string 6" }, { "FacilityTypeCode": "sample string 1", "FacilityTypeName": "sample string 2", "FacilityCode": "sample string 3", "FacilityName": "sample string 4", "LastWriteTime": "sample string 5", "FirstWriter": "sample string 6" } ], "AdditionalReportList": [ { "ReportTypeCode": "sample string 1", "ReportTypeCodeName": "sample string 2", "ReportTypeName": "sample string 3", "ReportTitle": "sample string 4", "ReportDetail": "sample string 5", "LastWriteTime": "sample string 6" }, { "ReportTypeCode": "sample string 1", "ReportTypeCodeName": "sample string 2", "ReportTypeName": "sample string 3", "ReportTitle": "sample string 4", "ReportDetail": "sample string 5", "LastWriteTime": "sample string 6" } ], "AvailableBedList": [ { "BedTypeCode": "sample string 1", "BedTypeName": "sample string 2" }, { "BedTypeCode": "sample string 1", "BedTypeName": "sample string 2" } ], "HotelGroup": { "ChainCode": [ { "BasicCode": "sample string 1", "BasicName": "sample string 2" }, { "BasicCode": "sample string 1", "BasicName": "sample string 2" } ], "TypeCode": [ { "BasicCode": "sample string 1", "BasicName": "sample string 2" }, { "BasicCode": "sample string 1", "BasicName": "sample string 2" } ] } } ] }, "code": 1, "message": "sample string 2" }