Changes for page 6. GetReservationDetails

Last modified by Giorgi Mdivnishvili on 2024/07/11 10:45

From version 1.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:32
Change comment: There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2024/04/11 06:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -GetReservationDetails
1 +6. GetReservationDetails
Content
... ... @@ -1,32 +1,491 @@
1 1  {{box cssClass="floatinginfobox" title="**Contents**"}}
2 +
3 +
2 2  {{toc/}}
3 3  {{/box}}
4 4  
5 -= Paragraph 1 =
7 += Method Description =
6 6  
7 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
9 +This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book.
8 8  
9 -== Sub-paragraph ==
10 10  
11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
12 +== Endpoint URL - [POST] ==
12 12  
13 -== Sub-paragraph ==
14 +{{info}}
15 +[[https:~~/~~/integration.kazunion.com/api/Reservations/GetReservationDetails>>https://integration.kazunion.com/api/Reservations/GetReservationDetails]]
16 +{{/info}}
14 14  
15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
16 16  
17 -=== Sub-sub paragraph ===
19 +== Request Parameters ==
18 18  
19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
21 +(% class="box infomessage" %)
22 +(((
23 +None
24 +)))
20 20  
21 21  
22 -= Paragraph 2 =
27 +== Request Body ==
23 23  
24 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
29 +{{code language="Json"}}
30 +{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"}
31 +{{/code}}
25 25  
26 -== Sub-paragraph ==
33 +(% class="wikigeneratedid" id="HRequestBodyexample" %)
34 +(% id="cke_bm_10575S" style="display:none" %)
27 27  
28 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
29 29  
30 -== Sub-paragraph ==
31 31  
32 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
38 +== Request Body example ==
39 +
40 +{{code language="Json"}}
41 +{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"}
42 +{{/code}}
43 +
44 +
45 +== Response ==
46 +
47 +{{code language="json"}}
48 +{
49 + "reservation": {
50 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
51 + "rfNumber": "string",
52 + "contactNumber": "string",
53 + "agentName": "string",
54 + "totalPrice": 0,
55 + "agentCommission": 0,
56 + "netPrice": 0,
57 + "currency": "string",
58 + "tourists": [
59 + {
60 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
61 + "gender": "None",
62 + "ageCategory": "Adult",
63 + "firstName": "string",
64 + "lastName": "string",
65 + "birthDate": "2024-04-11T02:39:52.147Z",
66 + "passportNumber": "string",
67 + "passportExpiryDate": "2024-04-11T02:39:52.147Z",
68 + "tin": "string",
69 + "citizenshipCountryCode": "string",
70 + "citizenshipCountryName": "string",
71 + "mobile": "string",
72 + "email": "string",
73 + "arrivalDate": "2024-04-11T02:39:52.147Z",
74 + "arrivalFlightNumber": "string",
75 + "arrivalTerminalCode": "string",
76 + "returnDate": "2024-04-11T02:39:52.147Z",
77 + "returnFlightNumber": "string",
78 + "returnTerminalCode": "string",
79 + "showReturn": true
80 + }
81 + ],
82 + "hotels": [
83 + {
84 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
85 + "hotelName": "string",
86 + "cityName": "string",
87 + "hotelClass": "string",
88 + "checkInDate": "2024-04-11T02:39:52.147Z",
89 + "checkOutDate": "2024-04-11T02:39:52.147Z",
90 + "roomCategoryName": "string",
91 + "placementName": "string",
92 + "mealPlan": "string",
93 + "agentConfirmationNumber": "string"
94 + }
95 + ],
96 + "flights": [
97 + {
98 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
99 + "isArrival": true,
100 + "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
101 + "touristName": "string",
102 + "date": "2024-04-11T02:39:52.147Z",
103 + "departureAirport": "string",
104 + "departureTerminal": "string",
105 + "arrivalAirport": "string",
106 + "arrivalTerminal": "string",
107 + "agentConfirmationNumber": "string",
108 + "bookingConfirmationNumber": "string",
109 + "note": "string"
110 + }
111 + ],
112 + "transfers": [
113 + {
114 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
115 + "transferType": "string",
116 + "vehicleName": "string",
117 + "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
118 + "touristName": "string",
119 + "date": "2024-04-11T02:39:52.147Z",
120 + "fromTerminal": "string",
121 + "fromCityName": "string",
122 + "fromHotelName": "string",
123 + "toHotelName": "string",
124 + "toTerminal": "string",
125 + "toCityName": "string",
126 + "agentConfirmationNumber": "string",
127 + "note": "string"
128 + }
129 + ],
130 + "services": [
131 + {
132 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
133 + "serviceDate": "2024-04-11T02:39:52.147Z",
134 + "serviceName": "string",
135 + "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
136 + "touristName": "string",
137 + "note": "string"
138 + }
139 + ]
140 + }
141 +}
142 +{{/code}}
143 +
144 +
145 +=== Response example ===
146 +
147 +{{code language="Json"}}
148 +{
149 + "reservation": {
150 + "id": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
151 + "rfNumber": "314303 / 104429",
152 + "contactNumber": "teeeest, for testing purpose !, Contact Number: 597101803",
153 + "agentName": "Mr. Giorgi Mdivnishvili",
154 + "totalPrice": 782,
155 + "agentCommission": 0,
156 + "currency": "USD",
157 + "tourists": [
158 + {
159 + "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
160 + "gender": "Male",
161 + "ageCategory": "Adult",
162 + "firstName": "Teeeeest",
163 + "lastName": "Teest",
164 + "birthDate": "1990-09-23T00:00:00.000",
165 + "passportNumber": "1231233",
166 + "passportExpiryDate": "2029-12-23T00:00:00.000",
167 + "citizenshipCountryCode": "GE",
168 + "citizenshipCountryName": "Georgia",
169 + "arrivalDate": "2024-05-17T07:10:00.000",
170 + "arrivalFlightNumber": "FZ1722",
171 + "arrivalTerminalCode": "DXB3",
172 + "returnDate": "2024-05-21T21:25:00.000",
173 + "returnFlightNumber": "FZ1721",
174 + "returnTerminalCode": "DXB3",
175 + "showReturn": true
176 + },
177 + {
178 + "id": "27977a19-045e-4990-95a8-fbd7d49083de",
179 + "gender": "Male",
180 + "ageCategory": "Adult",
181 + "firstName": "Test",
182 + "lastName": "Teeeest",
183 + "birthDate": "1990-09-23T00:00:00.000",
184 + "passportNumber": "123123",
185 + "passportExpiryDate": "2029-12-23T00:00:00.000",
186 + "citizenshipCountryCode": "GE",
187 + "citizenshipCountryName": "Georgia",
188 + "arrivalDate": "2024-05-17T07:10:00.000",
189 + "arrivalFlightNumber": "FZ1722",
190 + "arrivalTerminalCode": "DXB3",
191 + "returnDate": "2024-05-21T21:25:00.000",
192 + "returnFlightNumber": "FZ1721",
193 + "returnTerminalCode": "DXB3",
194 + "showReturn": true
195 + }
196 + ],
197 + "hotels": [
198 + {
199 + "id": "b768a900-bfc5-4dc4-958a-47a3bf92b6f8",
200 + "hotelName": "Ibis Al Rigga",
201 + "cityName": "Dubai",
202 + "hotelClass": "3",
203 + "checkInDate": "2024-05-17T00:00:00.000",
204 + "checkOutDate": "2024-05-21T00:00:00.000",
205 + "roomCategoryName": "Standard room with 1 double bed",
206 + "placementName": "DBL",
207 + "mealPlan": "RO"
208 + }
209 + ],
210 + "flights": [
211 + {
212 + "id": "5720af80-17de-4913-94c5-2e019c9fbb9c",
213 + "isArrival": true,
214 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
215 + "touristName": "Teeeeest Teest",
216 + "date": "2024-05-17T07:10:00.000",
217 + "departureAirport": "ALA",
218 + "departureTerminal": "ALA",
219 + "arrivalAirport": "DXB",
220 + "arrivalTerminal": "DXB3",
221 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
222 + },
223 + {
224 + "id": "81fce7ff-b359-46ea-ae66-1c41af7c347a",
225 + "isArrival": false,
226 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
227 + "touristName": "Teeeeest Teest",
228 + "date": "2024-05-21T21:25:00.000",
229 + "departureAirport": "DXB",
230 + "departureTerminal": "DXB3",
231 + "arrivalAirport": "ALA",
232 + "arrivalTerminal": "ALA",
233 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
234 + },
235 + {
236 + "id": "215d3de6-8969-4265-97bd-3d716a0d4415",
237 + "isArrival": true,
238 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
239 + "touristName": "Test Teeeest",
240 + "date": "2024-05-17T07:10:00.000",
241 + "departureAirport": "ALA",
242 + "departureTerminal": "ALA",
243 + "arrivalAirport": "DXB",
244 + "arrivalTerminal": "DXB3",
245 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
246 + },
247 + {
248 + "id": "8c6b26b3-5bb2-4fb9-b89c-2568b1f74b64",
249 + "isArrival": false,
250 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
251 + "touristName": "Test Teeeest",
252 + "date": "2024-05-21T21:25:00.000",
253 + "departureAirport": "DXB",
254 + "departureTerminal": "DXB3",
255 + "arrivalAirport": "ALA",
256 + "arrivalTerminal": "ALA",
257 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
258 + }
259 + ],
260 + "transfers": [
261 + {
262 + "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
263 + "transferType": "ARRIVAL",
264 + "vehicleName": "GROUP",
265 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
266 + "touristName": "Teeeeest Teest",
267 + "date": "2024-05-17T00:00:00.000",
268 + "fromTerminal": "DXB",
269 + "fromCityName": "Dubai",
270 + "toHotelName": "Ibis Al Rigga",
271 + "toCityName": "Dubai",
272 + "note": "teeeest, for testing purpose !, Contact Number: 597101803"
273 + },
274 + {
275 + "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
276 + "transferType": "DEPARTURE",
277 + "vehicleName": "GROUP",
278 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
279 + "touristName": "Teeeeest Teest",
280 + "date": "2024-05-21T00:00:00.000",
281 + "fromCityName": "Dubai",
282 + "fromHotelName": "Ibis Al Rigga",
283 + "toTerminal": "DXB",
284 + "toCityName": "Dubai"
285 + },
286 + {
287 + "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
288 + "transferType": "ARRIVAL",
289 + "vehicleName": "GROUP",
290 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
291 + "touristName": "Test Teeeest",
292 + "date": "2024-05-17T00:00:00.000",
293 + "fromTerminal": "DXB",
294 + "fromCityName": "Dubai",
295 + "toHotelName": "Ibis Al Rigga",
296 + "toCityName": "Dubai",
297 + "note": "teeeest, for testing purpose !, Contact Number: 597101803"
298 + },
299 + {
300 + "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
301 + "transferType": "DEPARTURE",
302 + "vehicleName": "GROUP",
303 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
304 + "touristName": "Test Teeeest",
305 + "date": "2024-05-21T00:00:00.000",
306 + "fromCityName": "Dubai",
307 + "fromHotelName": "Ibis Al Rigga",
308 + "toTerminal": "DXB",
309 + "toCityName": "Dubai"
310 + }
311 + ],
312 + "services": [
313 + {
314 + "id": "4c5d1e9c-2b87-4ec8-9bd8-96a270419322",
315 + "serviceDate": "2024-05-17T07:10:00.000",
316 + "serviceName": "Insurance",
317 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
318 + "touristName": "Test Teeeest"
319 + },
320 + {
321 + "id": "1e1ad6a2-ee59-4c8c-868c-34a25343e7ca",
322 + "serviceDate": "2024-05-17T07:10:00.000",
323 + "serviceName": "Insurance",
324 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
325 + "touristName": "Teeeeest Teest"
326 + }
327 + ]
328 + }
329 +}
330 +{{/code}}
331 +
332 +
333 +=== Schema ===
334 +
335 +{{success}}
336 +GetReservationDetailsResponse{
337 +
338 +|reservation|ReservationDetails{(((
339 +|id|string($uuid)
340 +|rfNumber|string
341 +nullable: true
342 +|contactNumber|string
343 +nullable: true
344 +|agentName|string
345 +nullable: true
346 +|totalPrice|number($double)
347 +|agentCommission|number($double)
348 +|netPrice|number($double)
349 +nullable: true
350 +|currency|string
351 +nullable: true
352 +|tourists|[
353 +nullable: trueResDetailsTourist{(((
354 +|id|string($uuid)
355 +|gender|GenderEnumstringEnum:
356 +[ None, Male, Female ]
357 +|ageCategory|AgeCategorystringEnum:
358 +[ Adult, Infant, Child ]
359 +|firstName|string
360 +nullable: true
361 +|lastName|string
362 +nullable: true
363 +|birthDate|string($date-time)
364 +nullable: true
365 +|passportNumber|string
366 +nullable: true
367 +|passportExpiryDate|string($date-time)
368 +nullable: true
369 +|tin|string
370 +nullable: true
371 +|citizenshipCountryCode|string
372 +nullable: true
373 +|citizenshipCountryName|string
374 +nullable: true
375 +|mobile|string
376 +nullable: true
377 +|email|string
378 +nullable: true
379 +|arrivalDate|string($date-time)
380 +nullable: true
381 +|arrivalFlightNumber|string
382 +nullable: true
383 +|arrivalTerminalCode|string
384 +nullable: true
385 +|returnDate|string($date-time)
386 +nullable: true
387 +|returnFlightNumber|string
388 +nullable: true
389 +|returnTerminalCode|string
390 +nullable: true
391 +|showReturn|boolean
392 +
393 +}]
394 +)))
395 +|hotels|[
396 +nullable: trueResDetailsHotel{(((
397 +|id|string($uuid)
398 +|hotelName|string
399 +nullable: true
400 +|cityName|string
401 +nullable: true
402 +|hotelClass|string
403 +nullable: true
404 +|checkInDate|string($date-time)
405 +|checkOutDate|string($date-time)
406 +|roomCategoryName|string
407 +nullable: true
408 +|placementName|string
409 +nullable: true
410 +|mealPlan|string
411 +nullable: true
412 +|agentConfirmationNumber|string
413 +nullable: true
414 +
415 +}]
416 +)))
417 +|flights|[
418 +nullable: trueResDetailsFlight{(((
419 +|id|string($uuid)
420 +|isArrival|boolean
421 +|touristId|string($uuid)
422 +|touristName|string
423 +nullable: true
424 +|date|string($date-time)
425 +|departureAirport|string
426 +nullable: true
427 +|departureTerminal|string
428 +nullable: true
429 +|arrivalAirport|string
430 +nullable: true
431 +|arrivalTerminal|string
432 +nullable: true
433 +|agentConfirmationNumber|string
434 +nullable: true
435 +|bookingConfirmationNumber|string
436 +nullable: true
437 +|note|string
438 +nullable: true
439 +
440 +}]
441 +)))
442 +|transfers|[
443 +nullable: trueResDetailsTransfer{(((
444 +|id|string($uuid)
445 +|transferType|string
446 +nullable: true
447 +|vehicleName|string
448 +nullable: true
449 +|touristId|string($uuid)
450 +|touristName|string
451 +nullable: true
452 +|date|string($date-time)
453 +|fromTerminal|string
454 +nullable: true
455 +|fromCityName|string
456 +nullable: true
457 +|fromHotelName|string
458 +nullable: true
459 +|toHotelName|string
460 +nullable: true
461 +|toTerminal|string
462 +nullable: true
463 +|toCityName|string
464 +nullable: true
465 +|agentConfirmationNumber|string
466 +nullable: true
467 +|note|string
468 +nullable: true
469 +
470 +}]
471 +)))
472 +|services|[
473 +nullable: trueResDetailsService{(((
474 +|id|string($uuid)
475 +|serviceDate|string($date-time)
476 +|serviceName|string
477 +nullable: true
478 +|touristId|string($uuid)
479 +|touristName|string
480 +nullable: true
481 +|note|string
482 +nullable: true
483 +
484 +}]
485 +)))
486 +
487 +}
488 +)))
489 +
490 +}
491 +{{/success}}