Changes for page 7. GetReservations
Last modified by Giorgi Mdivnishvili on 2024/08/16 18:29
From version 6.1
edited by Giorgi Mdivnishvili
on 2024/08/16 18:20
on 2024/08/16 18:20
Change comment:
There is no comment for this version
To version 7.1
edited by Giorgi Mdivnishvili
on 2024/08/16 18:25
on 2024/08/16 18:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -485,64 +485,57 @@ 485 485 == Description == 486 486 487 487 488 -(% class="table-bordered" %) 489 -|=Parameter|=Value Type|=Description 490 -|id|String|The unique identifier for the reservation, typically a UUID or similar. 491 -|rfNumber|String|The reference number for the reservation, usually generated by the system. 492 -|contactNumber|String|The contact number associated with the reservation, used for communication purposes. 493 -|agentName|String|The name of the agent who made the reservation, useful for tracking and accountability. 494 -|totalPrice|Number|The total price of the reservation, calculated based on the services and products included. 495 -|agentCommission|Number|The commission earned by the agent for this reservation, calculated as a percentage of the total price. 496 -|currency|String|The currency in which the price and commission are denominated, typically in ISO 4217 format (e.g., USD, EUR). 497 -|tourists[].id|String|The unique identifier for each tourist, typically a UUID. 498 -|tourists[].gender|String|The gender of the tourist, usually : [ None, Male, Female ] 499 -|tourists[].ageCategory|String|The age category of the tourist, such as 'Adult', 'Child', or 'Infant'. 500 -|tourists[].firstName|String|The first name of the tourist, as it appears on their passport. 501 -|tourists[].lastName|String|The last name of the tourist, as it appears on their passport. 502 -|tourists[].birthDate|String (Date)|The birth date of the tourist, typically in ISO 8601 format (YYYY-MM-DD). 503 -|tourists[].passportNumber|String|The passport number of the tourist, as it appears on their passport. 504 -|tourists[].passportExpiryDate|String (Date)|The expiry date of the tourist's passport, typically in ISO 8601 format (YYYY-MM-DD). 505 -|tourists[].citizenshipCountryCode|String|The ISO 3166-1 alpha-2 code of the tourist's country of citizenship (e.g., US, GB). 506 -|tourists[].citizenshipCountryName|String|The full name of the tourist's country of citizenship. 507 -|tourists[].arrivalDate|String (Date)|The date of the tourist's arrival, typically in ISO 8601 format (YYYY-MM-DD). 508 -|tourists[].arrivalFlightNumber|String|The flight number for the tourist's arrival, as provided by the airline. 509 -|tourists[].arrivalTerminalCode|String|The terminal code for the tourist's arrival, as provided by the airport. 510 -|tourists[].returnDate|String (Date)|The date of the tourist's return, typically in ISO 8601 format (YYYY-MM-DD). 511 -|tourists[].returnFlightNumber|String|The flight number for the tourist's return, as provided by the airline. 512 -|tourists[].returnTerminalCode|String|The terminal code for the tourist's return, as provided by the airport. 513 -|tourists[].showReturn|Boolean|A boolean indicating whether the return information should be displayed, useful for one-way trips. 514 -|hotels[].id|String|The unique identifier for each hotel booking, typically a UUID or similar. 515 -|hotels[].hotelName|String|The name of the hotel where the booking is made. 516 -|hotels[].cityName|String|The city where the hotel is located. 517 -|hotels[].hotelClass|String|The class or rating of the hotel, such as '3-star', '4-star', '5-star', etc. 518 -|hotels[].checkInDate|String (Date)|The check-in date for the hotel booking, typically in ISO 8601 format (YYYY-MM-DD). 519 -|hotels[].checkOutDate|String (Date)|The check-out date for the hotel booking, typically in ISO 8601 format (YYYY-MM-DD). 520 -|hotels[].roomCategoryName|String|The category of the room booked, such as 'Standard', 'Deluxe', 'Suite', etc. 521 -|hotels[].placementName|String|The type of placement, such as 'DBL' for double room, 'SGL' for single room, etc. 522 -|hotels[].mealPlan|String|The meal plan for the hotel booking, such as 'RO' for Room Only, 'BB' for Bed and Breakfast, etc. 523 -|flights[].id|String|The unique identifier for each flight, typically a UUID or similar. 524 -|flights[].isArrival|Boolean|A boolean indicating whether this flight is an arrival flight, useful for distinguishing between arrival and departure flights. 525 -|flights[].touristId|String|The id of the tourist taking this flight, linking the flight to a specific tourist. 526 -|flights[].touristName|String|The name of the tourist taking this flight, useful for passenger lists. 527 -|flights[].date|String (Date)|The date and time of the flight, typically in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). 528 -|flights[].departureAirport|String|The IATA code of the airport from which the flight departs (e.g., JFK, LHR). 529 -|flights[].departureTerminal|String|The terminal from which the flight departs, as provided by the airport. 530 -|flights[].arrivalAirport|String|The IATA code of the airport at which the flight arrives (e.g., JFK, LHR). 531 -|flights[].arrivalTerminal|String|The terminal at which the flight arrives, as provided by the airport. 532 -|flights[].note|String|Any additional notes about the flight, such as 'Overnight flight', 'Meal included', etc. 533 -|transfers[].id|String|The unique identifier for each transfer, typically a UUID or similar. 534 -|transfers[].transferType|String|The type of transfer, such as 'ARRIVAL' for airport to hotel transfers, 'DEPARTURE' for hotel to airport transfers. 535 -|transfers[].vehicleName|String|The name of the vehicle used for the transfer, such as 'Private Car', 'Shared Shuttle', etc. 536 -|transfers[].touristId|String|The id of the tourist using this transfer, linking the transfer to a specific tourist. 537 -|transfers[].touristName|String|The name of the tourist using this transfer, useful for passenger lists. 538 -|transfers[].date|String (Date)|The date and time of the transfer, typically in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). 539 -|transfers[].fromTerminal|String|The terminal from which the transfer starts, as provided by the airport or hotel. 540 -|transfers[].fromCityName|String|The city from which the transfer starts. 541 -|transfers[].toHotelName|String|The hotel to which the transfer goes. 542 -|transfers[].toCityName|String|The city to which the transfer goes. 543 -|transfers[].note|String|Any additional notes about the transfer, such as 'Private transfer', 'Shared transfer', etc. 544 -|services[].id|String|The unique identifier for each service, typically a UUID or similar. 545 -|services[].serviceDate|String (Date)|The date and time of the service, typically in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). 546 -|services[].serviceName|String|The name of the service, such as insurance in this example. 547 -|services[].touristId|String|The id of the tourist using this service, linking the service to a specific tourist. 548 -|services[].touristName|String|The name of the tourist using this service, useful for booking confirmations. 488 +|=**Parameter Name**|=**Type**|=**Description**|=**Example** 489 +|**pageId**|integer|Represents the current page of the results returned. Used for pagination.|0 490 +|**pagesCount**|integer|Indicates the total number of pages available based on the query filters applied.|0 491 +|**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.|[ {...}, {...} ] 492 +|**reservations[].id**|string|The unique identifier for the reservation.|"07fff3fd-7ae9-409f-b50b-2cc7a948b8d0" 493 +|**reservations[].number**|string|The reservation number, typically used as a reference by agents and customers.|"110576" 494 +|**reservations[].agentConfirmationNumber**|string|A confirmation number provided by the agent. It can be empty if not applicable.|"" 495 +|**reservations[].registrationDate**|datetime|The date and time when the reservation was registered in the system.|"2024-07-11T10:09:52.243" 496 +|**reservations[].packageType**|string|Specifies the type of package associated with the reservation (e.g., "Package").|"Package" 497 +|**reservations[].status**|string|The current status of the reservation (e.g., "Canceled", "Confirmed").|"Canceled" 498 +|**reservations[].statusForAgent**|string|The reservation status as seen from the agent's perspective.|"Canceled" 499 +|**reservations[].departureToAirlineName**|string|The name of the airline for the departure flight. If not applicable, it will be "N/A".|"N/A" 500 +|**reservations[].arrivalTime**|datetime|The scheduled arrival time for the trip.|"2024-09-23T07:15:00.000" 501 +|**reservations[].arrivalCountryName**|string|The name of the country where the trip is scheduled to arrive.|"United Arab Emirates" 502 +|**reservations[].departureTime**|datetime|The scheduled departure time for the return trip.|"2024-09-29T21:30:00.000" 503 +|**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.|[] 504 +|**reservations[].driverMobile**|string|The mobile number of the driver assigned for transfer services. It can be "N/A" if not applicable.|"N/A" 505 +|**reservations[].paymentInOutInvCurrency**|object|Contains payment details in the invoice currency.|{...} 506 +|**reservations[].paymentInOutInvCurrency.price**|decimal|Total price in the invoice currency.|952.90 507 +|**reservations[].paymentInOutInvCurrency.netPrice**|decimal|Net price after any discounts in the invoice currency.|952.90 508 +|**reservations[].paymentInOutInvCurrency.paid**|decimal|Amount already paid.|0.00 509 +|**reservations[].paymentInOutInvCurrency.unpaid**|decimal|Amount that is still unpaid.|952.90 510 +|**reservations[].paymentInOutInvCurrency.comission**|decimal|Commission amount, if applicable.|0.00 511 +|**reservations[].paymentInOutInvCurrency.comissionPercent**|integer|Percentage of the commission.|0 512 +|**reservations[].paymentInSellCurrency**|object|Similar to paymentInOutInvCurrency, but in the selling currency.|{...} 513 +|**reservations[].paymentInSellCurrency.currencyCode**|string|The code of the currency (e.g., "USD").|"USD" 514 +|**reservations[].paymentInSellCurrency.price**|decimal|Total price in the selling currency.|952.90 515 +|**reservations[].paymentInSellCurrency.netPrice**|decimal|Net price after any discounts in the selling currency.|952.90 516 +|**reservations[].paymentInSellCurrency.paid**|decimal|Amount already paid.|0.00 517 +|**reservations[].paymentInSellCurrency.unpaid**|decimal|Amount that is still unpaid.|952.90 518 +|**reservations[].paymentInSellCurrency.comission**|decimal|Commission amount, if applicable.|0.00 519 +|**reservations[].paymentInSellCurrency.comissionPercent**|integer|Percentage of the commission.|0 520 +|**reservations[].showDownloadDocuments**|boolean|Indicates whether documents related to the reservation can be downloaded.|false 521 +|**reservations[].guideMeetings**|array|An array of guide meeting details. This can be empty if no guide meetings are associated with the reservation.|[] 522 +|**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).|[ {...}, {...} ] 523 +|**reservations[].services[].id**|string|The unique identifier for the service.|"00000000-0000-0000-0000-000000000000" 524 +|**reservations[].services[].serviceDate**|datetime|The date of the service.|"0001-01-01T00:00:00.000" 525 +|**reservations[].services[].type**|string|The type of service (e.g., "Hotel", "AviaTicket").|"Hotel" 526 +|**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" 527 +|**reservations[].services[].touristIds**|array|An array of tourist IDs associated with the service.|["29236304-d23c-4999-88ec-76ac4b99b614", "a2e833cf-cdcd-4ff9-9c43-b63066da1f7c"] 528 +|**reservations[].services[].serviceDetails**|array|Additional details specific to the service type, such as flight details.|[ {...}, {...} ] 529 +|**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.|[ {...}, {...} ] 530 +|**reservations[].tourists[].id**|string|The unique identifier for the tourist.|"29236304-d23c-4999-88ec-76ac4b99b614" 531 +|**reservations[].tourists[].gender**|string|The gender of the tourist.|"Male" 532 +|**reservations[].tourists[].ageCategory**|string|The age category of the tourist (e.g., "Adult").|"Adult" 533 +|**reservations[].tourists[].title**|string|The title of the tourist (e.g., "MR.").|"MR." 534 +|**reservations[].tourists[].firstName**|string|The first name of the tourist.|"Teeeeest" 535 +|**reservations[].tourists[].lastName**|string|The last name of the tourist.|"Teeeest" 536 +|**reservations[].tourists[].birthDate**|datetime|The birth date of the tourist.|"1990-09-23T00:00:00" 537 +|**reservations[].tourists[].passportNumber**|string|The passport number of the tourist.|"1231233" 538 +|**reservations[].tourists[].passportExpiryDate**|datetime|The expiration date of the tourist's passport.|"2029-12-23T00:00:00" 539 +|**reservations[].tourists[].citizenshipCountryCode**|string|The citizenship country code of the tourist.|"N/A" 540 +|**reservations[].tourists[].canEdit**|boolean|Indicates whether the tourist’s details can be edited.|false 541 +|**reservations[].documents**|array|An array containing document details associated with the reservation.|[]