Changes for page 7. GetReservations

Last modified by Giorgi Mdivnishvili on 2024/08/16 18:29

From version 9.1
edited by Giorgi Mdivnishvili
on 2024/08/16 18:29
Change comment: There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2024/08/16 18:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -47,9 +47,7 @@
47 47  (% id="cke_bm_10575S" style="display:none" %)
48 48  
49 49  
50 -All provided parameters are optional, meaning it is not mandatory to include all of them in the request. You can specify just one parameter as a search criterion if needed
51 51  
52 -
53 53  == Request Body example ==
54 54  
55 55  {{code language="Json"}}
... ... @@ -66,127 +66,6 @@
66 66  
67 67  {{code language="JSON"}}
68 68  {
69 - "pageId": 0,
70 - "pagesCount": 0,
71 - "reservations": [
72 - {
73 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
74 - "number": "string",
75 - "agentConfirmationNumber": "string",
76 - "registrationDate": "2024-08-16T14:13:00.703Z",
77 - "packageType": "Package",
78 - "status": "NotConfirmed",
79 - "statusForAgent": "New",
80 - "departureToCityName": "string",
81 - "departureToAirlineName": "string",
82 - "arrivalTime": "2024-08-16T14:13:00.703Z",
83 - "arrivalCountryName": "string",
84 - "departureTime": "2024-08-16T14:13:00.703Z",
85 - "pickupPeriods": [
86 - "string"
87 - ],
88 - "driverMobile": "string",
89 - "paymentInOutInvCurrency": {
90 - "currencyCode": "string",
91 - "price": 0,
92 - "netPrice": 0,
93 - "paid": 0,
94 - "unpaid": 0,
95 - "comission": 0,
96 - "comissionPercent": 0
97 - },
98 - "paymentInSellCurrency": {
99 - "currencyCode": "string",
100 - "price": 0,
101 - "netPrice": 0,
102 - "paid": 0,
103 - "unpaid": 0,
104 - "comission": 0,
105 - "comissionPercent": 0
106 - },
107 - "showDownloadDocuments": true,
108 - "guideMeetings": [
109 - {
110 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
111 - "meetingStartTime": "2024-08-16T14:13:00.703Z",
112 - "meetingEndTime": "2024-08-16T14:13:00.703Z",
113 - "hotelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
114 - "hotelName": "string",
115 - "guides": [
116 - {
117 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
118 - "name": "string",
119 - "mobile": "string"
120 - }
121 - ]
122 - }
123 - ],
124 - "services": [
125 - {
126 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
127 - "serviceDate": "2024-08-16T14:13:00.703Z",
128 - "type": "Arrival",
129 - "description": "string",
130 - "touristIds": [
131 - "string"
132 - ],
133 - "serviceDetails": [
134 - {
135 - "flightCode": "string",
136 - "airlineName": "string",
137 - "departureTime": "2024-08-16T14:13:00.703Z",
138 - "departureCityName": "string",
139 - "departureAirportCode": "string",
140 - "departureTerminalCode": "string",
141 - "arrivalTime": "2024-08-16T14:13:00.703Z",
142 - "arrivalCityName": "string",
143 - "arrivalAirportCode": "string",
144 - "arrivalTerminalCode": "string",
145 - "isArrivalFlight": true
146 - }
147 - ]
148 - }
149 - ],
150 - "tourists": [
151 - {
152 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
153 - "gender": "None",
154 - "ageCategory": "Adult",
155 - "title": "string",
156 - "firstName": "string",
157 - "lastName": "string",
158 - "birthDate": "2024-08-16",
159 - "passportNumber": "string",
160 - "passportExpiryDate": "2024-08-16",
161 - "tin": "string",
162 - "citizenshipCountryCode": "string",
163 - "canEdit": true
164 - }
165 - ],
166 - "documents": [
167 - {
168 - "type": "None",
169 - "descriptions": [
170 - "string"
171 - ],
172 - "url": "string"
173 - }
174 - ],
175 - "invoiceUrl": "string"
176 - }
177 - ]
178 -}
179 -No links
180 -
181 -POST
182 -/api/Reservations/GetReser
183 -{{/code}}
184 -
185 -
186 -=== Response example ===
187 -
188 -{{code language="Json"}}
189 -{
190 190   "pageId": 0,
191 191   "pagesCount": 0,
192 192   "reservations": [
... ... @@ -354,133 +354,352 @@
354 354  {{/code}}
355 355  
356 356  
234 +=== Response example ===
235 +
236 +{{code language="Json"}}
237 +{
238 + "reservation": {
239 + "id": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
240 + "rfNumber": "314303 / 104429",
241 + "contactNumber": "teeeest, for testing purpose !, Contact Number: 597101803",
242 + "agentName": "Mr. Giorgi Mdivnishvili",
243 + "totalPrice": 782,
244 + "agentCommission": 0,
245 + "currency": "USD",
246 + "tourists": [
247 + {
248 + "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
249 + "gender": "Male",
250 + "ageCategory": "Adult",
251 + "firstName": "Teeeeest",
252 + "lastName": "Teest",
253 + "birthDate": "1990-09-23T00:00:00.000",
254 + "passportNumber": "1231233",
255 + "passportExpiryDate": "2029-12-23T00:00:00.000",
256 + "citizenshipCountryCode": "GE",
257 + "citizenshipCountryName": "Georgia",
258 + "arrivalDate": "2024-05-17T07:10:00.000",
259 + "arrivalFlightNumber": "FZ1722",
260 + "arrivalTerminalCode": "DXB3",
261 + "returnDate": "2024-05-21T21:25:00.000",
262 + "returnFlightNumber": "FZ1721",
263 + "returnTerminalCode": "DXB3",
264 + "showReturn": true
265 + },
266 + {
267 + "id": "27977a19-045e-4990-95a8-fbd7d49083de",
268 + "gender": "Male",
269 + "ageCategory": "Adult",
270 + "firstName": "Test",
271 + "lastName": "Teeeest",
272 + "birthDate": "1990-09-23T00:00:00.000",
273 + "passportNumber": "123123",
274 + "passportExpiryDate": "2029-12-23T00:00:00.000",
275 + "citizenshipCountryCode": "GE",
276 + "citizenshipCountryName": "Georgia",
277 + "arrivalDate": "2024-05-17T07:10:00.000",
278 + "arrivalFlightNumber": "FZ1722",
279 + "arrivalTerminalCode": "DXB3",
280 + "returnDate": "2024-05-21T21:25:00.000",
281 + "returnFlightNumber": "FZ1721",
282 + "returnTerminalCode": "DXB3",
283 + "showReturn": true
284 + }
285 + ],
286 + "hotels": [
287 + {
288 + "id": "b768a900-bfc5-4dc4-958a-47a3bf92b6f8",
289 + "hotelName": "Ibis Al Rigga",
290 + "cityName": "Dubai",
291 + "hotelClass": "3",
292 + "checkInDate": "2024-05-17T00:00:00.000",
293 + "checkOutDate": "2024-05-21T00:00:00.000",
294 + "roomCategoryName": "Standard room with 1 double bed",
295 + "placementName": "DBL",
296 + "mealPlan": "RO"
297 + }
298 + ],
299 + "flights": [
300 + {
301 + "id": "5720af80-17de-4913-94c5-2e019c9fbb9c",
302 + "isArrival": true,
303 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
304 + "touristName": "Teeeeest Teest",
305 + "date": "2024-05-17T07:10:00.000",
306 + "departureAirport": "ALA",
307 + "departureTerminal": "ALA",
308 + "arrivalAirport": "DXB",
309 + "arrivalTerminal": "DXB3",
310 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
311 + },
312 + {
313 + "id": "81fce7ff-b359-46ea-ae66-1c41af7c347a",
314 + "isArrival": false,
315 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
316 + "touristName": "Teeeeest Teest",
317 + "date": "2024-05-21T21:25:00.000",
318 + "departureAirport": "DXB",
319 + "departureTerminal": "DXB3",
320 + "arrivalAirport": "ALA",
321 + "arrivalTerminal": "ALA",
322 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
323 + },
324 + {
325 + "id": "215d3de6-8969-4265-97bd-3d716a0d4415",
326 + "isArrival": true,
327 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
328 + "touristName": "Test Teeeest",
329 + "date": "2024-05-17T07:10:00.000",
330 + "departureAirport": "ALA",
331 + "departureTerminal": "ALA",
332 + "arrivalAirport": "DXB",
333 + "arrivalTerminal": "DXB3",
334 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
335 + },
336 + {
337 + "id": "8c6b26b3-5bb2-4fb9-b89c-2568b1f74b64",
338 + "isArrival": false,
339 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
340 + "touristName": "Test Teeeest",
341 + "date": "2024-05-21T21:25:00.000",
342 + "departureAirport": "DXB",
343 + "departureTerminal": "DXB3",
344 + "arrivalAirport": "ALA",
345 + "arrivalTerminal": "ALA",
346 + "note": "Kazunion Block, Baggage Info: 20 Kg Included"
347 + }
348 + ],
349 + "transfers": [
350 + {
351 + "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
352 + "transferType": "ARRIVAL",
353 + "vehicleName": "GROUP",
354 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
355 + "touristName": "Teeeeest Teest",
356 + "date": "2024-05-17T00:00:00.000",
357 + "fromTerminal": "DXB",
358 + "fromCityName": "Dubai",
359 + "toHotelName": "Ibis Al Rigga",
360 + "toCityName": "Dubai",
361 + "note": "teeeest, for testing purpose !, Contact Number: 597101803"
362 + },
363 + {
364 + "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
365 + "transferType": "DEPARTURE",
366 + "vehicleName": "GROUP",
367 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
368 + "touristName": "Teeeeest Teest",
369 + "date": "2024-05-21T00:00:00.000",
370 + "fromCityName": "Dubai",
371 + "fromHotelName": "Ibis Al Rigga",
372 + "toTerminal": "DXB",
373 + "toCityName": "Dubai"
374 + },
375 + {
376 + "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
377 + "transferType": "ARRIVAL",
378 + "vehicleName": "GROUP",
379 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
380 + "touristName": "Test Teeeest",
381 + "date": "2024-05-17T00:00:00.000",
382 + "fromTerminal": "DXB",
383 + "fromCityName": "Dubai",
384 + "toHotelName": "Ibis Al Rigga",
385 + "toCityName": "Dubai",
386 + "note": "teeeest, for testing purpose !, Contact Number: 597101803"
387 + },
388 + {
389 + "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
390 + "transferType": "DEPARTURE",
391 + "vehicleName": "GROUP",
392 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
393 + "touristName": "Test Teeeest",
394 + "date": "2024-05-21T00:00:00.000",
395 + "fromCityName": "Dubai",
396 + "fromHotelName": "Ibis Al Rigga",
397 + "toTerminal": "DXB",
398 + "toCityName": "Dubai"
399 + }
400 + ],
401 + "services": [
402 + {
403 + "id": "4c5d1e9c-2b87-4ec8-9bd8-96a270419322",
404 + "serviceDate": "2024-05-17T07:10:00.000",
405 + "serviceName": "Insurance",
406 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
407 + "touristName": "Test Teeeest"
408 + },
409 + {
410 + "id": "1e1ad6a2-ee59-4c8c-868c-34a25343e7ca",
411 + "serviceDate": "2024-05-17T07:10:00.000",
412 + "serviceName": "Insurance",
413 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
414 + "touristName": "Teeeeest Teest"
415 + }
416 + ]
417 + }
418 +}
419 +{{/code}}
420 +
421 +
357 357  === Schema ===
358 358  
359 359  {{success}}
360 -GetReservationsResponse{
425 +GetReservationDetailsResponse{
361 361  
362 -|pageId|integer($int32)
363 -|pagesCount|integer($int32)
364 -|reservations|[
365 -nullable: trueReservation{(((
427 +|reservation|ReservationDetails{(((
366 366  |id|string($uuid)
367 -|number|string
429 +|rfNumber|string
368 368  nullable: true
369 -|agentConfirmationNumber|string
431 +|contactNumber|string
370 370  nullable: true
371 -|registrationDate|string($date-time)
372 -|packageType|PackageTypeEnumstringEnum:
373 -[ Package, OnlyHotel, OnlyAvia ]
374 -|status|ReservationStatusEnumstringEnum:
375 -[ NotConfirmed, ConfirmedAndNotPaid, ConfirmedAndPaid, Overdued, Canceled ]
376 -|statusForAgent|StatusForAgentEnumstringEnum:
377 -[ New, OnProcess, Confirmed, Pending, Overdued, Delete, Draft, Canceled ]
378 -|departureToCityName|string
433 +|agentName|string
379 379  nullable: true
380 -|departureToAirlineName|string
435 +|totalPrice|number($double)
436 +|agentCommission|number($double)
437 +|netPrice|number($double)
381 381  nullable: true
382 -|arrivalTime|string($date-time)
383 -|arrivalCountryName|string
439 +|currency|string
384 384  nullable: true
385 -|departureTime|string($date-time)
386 -|pickupPeriods|[
387 -nullable: truestring]
388 -|driverMobile|string
441 +|tourists|[
442 +nullable: trueResDetailsTourist{(((
443 +|id|string($uuid)
444 +|gender|GenderEnumstringEnum:
445 +[ None, Male, Female ]
446 +|ageCategory|AgeCategorystringEnum:
447 +[ Adult, Infant, Child ]
448 +|firstName|string
389 389  nullable: true
390 -|paymentInOutInvCurrency|ReservationPaymentDetails{(((
391 -|currencyCode|string
450 +|lastName|string
392 392  nullable: true
393 -|price|number($double)
394 -|netPrice|number($double)
395 -|paid|number($double)
396 -|unpaid|number($double)
397 -|comission|number($double)
398 -|comissionPercent|number($double)
399 -
400 -}
401 -)))
402 -|paymentInSellCurrency|ReservationPaymentDetails{(((
403 -|currencyCode|string
452 +|birthDate|string($date-time)
404 404  nullable: true
405 -|price|number($double)
406 -|netPrice|number($double)
407 -|paid|number($double)
408 -|unpaid|number($double)
409 -|comission|number($double)
410 -|comissionPercent|number($double)
411 -
412 -}
413 -)))
414 -|showDownloadDocuments|boolean
415 -|guideMeetings|[
416 -nullable: trueGuideMeeting{(((
417 -|id|string($uuid)
418 -|meetingStartTime|string($date-time)
419 -|meetingEndTime|string($date-time)
454 +|passportNumber|string
420 420  nullable: true
421 -|hotelId|string($uuid)
422 -|hotelName|string
456 +|passportExpiryDate|string($date-time)
423 423  nullable: true
424 -|guides|[
425 -nullable: trueGuide{(((
426 -|id|string($uuid)
427 -|name|string
458 +|tin|string
428 428  nullable: true
460 +|citizenshipCountryCode|string
461 +nullable: true
462 +|citizenshipCountryName|string
463 +nullable: true
429 429  |mobile|string
430 430  nullable: true
466 +|email|string
467 +nullable: true
468 +|arrivalDate|string($date-time)
469 +nullable: true
470 +|arrivalFlightNumber|string
471 +nullable: true
472 +|arrivalTerminalCode|string
473 +nullable: true
474 +|returnDate|string($date-time)
475 +nullable: true
476 +|returnFlightNumber|string
477 +nullable: true
478 +|returnTerminalCode|string
479 +nullable: true
480 +|showReturn|boolean
431 431  
432 432  }]
433 433  )))
484 +|hotels|[
485 +nullable: trueResDetailsHotel{(((
486 +|id|string($uuid)
487 +|hotelName|string
488 +nullable: true
489 +|cityName|string
490 +nullable: true
491 +|hotelClass|string
492 +nullable: true
493 +|checkInDate|string($date-time)
494 +|checkOutDate|string($date-time)
495 +|roomCategoryName|string
496 +nullable: true
497 +|placementName|string
498 +nullable: true
499 +|mealPlan|string
500 +nullable: true
501 +|agentConfirmationNumber|string
502 +nullable: true
434 434  
435 435  }]
436 436  )))
437 -|services|[
438 -nullable: trueReservationService{...}]
439 -|tourists|[
440 -nullable: trueReservationTourist{(((
441 -|id|[...]
442 -|gender|GenderEnumstringEnum:
443 -[ None, Male, Female ]
444 -|ageCategory|AgeCategorystringEnum:
445 -[ Adult, Infant, Child ]
446 -|title|string
506 +|flights|[
507 +nullable: trueResDetailsFlight{(((
508 +|id|string($uuid)
509 +|isArrival|boolean
510 +|touristId|string($uuid)
511 +|touristName|string
447 447  nullable: true
448 -|firstName|string
513 +|date|string($date-time)
514 +|departureAirport|string
449 449  nullable: true
450 -|lastName|string
516 +|departureTerminal|string
451 451  nullable: true
452 -|birthDate|string($date)
518 +|arrivalAirport|string
453 453  nullable: true
454 -|passportNumber|string
520 +|arrivalTerminal|string
455 455  nullable: true
456 -|passportExpiryDate|string($date)
522 +|agentConfirmationNumber|string
457 457  nullable: true
458 -|tin|string
524 +|bookingConfirmationNumber|string
459 459  nullable: true
460 -|citizenshipCountryCode|string
526 +|note|string
461 461  nullable: true
462 -|canEdit|boolean
463 463  
464 464  }]
465 465  )))
466 -|documents|[
467 -nullable: trueReservationDocument{(((
468 -|type|ReservationDocumentTypeEnumstringEnum:
469 -[ None, HotelVoucher, Invoice, AviaTicketVoucher, Insurance ]
470 -|descriptions|[
471 -nullable: truestring]
472 -|url|string
531 +|transfers|[
532 +nullable: trueResDetailsTransfer{(((
533 +|id|string($uuid)
534 +|transferType|string
473 473  nullable: true
536 +|vehicleName|string
537 +nullable: true
538 +|touristId|string($uuid)
539 +|touristName|string
540 +nullable: true
541 +|date|string($date-time)
542 +|fromTerminal|string
543 +nullable: true
544 +|fromCityName|string
545 +nullable: true
546 +|fromHotelName|string
547 +nullable: true
548 +|toHotelName|string
549 +nullable: true
550 +|toTerminal|string
551 +nullable: true
552 +|toCityName|string
553 +nullable: true
554 +|agentConfirmationNumber|string
555 +nullable: true
556 +|note|string
557 +nullable: true
474 474  
475 475  }]
476 476  )))
477 -|invoiceUrl|string
561 +|services|[
562 +nullable: trueResDetailsService{(((
563 +|id|string($uuid)
564 +|serviceDate|string($date-time)
565 +|serviceName|string
478 478  nullable: true
567 +|touristId|string($uuid)
568 +|touristName|string
569 +nullable: true
570 +|note|string
571 +nullable: true
479 479  
480 480  }]
481 481  )))
482 482  
483 483  }
577 +)))
578 +
579 +}
484 484  {{/success}}
485 485  
486 486  
... ... @@ -488,59 +488,63 @@
488 488  
489 489  
490 490  (% class="table-bordered" %)
491 -|=**Parameter Name**|=**Type**|=**Description**|=**Example**
492 -|**pageId**|integer|Represents the current page of the results returned. Used for pagination.|0
493 -|**pagesCount**|integer|Indicates the total number of pages available based on the query filters applied.|0
494 -|**reservations**|array|An array containing details of each reservation matching the query parameters. Each entry in this array is a JSON object with multiple fields related to a single reservation.|[ {...}, {...} ]
495 -|**reservations[].id**|string|The unique identifier for the reservation.|"07fff3fd-7ae9-409f-b50b-2cc7a948b8d0"
496 -|**reservations[].number**|string|The reservation number, typically used as a reference by agents and customers.|"110576"
497 -|**reservations[].agentConfirmationNumber**|string|A confirmation number provided by the agent. It can be empty if not applicable.|""
498 -|**reservations[].registrationDate**|datetime|The date and time when the reservation was registered in the system.|"2024-07-11T10:09:52.243"
499 -|**reservations[].packageType**|string|Specifies the type of package associated with the reservation (e.g., "Package").|"Package"
500 -|**reservations[].status**|string|The current status of the reservation (e.g., "Canceled", "Confirmed").|"Canceled"
501 -|**reservations[].statusForAgent**|string|The reservation status as seen from the agent's perspective.|"Canceled"
502 -|**reservations[].departureToAirlineName**|string|The name of the airline for the departure flight. If not applicable, it will be "N/A".|"N/A"
503 -|**reservations[].arrivalTime**|datetime|The scheduled arrival time for the trip.|"2024-09-23T07:15:00.000"
504 -|**reservations[].arrivalCountryName**|string|The name of the country where the trip is scheduled to arrive.|"United Arab Emirates"
505 -|**reservations[].departureTime**|datetime|The scheduled departure time for the return trip.|"2024-09-29T21:30:00.000"
506 -|**reservations[].pickupPeriods**|array|An array of pickup periods, detailing the times when pickup services are scheduled. This can be empty if no pickup services are associated with the reservation.|[]
507 -|**reservations[].driverMobile**|string|The mobile number of the driver assigned for transfer services. It can be "N/A" if not applicable.|"N/A"
508 -|**reservations[].paymentInOutInvCurrency**|object|Contains payment details in the invoice currency.|{...}
509 -|**reservations[].paymentInOutInvCurrency.price**|decimal|Total price in the invoice currency.|952.90
510 -|**reservations[].paymentInOutInvCurrency.netPrice**|decimal|Net price after any discounts in the invoice currency.|952.90
511 -|**reservations[].paymentInOutInvCurrency.paid**|decimal|Amount already paid.|0.00
512 -|**reservations[].paymentInOutInvCurrency.unpaid**|decimal|Amount that is still unpaid.|952.90
513 -|**reservations[].paymentInOutInvCurrency.comission**|decimal|Commission amount, if applicable.|0.00
514 -|**reservations[].paymentInOutInvCurrency.comissionPercent**|integer|Percentage of the commission.|0
515 -|**reservations[].paymentInSellCurrency**|object|Similar to paymentInOutInvCurrency, but in the selling currency.|{...}
516 -|**reservations[].paymentInSellCurrency.currencyCode**|string|The code of the currency (e.g., "USD").|"USD"
517 -|**reservations[].paymentInSellCurrency.price**|decimal|Total price in the selling currency.|952.90
518 -|**reservations[].paymentInSellCurrency.netPrice**|decimal|Net price after any discounts in the selling currency.|952.90
519 -|**reservations[].paymentInSellCurrency.paid**|decimal|Amount already paid.|0.00
520 -|**reservations[].paymentInSellCurrency.unpaid**|decimal|Amount that is still unpaid.|952.90
521 -|**reservations[].paymentInSellCurrency.comission**|decimal|Commission amount, if applicable.|0.00
522 -|**reservations[].paymentInSellCurrency.comissionPercent**|integer|Percentage of the commission.|0
523 -|**reservations[].showDownloadDocuments**|boolean|Indicates whether documents related to the reservation can be downloaded.|false
524 -|**reservations[].guideMeetings**|array|An array of guide meeting details. This can be empty if no guide meetings are associated with the reservation.|[]
525 -|**reservations[].services**|array|An array of services associated with the reservation. Each service contains details such as service type, description, associated tourist IDs, and service-specific details (e.g., flight details).|[ {...}, {...} ]
526 -|**reservations[].services[].id**|string|The unique identifier for the service.|"00000000-0000-0000-0000-000000000000"
527 -|**reservations[].services[].serviceDate**|datetime|The date of the service.|"0001-01-01T00:00:00.000"
528 -|**reservations[].services[].type**|string|The type of service (e.g., "Hotel", "AviaTicket").|"Hotel"
529 -|**reservations[].services[].description**|string|A textual description of the service.|"N/A (N/A*) 23.09.2024 - 29.09.2024 / N/A N/A DBL"
530 -|**reservations[].services[].touristIds**|array|An array of tourist IDs associated with the service.|["29236304-d23c-4999-88ec-76ac4b99b614", "a2e833cf-cdcd-4ff9-9c43-b63066da1f7c"]
531 -|**reservations[].services[].serviceDetails**|array|Additional details specific to the service type, such as flight details.|[ {...}, {...} ]
532 -|**reservations[].tourists**|array|An array of tourists associated with the reservation. Each tourist object contains personal details such as name, gender, passport information, and more.|[ {...}, {...} ]
533 -|**reservations[].tourists[].id**|string|The unique identifier for the tourist.|"29236304-d23c-4999-88ec-76ac4b99b614"
534 -|**reservations[].tourists[].gender**|string|The gender of the tourist.|"Male"
535 -|**reservations[].tourists[].ageCategory**|string|The age category of the tourist (e.g., "Adult").|"Adult"
536 -|**reservations[].tourists[].title**|string|The title of the tourist (e.g., "MR.").|"MR."
537 -|**reservations[].tourists[].firstName**|string|The first name of the tourist.|"Teeeeest"
538 -|**reservations[].tourists[].lastName**|string|The last name of the tourist.|"Teeeest"
539 -|**reservations[].tourists[].birthDate**|datetime|The birth date of the tourist.|"1990-09-23T00:00:00"
540 -|**reservations[].tourists[].passportNumber**|string|The passport number of the tourist.|"1231233"
541 -|**reservations[].tourists[].passportExpiryDate**|datetime|The expiration date of the tourist's passport.|"2029-12-23T00:00:00"
542 -|**reservations[].tourists[].citizenshipCountryCode**|string|The citizenship country code of the tourist.|"N/A"
543 -|**reservations[].tourists[].canEdit**|boolean|Indicates whether the tourist’s details can be edited.|false
544 -|**reservations[].documents**|array|An array containing document details associated with the reservation.|[]
545 -
546 -
587 +|=Parameter|=Value Type|=Description
588 +|id|String|The unique identifier for the reservation, typically a UUID or similar.
589 +|rfNumber|String|The reference number for the reservation, usually generated by the system.
590 +|contactNumber|String|The contact number associated with the reservation, used for communication purposes.
591 +|agentName|String|The name of the agent who made the reservation, useful for tracking and accountability.
592 +|totalPrice|Number|The total price of the reservation, calculated based on the services and products included.
593 +|agentCommission|Number|The commission earned by the agent for this reservation, calculated as a percentage of the total price.
594 +|currency|String|The currency in which the price and commission are denominated, typically in ISO 4217 format (e.g., USD, EUR).
595 +|tourists[].id|String|The unique identifier for each tourist, typically a UUID.
596 +|tourists[].gender|String|The gender of the tourist, usually : [ None, Male, Female ]
597 +|tourists[].ageCategory|String|The age category of the tourist, such as 'Adult', 'Child', or 'Infant'.
598 +|tourists[].firstName|String|The first name of the tourist, as it appears on their passport.
599 +|tourists[].lastName|String|The last name of the tourist, as it appears on their passport.
600 +|tourists[].birthDate|String (Date)|The birth date of the tourist, typically in ISO 8601 format (YYYY-MM-DD).
601 +|tourists[].passportNumber|String|The passport number of the tourist, as it appears on their passport.
602 +|tourists[].passportExpiryDate|String (Date)|The expiry date of the tourist's passport, typically in ISO 8601 format (YYYY-MM-DD).
603 +|tourists[].citizenshipCountryCode|String|The ISO 3166-1 alpha-2 code of the tourist's country of citizenship (e.g., US, GB).
604 +|tourists[].citizenshipCountryName|String|The full name of the tourist's country of citizenship.
605 +|tourists[].arrivalDate|String (Date)|The date of the tourist's arrival, typically in ISO 8601 format (YYYY-MM-DD).
606 +|tourists[].arrivalFlightNumber|String|The flight number for the tourist's arrival, as provided by the airline.
607 +|tourists[].arrivalTerminalCode|String|The terminal code for the tourist's arrival, as provided by the airport.
608 +|tourists[].returnDate|String (Date)|The date of the tourist's return, typically in ISO 8601 format (YYYY-MM-DD).
609 +|tourists[].returnFlightNumber|String|The flight number for the tourist's return, as provided by the airline.
610 +|tourists[].returnTerminalCode|String|The terminal code for the tourist's return, as provided by the airport.
611 +|tourists[].showReturn|Boolean|A boolean indicating whether the return information should be displayed, useful for one-way trips.
612 +|hotels[].id|String|The unique identifier for each hotel booking, typically a UUID or similar.
613 +|hotels[].hotelName|String|The name of the hotel where the booking is made.
614 +|hotels[].cityName|String|The city where the hotel is located.
615 +|hotels[].hotelClass|String|The class or rating of the hotel, such as '3-star', '4-star', '5-star', etc.
616 +|hotels[].checkInDate|String (Date)|The check-in date for the hotel booking, typically in ISO 8601 format (YYYY-MM-DD).
617 +|hotels[].checkOutDate|String (Date)|The check-out date for the hotel booking, typically in ISO 8601 format (YYYY-MM-DD).
618 +|hotels[].roomCategoryName|String|The category of the room booked, such as 'Standard', 'Deluxe', 'Suite', etc.
619 +|hotels[].placementName|String|The type of placement, such as 'DBL' for double room, 'SGL' for single room, etc.
620 +|hotels[].mealPlan|String|The meal plan for the hotel booking, such as 'RO' for Room Only, 'BB' for Bed and Breakfast, etc.
621 +|flights[].id|String|The unique identifier for each flight, typically a UUID or similar.
622 +|flights[].isArrival|Boolean|A boolean indicating whether this flight is an arrival flight, useful for distinguishing between arrival and departure flights.
623 +|flights[].touristId|String|The id of the tourist taking this flight, linking the flight to a specific tourist.
624 +|flights[].touristName|String|The name of the tourist taking this flight, useful for passenger lists.
625 +|flights[].date|String (Date)|The date and time of the flight, typically in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
626 +|flights[].departureAirport|String|The IATA code of the airport from which the flight departs (e.g., JFK, LHR).
627 +|flights[].departureTerminal|String|The terminal from which the flight departs, as provided by the airport.
628 +|flights[].arrivalAirport|String|The IATA code of the airport at which the flight arrives (e.g., JFK, LHR).
629 +|flights[].arrivalTerminal|String|The terminal at which the flight arrives, as provided by the airport.
630 +|flights[].note|String|Any additional notes about the flight, such as 'Overnight flight', 'Meal included', etc.
631 +|transfers[].id|String|The unique identifier for each transfer, typically a UUID or similar.
632 +|transfers[].transferType|String|The type of transfer, such as 'ARRIVAL' for airport to hotel transfers, 'DEPARTURE' for hotel to airport transfers.
633 +|transfers[].vehicleName|String|The name of the vehicle used for the transfer, such as 'Private Car', 'Shared Shuttle', etc.
634 +|transfers[].touristId|String|The id of the tourist using this transfer, linking the transfer to a specific tourist.
635 +|transfers[].touristName|String|The name of the tourist using this transfer, useful for passenger lists.
636 +|transfers[].date|String (Date)|The date and time of the transfer, typically in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
637 +|transfers[].fromTerminal|String|The terminal from which the transfer starts, as provided by the airport or hotel.
638 +|transfers[].fromCityName|String|The city from which the transfer starts.
639 +|transfers[].toHotelName|String|The hotel to which the transfer goes.
640 +|transfers[].toCityName|String|The city to which the transfer goes.
641 +|transfers[].note|String|Any additional notes about the transfer, such as 'Private transfer', 'Shared transfer', etc.
642 +|services[].id|String|The unique identifier for each service, typically a UUID or similar.
643 +|services[].serviceDate|String (Date)|The date and time of the service, typically in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
644 +|services[].serviceName|String|The name of the service, such as insurance in this example.
645 +|services[].touristId|String|The id of the tourist using this service, linking the service to a specific tourist.
646 +|services[].touristName|String|The name of the tourist using this service, useful for booking confirmations.