Changes for page 5. GetReservationDetails

Last modified by Giorgi Mdivnishvili on 2024/04/12 19:08

From version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/12 19:05
Change comment: There is no comment for this version
To version 3.1
edited by Giorgi Mdivnishvili
on 2024/04/12 19:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -30,7 +30,7 @@
30 30  == Request Body ==
31 31  
32 32  {{code language="Json"}}
33 -{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"}
33 +{"id":"e5955628-9fbb-4418-89e4-a928a6f92d59"}
34 34  {{/code}}
35 35  
36 36  (% class="wikigeneratedid" id="HRequestBodyexample" %)
... ... @@ -41,293 +41,73 @@
41 41  == Request Body example ==
42 42  
43 43  {{code language="Json"}}
44 -{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"}
44 +{"id":"e5955628-9fbb-4418-89e4-a928a6f92d59"}
45 45  {{/code}}
46 46  
47 47  
48 -== Response ==
48 +== Response example ==
49 49  
50 -{{code language="json"}}
51 -{
52 - "reservation": {
53 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
54 - "rfNumber": "string",
55 - "contactNumber": "string",
56 - "agentName": "string",
57 - "totalPrice": 0,
58 - "agentCommission": 0,
59 - "netPrice": 0,
60 - "currency": "string",
61 - "tourists": [
62 - {
63 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
64 - "gender": "None",
65 - "ageCategory": "Adult",
66 - "firstName": "string",
67 - "lastName": "string",
68 - "birthDate": "2024-04-11T02:39:52.147Z",
69 - "passportNumber": "string",
70 - "passportExpiryDate": "2024-04-11T02:39:52.147Z",
71 - "tin": "string",
72 - "citizenshipCountryCode": "string",
73 - "citizenshipCountryName": "string",
74 - "mobile": "string",
75 - "email": "string",
76 - "arrivalDate": "2024-04-11T02:39:52.147Z",
77 - "arrivalFlightNumber": "string",
78 - "arrivalTerminalCode": "string",
79 - "returnDate": "2024-04-11T02:39:52.147Z",
80 - "returnFlightNumber": "string",
81 - "returnTerminalCode": "string",
82 - "showReturn": true
83 - }
84 - ],
85 - "hotels": [
86 - {
87 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
88 - "hotelName": "string",
89 - "cityName": "string",
90 - "hotelClass": "string",
91 - "checkInDate": "2024-04-11T02:39:52.147Z",
92 - "checkOutDate": "2024-04-11T02:39:52.147Z",
93 - "roomCategoryName": "string",
94 - "placementName": "string",
95 - "mealPlan": "string",
96 - "agentConfirmationNumber": "string"
97 - }
98 - ],
99 - "flights": [
100 - {
101 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
102 - "isArrival": true,
103 - "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
104 - "touristName": "string",
105 - "date": "2024-04-11T02:39:52.147Z",
106 - "departureAirport": "string",
107 - "departureTerminal": "string",
108 - "arrivalAirport": "string",
109 - "arrivalTerminal": "string",
110 - "agentConfirmationNumber": "string",
111 - "bookingConfirmationNumber": "string",
112 - "note": "string"
113 - }
114 - ],
115 - "transfers": [
116 - {
117 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
118 - "transferType": "string",
119 - "vehicleName": "string",
120 - "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
121 - "touristName": "string",
122 - "date": "2024-04-11T02:39:52.147Z",
123 - "fromTerminal": "string",
124 - "fromCityName": "string",
125 - "fromHotelName": "string",
126 - "toHotelName": "string",
127 - "toTerminal": "string",
128 - "toCityName": "string",
129 - "agentConfirmationNumber": "string",
130 - "note": "string"
131 - }
132 - ],
133 - "services": [
134 - {
135 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
136 - "serviceDate": "2024-04-11T02:39:52.147Z",
137 - "serviceName": "string",
138 - "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
139 - "touristName": "string",
140 - "note": "string"
141 - }
142 - ]
143 - }
144 -}
145 -{{/code}}
146 -
147 -
148 -=== Response example ===
149 -
150 150  {{code language="Json"}}
151 151  {
152 152   "reservation": {
153 - "id": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
154 - "rfNumber": "314303 / 104429",
53 + "id": "e5955628-9fbb-4418-89e4-a928a6f92d59",
54 + "rfNumber": "314612 / 104586",
155 155   "contactNumber": "teeeest, for testing purpose !, Contact Number: 597101803",
156 156   "agentName": "Mr. Giorgi Mdivnishvili",
157 - "totalPrice": 782,
57 + "totalPrice": 47,
158 158   "agentCommission": 0,
159 159   "currency": "USD",
160 160   "tourists": [
161 161   {
162 - "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
62 + "id": "69c369ca-cc96-40a3-bc72-914570239d52",
163 163   "gender": "Male",
164 164   "ageCategory": "Adult",
165 - "firstName": "Teeeeest",
166 - "lastName": "Teest",
167 - "birthDate": "1990-09-23T00:00:00.000",
168 - "passportNumber": "1231233",
169 - "passportExpiryDate": "2029-12-23T00:00:00.000",
170 - "citizenshipCountryCode": "GE",
171 - "citizenshipCountryName": "Georgia",
172 - "arrivalDate": "2024-05-17T07:10:00.000",
173 - "arrivalFlightNumber": "FZ1722",
174 - "arrivalTerminalCode": "DXB3",
175 - "returnDate": "2024-05-21T21:25:00.000",
176 - "returnFlightNumber": "FZ1721",
177 - "returnTerminalCode": "DXB3",
65 + "firstName": "Teeeest",
66 + "lastName": "Teeeest",
67 + "passportNumber": "123123",
68 + "passportExpiryDate": "2025-09-23T00:00:00.000",
69 + "citizenshipCountryCode": "KZ",
70 + "citizenshipCountryName": "Kazakhstan",
71 + "arrivalDate": "2024-06-30T00:00:00.000",
72 + "arrivalTerminalCode": "DXB2",
73 + "returnDate": "2024-07-01T00:00:00.000",
74 + "returnTerminalCode": "DXB2",
178 178   "showReturn": true
179 179   },
180 180   {
181 - "id": "27977a19-045e-4990-95a8-fbd7d49083de",
78 + "id": "22c86f25-0914-499e-86e8-f3da7cc1b6f4",
182 182   "gender": "Male",
183 183   "ageCategory": "Adult",
184 - "firstName": "Test",
81 + "firstName": "Teeeest",
185 185   "lastName": "Teeeest",
186 186   "birthDate": "1990-09-23T00:00:00.000",
187 - "passportNumber": "123123",
188 - "passportExpiryDate": "2029-12-23T00:00:00.000",
189 - "citizenshipCountryCode": "GE",
190 - "citizenshipCountryName": "Georgia",
191 - "arrivalDate": "2024-05-17T07:10:00.000",
192 - "arrivalFlightNumber": "FZ1722",
193 - "arrivalTerminalCode": "DXB3",
194 - "returnDate": "2024-05-21T21:25:00.000",
195 - "returnFlightNumber": "FZ1721",
196 - "returnTerminalCode": "DXB3",
84 + "passportNumber": "1231233",
85 + "passportExpiryDate": "2025-12-23T00:00:00.000",
86 + "citizenshipCountryCode": "KZ",
87 + "citizenshipCountryName": "Kazakhstan",
88 + "arrivalDate": "2024-06-30T00:00:00.000",
89 + "arrivalTerminalCode": "DXB2",
90 + "returnDate": "2024-07-01T00:00:00.000",
91 + "returnTerminalCode": "DXB2",
197 197   "showReturn": true
198 198   }
199 199   ],
200 200   "hotels": [
201 201   {
202 - "id": "b768a900-bfc5-4dc4-958a-47a3bf92b6f8",
203 - "hotelName": "Ibis Al Rigga",
97 + "id": "df273eac-855f-40da-b115-258647183adf",
98 + "hotelName": "Royal Continental Hotel",
204 204   "cityName": "Dubai",
205 - "hotelClass": "3",
206 - "checkInDate": "2024-05-17T00:00:00.000",
207 - "checkOutDate": "2024-05-21T00:00:00.000",
208 - "roomCategoryName": "Standard room with 1 double bed",
100 + "hotelClass": "4",
101 + "checkInDate": "2024-06-30T00:00:00.000",
102 + "checkOutDate": "2024-07-01T00:00:00.000",
103 + "roomCategoryName": "Superior King Room",
209 209   "placementName": "DBL",
210 210   "mealPlan": "RO"
211 211   }
212 212   ],
213 - "flights": [
214 - {
215 - "id": "5720af80-17de-4913-94c5-2e019c9fbb9c",
216 - "isArrival": true,
217 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
218 - "touristName": "Teeeeest Teest",
219 - "date": "2024-05-17T07:10:00.000",
220 - "departureAirport": "ALA",
221 - "departureTerminal": "ALA",
222 - "arrivalAirport": "DXB",
223 - "arrivalTerminal": "DXB3",
224 - "note": "Kazunion Block, Baggage Info: 20 Kg Included"
225 - },
226 - {
227 - "id": "81fce7ff-b359-46ea-ae66-1c41af7c347a",
228 - "isArrival": false,
229 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
230 - "touristName": "Teeeeest Teest",
231 - "date": "2024-05-21T21:25:00.000",
232 - "departureAirport": "DXB",
233 - "departureTerminal": "DXB3",
234 - "arrivalAirport": "ALA",
235 - "arrivalTerminal": "ALA",
236 - "note": "Kazunion Block, Baggage Info: 20 Kg Included"
237 - },
238 - {
239 - "id": "215d3de6-8969-4265-97bd-3d716a0d4415",
240 - "isArrival": true,
241 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
242 - "touristName": "Test Teeeest",
243 - "date": "2024-05-17T07:10:00.000",
244 - "departureAirport": "ALA",
245 - "departureTerminal": "ALA",
246 - "arrivalAirport": "DXB",
247 - "arrivalTerminal": "DXB3",
248 - "note": "Kazunion Block, Baggage Info: 20 Kg Included"
249 - },
250 - {
251 - "id": "8c6b26b3-5bb2-4fb9-b89c-2568b1f74b64",
252 - "isArrival": false,
253 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
254 - "touristName": "Test Teeeest",
255 - "date": "2024-05-21T21:25:00.000",
256 - "departureAirport": "DXB",
257 - "departureTerminal": "DXB3",
258 - "arrivalAirport": "ALA",
259 - "arrivalTerminal": "ALA",
260 - "note": "Kazunion Block, Baggage Info: 20 Kg Included"
261 - }
262 - ],
263 - "transfers": [
264 - {
265 - "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
266 - "transferType": "ARRIVAL",
267 - "vehicleName": "GROUP",
268 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
269 - "touristName": "Teeeeest Teest",
270 - "date": "2024-05-17T00:00:00.000",
271 - "fromTerminal": "DXB",
272 - "fromCityName": "Dubai",
273 - "toHotelName": "Ibis Al Rigga",
274 - "toCityName": "Dubai",
275 - "note": "teeeest, for testing purpose !, Contact Number: 597101803"
276 - },
277 - {
278 - "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
279 - "transferType": "DEPARTURE",
280 - "vehicleName": "GROUP",
281 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
282 - "touristName": "Teeeeest Teest",
283 - "date": "2024-05-21T00:00:00.000",
284 - "fromCityName": "Dubai",
285 - "fromHotelName": "Ibis Al Rigga",
286 - "toTerminal": "DXB",
287 - "toCityName": "Dubai"
288 - },
289 - {
290 - "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
291 - "transferType": "ARRIVAL",
292 - "vehicleName": "GROUP",
293 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
294 - "touristName": "Test Teeeest",
295 - "date": "2024-05-17T00:00:00.000",
296 - "fromTerminal": "DXB",
297 - "fromCityName": "Dubai",
298 - "toHotelName": "Ibis Al Rigga",
299 - "toCityName": "Dubai",
300 - "note": "teeeest, for testing purpose !, Contact Number: 597101803"
301 - },
302 - {
303 - "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
304 - "transferType": "DEPARTURE",
305 - "vehicleName": "GROUP",
306 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
307 - "touristName": "Test Teeeest",
308 - "date": "2024-05-21T00:00:00.000",
309 - "fromCityName": "Dubai",
310 - "fromHotelName": "Ibis Al Rigga",
311 - "toTerminal": "DXB",
312 - "toCityName": "Dubai"
313 - }
314 - ],
315 - "services": [
316 - {
317 - "id": "4c5d1e9c-2b87-4ec8-9bd8-96a270419322",
318 - "serviceDate": "2024-05-17T07:10:00.000",
319 - "serviceName": "Insurance",
320 - "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
321 - "touristName": "Test Teeeest"
322 - },
323 - {
324 - "id": "1e1ad6a2-ee59-4c8c-868c-34a25343e7ca",
325 - "serviceDate": "2024-05-17T07:10:00.000",
326 - "serviceName": "Insurance",
327 - "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
328 - "touristName": "Teeeeest Teest"
329 - }
330 - ]
108 + "flights": [],
109 + "transfers": [],
110 + "services": []
331 331   }
332 332  }
333 333  {{/code}}