Changes for page 1. Hotels

Last modified by Giorgi Mdivnishvili on 2024/02/29 10:01

From version 5.1
edited by Giorgi Mdivnishvili
on 2024/02/26 16:03
Change comment: There is no comment for this version
To version 1.1
edited by Giorgi Mdivnishvili
on 2024/02/26 15:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -1. Hotels
1 +Hotels
Content
... ... @@ -11,65 +11,111 @@
11 11  
12 12  Return value example:
13 13  
14 -
15 -{{code language="json"}}
16 16  {
15 +
17 17   "Code": "00",
17 +
18 18   "Message": "",
19 +
19 19   "Timestamp": "2016-06-27T19:20:00.7512185+04:00",
21 +
20 20   "Version": “1.01”,
23 +
21 21   "ResponseID": "b512a117-6745-493d-9fa4-828d79c0df1d",
25 +
22 22   "Data": [
27 +
23 23   {
29 +
24 24   "hotelid": "d6f9299f-5d94-4955-85e7-003e0383023c",
31 +
25 25   "hotelname": "Summer Land Motel - Sharjah",
33 +
26 26   "pricestatus": "ready",
35 +
27 27   "cityid": "f78ac3bc-f040-46d0-8319-2c52083080a6",
37 +
28 28   "cityname": "Sharjah",
39 +
29 29   "districtid": "7ac1bbc8-59ea-4977-b272-ed8553f94f9b",
41 +
30 30   "districtname": "Sharjah",
43 +
31 31   "hasalcohol": false,
45 +
32 32   "hasfreewifi": true,
47 +
33 33   "hasmall": false,
49 +
34 34   "hasmetro": false,
51 +
35 35   "haspool": true,
36 - "hotelclass": "***",
53 +
54 + "hotelclass": "~*~**",
55 +
37 37   "hoteltype": "City",
57 +
38 38   "popular": false,
59 +
39 39   "recommended": false,
61 +
40 40   "priceupdated": "2016-04-24T11:12:09.66",
41 - "note": "Check-in time is 14:00 hrs, Check-out time is 12:00 hrs\r\n\r\n\r\nHotel guests can access the pool and beach of Beach Hotel Sharjah hotel - AED 20.00 ($5.50) for 1 person a day. \r\nHotel guests can access the pool and beach of Sharjah Carlton Hotel hotel - AED 20.00 ($5.50) for 1 person a day. \r\nHotel guests can access the pool and beach of Golden Beach Motel hotel - AED 15.00 ($4.10) for 1 person a day. \r\nThe hotel provides a group transfer to Dubai (Naser Square).\r\n\r\n\r\n",
42 - "imageurl": "https://www.rustaronline.com/images/pages/hotels/thumbnail/F2EB7838-B479-4A81-BE9A-8113E06C70B5.jpg"
63 +
64 + "note": "Check-in time is 14:00 hrs, Check-out time is 12:00 hrs\r\n\r\n\r\nHotel guests can  access the pool and beach of Beach Hotel Sharjah hotel - AED 20.00 ($5.50) for 1 person a day.          \r\nHotel guests can access the pool and beach of Sharjah Carlton Hotel hotel - AED 20.00 ($5.50) for 1 person a day.          \r\nHotel guests can  access the pool and beach of Golden Beach Motel hotel - AED 15.00 ($4.10) for 1 person a day.          \r\nThe hotel provides a group transfer to Dubai (Naser Square).\r\n\r\n\r\n",
65 +
66 + "imageurl": "https:~/~/www.rustaronline.com/images/pages/hotels/thumbnail/F2EB7838-B479-4A81-BE9A-8113E06C70B5.jpg"
67 +
43 43   },
69 +
44 44   {
71 +
45 45   "hotelid": "60d6bb96-a8ba-4c14-908e-7a9227c34bf3",
73 +
46 46   "hotelname": "Burj Al Arab",
75 +
47 47   "pricestatus": "ready",
77 +
48 48   "cityid": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
79 +
49 49   "cityname": "Dubai",
81 +
50 50   "districtid": "e6f59e6e-4747-4c14-9b6b-a709cce36c33",
83 +
51 51   "districtname": "Jumeirah",
85 +
52 52   "hasalcohol": true,
87 +
53 53   "hasfreewifi": true,
89 +
54 54   "hasmall": false,
91 +
55 55   "hasmetro": false,
93 +
56 56   "haspool": true,
57 - "hotelclass": "*****",
95 +
96 + "hotelclass": "~*~*~*~**",
97 +
58 58   "hoteltype": "Beach",
99 +
59 59   "popular": false,
101 +
60 60   "recommended": false,
103 +
61 61   "priceupdated": "2016-06-19T14:17:39.65",
105 +
62 62   "note": null,
107 +
63 63  "imageurl": ""
109 +
64 64   }
111 +
65 65   ]
113 +
66 66  }
67 67  
68 -{{/code}}
69 69  
70 70  
71 71  
72 -
73 73  **hotelid:**              GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel
74 74  
75 75  **hotelname:**        string. Name of the hotel