HOTEL INFO
This method is used to request for hotel descriptive content information based on ‘TraceId’, ‘ResultIndex’ and ‘HotelCode’. HotelDetailsResponse consist of the Hotel images, facilities, attractions, amenities and other basic details of the hotel.
Service URL (REST) to be used:
Hotel Info Request
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | ResultIndex | Integer | Result Index (Index of the hotel for which details are to be fetched) | Mandatory |
2 | SrdvIndex | String | Simple result data Version Index | Mandatory |
3 | SrdvType | String | Simple result data Version type | Mandatory |
4 | HotelCode | String | Unique hotel code Hotel Code for which details are to be fetched | Mandatory |
5 | TraceId | String | Trace ID (Trace Id to be echoed back from search response. This can be used to trace particular search/ book at srdv's end) | Mandatory |
6 | EndUserIp | String | IP Address of the end user | Mandatory |
7 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
8 | UserName | String | Client ID provided to the agency at registration | Mandatory |
9 | Password | String | Client ID provided to the agency at registration | Mandatory |
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | HotelInfoResult | Object | Mandatory | |
2 | Error[] | Array | Error | Mandatory |
2.1 | ErrorCode | String | Error Code | Mandatory |
2.2 | ErrorMessage | String | Error Message | Mandatory |
3 | SrdvType | String | Simple result data Version type | Mandatory |
4 | ResultIndex | Integer | ResultIndex | Mandatory |
5 | SrdvIndex | String | Simple result data Version Index | Mandatory |
6 | TraceId | String | Trace ID | Mandatory |
7 | HotelDetails[] | Array | Hotel Details Array | Mandatory |
7.1 | HotelCode | String | Unique hotel code | Mandatory |
7.2 | HotelName | String | Unique hotel name | Mandatory |
7.3 | StarRating | Enumeration | Star Rating of the hotel - StarRating (All=0, OneStar=1, TwoStar=2, ThreeStar=3, FourStar=4, FiveStar=5) | Mandatory |
7.4 | HotelURL | String | Website url of the hotel | Optional |
7.5 | Description[] | Array | Description of the hotel | Mandatory |
7.5.1 | Name | String | Service Name | Mandatory |
7.5.2 | Detail[] | Array | Details | Optional |
7.6 | PolicyAndInstruction | Array[] | Description of the hotel | Mandatory |
7.6.1 | Name | String | Name | Mandatory |
7.6.2 | Data[] | Array | Details | Optional |
7.6.2.1 | SubName | String | Details | Mandatory |
7.6.2.2 | Detail | Array | Details | Mandatory |
7.7 | Attractions[] | Array | Description of the hotel | Mandatory |
7.8 | HotelFacilities[] | Array | List of hotel facilities | Mandatory |
7.8.1 | Name | String | Mandatory | |
7.8.2 | FontAwesome | String | Mandatory | |
7.8.3 | IcoFont | String | Mandatory | |
7.9 | HotelPolicy | String | Hotel Policy Details | Optional |
7.10 | SpecialInstructions | String | Special Instructions | Optional |
7.11 | HotelPicture | String | Url of hotel image | Optional |
7.12 | Images[] | Array | Mandatory | |
7.13 | Address | String | Address of the hotel | Optional |
7.14 | CountryName | String | Destination country name | Optional |
7.15 | PinCode | String | Pin code of the hotel | Optional |
7.16 | HotelContactNo | String | Contact Number of the hotel | Optional |
7.17 | FaxNumber | String | Fax Number of the hotel | Optional |
7.18 | String | Email address of the hotel | Optional | |
7.19 | Latitude | String | Longitude information of the hotel | Optional |
7.20 | RoomData | String | Room Data | Optional |
7.21 | RoomFacilities | StringList | List of hotel facilities of hotel | Optional |
7.22 | Services | String | Services of the hotel | Optional |