6. GetReservationDetails

Version 4.1 by Giorgi Mdivnishvili on 2024/04/11 06:45

Method Description

This method is used to calculate full package with hotels and flights, to recheck prices, availability, prices and cancelation policy before book.

Endpoint URL - [POST]

Request Parameters

None

Request Body

{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"}

Request Body example

{"id":"3882a7ee-fec1-4bd3-9e73-ccc4613be36d"}

Response

{
 "reservation": {
   "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
   "rfNumber": "string",
   "contactNumber": "string",
   "agentName": "string",
   "totalPrice": 0,
   "agentCommission": 0,
   "netPrice": 0,
   "currency": "string",
   "tourists": [
      {
       "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "gender": "None",
       "ageCategory": "Adult",
       "firstName": "string",
       "lastName": "string",
       "birthDate": "2024-04-11T02:39:52.147Z",
       "passportNumber": "string",
       "passportExpiryDate": "2024-04-11T02:39:52.147Z",
       "tin": "string",
       "citizenshipCountryCode": "string",
       "citizenshipCountryName": "string",
       "mobile": "string",
       "email": "string",
       "arrivalDate": "2024-04-11T02:39:52.147Z",
       "arrivalFlightNumber": "string",
       "arrivalTerminalCode": "string",
       "returnDate": "2024-04-11T02:39:52.147Z",
       "returnFlightNumber": "string",
       "returnTerminalCode": "string",
       "showReturn": true
      }
    ],
   "hotels": [
      {
       "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "hotelName": "string",
       "cityName": "string",
       "hotelClass": "string",
       "checkInDate": "2024-04-11T02:39:52.147Z",
       "checkOutDate": "2024-04-11T02:39:52.147Z",
       "roomCategoryName": "string",
       "placementName": "string",
       "mealPlan": "string",
       "agentConfirmationNumber": "string"
      }
    ],
   "flights": [
      {
       "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "isArrival": true,
       "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "touristName": "string",
       "date": "2024-04-11T02:39:52.147Z",
       "departureAirport": "string",
       "departureTerminal": "string",
       "arrivalAirport": "string",
       "arrivalTerminal": "string",
       "agentConfirmationNumber": "string",
       "bookingConfirmationNumber": "string",
       "note": "string"
      }
    ],
   "transfers": [
      {
       "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "transferType": "string",
       "vehicleName": "string",
       "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "touristName": "string",
       "date": "2024-04-11T02:39:52.147Z",
       "fromTerminal": "string",
       "fromCityName": "string",
       "fromHotelName": "string",
       "toHotelName": "string",
       "toTerminal": "string",
       "toCityName": "string",
       "agentConfirmationNumber": "string",
       "note": "string"
      }
    ],
   "services": [
      {
       "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "serviceDate": "2024-04-11T02:39:52.147Z",
       "serviceName": "string",
       "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "touristName": "string",
       "note": "string"
      }
    ]
  }
}

Response example

{
   "reservation": {
       "id": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
       "rfNumber": "314303 / 104429",
       "contactNumber": "teeeest, for testing purpose !, Contact Number: 597101803",
       "agentName": "Mr. Giorgi Mdivnishvili",
       "totalPrice": 782,
       "agentCommission": 0,
       "currency": "USD",
       "tourists": [
            {
               "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "gender": "Male",
               "ageCategory": "Adult",
               "firstName": "Teeeeest",
               "lastName": "Teest",
               "birthDate": "1990-09-23T00:00:00.000",
               "passportNumber": "1231233",
               "passportExpiryDate": "2029-12-23T00:00:00.000",
               "citizenshipCountryCode": "GE",
               "citizenshipCountryName": "Georgia",
               "arrivalDate": "2024-05-17T07:10:00.000",
               "arrivalFlightNumber": "FZ1722",
               "arrivalTerminalCode": "DXB3",
               "returnDate": "2024-05-21T21:25:00.000",
               "returnFlightNumber": "FZ1721",
               "returnTerminalCode": "DXB3",
               "showReturn": true
            },
            {
               "id": "27977a19-045e-4990-95a8-fbd7d49083de",
               "gender": "Male",
               "ageCategory": "Adult",
               "firstName": "Test",
               "lastName": "Teeeest",
               "birthDate": "1990-09-23T00:00:00.000",
               "passportNumber": "123123",
               "passportExpiryDate": "2029-12-23T00:00:00.000",
               "citizenshipCountryCode": "GE",
               "citizenshipCountryName": "Georgia",
               "arrivalDate": "2024-05-17T07:10:00.000",
               "arrivalFlightNumber": "FZ1722",
               "arrivalTerminalCode": "DXB3",
               "returnDate": "2024-05-21T21:25:00.000",
               "returnFlightNumber": "FZ1721",
               "returnTerminalCode": "DXB3",
               "showReturn": true
            }
        ],
       "hotels": [
            {
               "id": "b768a900-bfc5-4dc4-958a-47a3bf92b6f8",
               "hotelName": "Ibis Al Rigga",
               "cityName": "Dubai",
               "hotelClass": "3",
               "checkInDate": "2024-05-17T00:00:00.000",
               "checkOutDate": "2024-05-21T00:00:00.000",
               "roomCategoryName": "Standard room with 1 double bed",
               "placementName": "DBL",
               "mealPlan": "RO"
            }
        ],
       "flights": [
            {
               "id": "5720af80-17de-4913-94c5-2e019c9fbb9c",
               "isArrival": true,
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "touristName": "Teeeeest Teest",
               "date": "2024-05-17T07:10:00.000",
               "departureAirport": "ALA",
               "departureTerminal": "ALA",
               "arrivalAirport": "DXB",
               "arrivalTerminal": "DXB3",
               "note": "Kazunion Block, Baggage Info: 20 Kg Included"
            },
            {
               "id": "81fce7ff-b359-46ea-ae66-1c41af7c347a",
               "isArrival": false,
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "touristName": "Teeeeest Teest",
               "date": "2024-05-21T21:25:00.000",
               "departureAirport": "DXB",
               "departureTerminal": "DXB3",
               "arrivalAirport": "ALA",
               "arrivalTerminal": "ALA",
               "note": "Kazunion Block, Baggage Info: 20 Kg Included"
            },
            {
               "id": "215d3de6-8969-4265-97bd-3d716a0d4415",
               "isArrival": true,
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "touristName": "Test Teeeest",
               "date": "2024-05-17T07:10:00.000",
               "departureAirport": "ALA",
               "departureTerminal": "ALA",
               "arrivalAirport": "DXB",
               "arrivalTerminal": "DXB3",
               "note": "Kazunion Block, Baggage Info: 20 Kg Included"
            },
            {
               "id": "8c6b26b3-5bb2-4fb9-b89c-2568b1f74b64",
               "isArrival": false,
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "touristName": "Test Teeeest",
               "date": "2024-05-21T21:25:00.000",
               "departureAirport": "DXB",
               "departureTerminal": "DXB3",
               "arrivalAirport": "ALA",
               "arrivalTerminal": "ALA",
               "note": "Kazunion Block, Baggage Info: 20 Kg Included"
            }
        ],
       "transfers": [
            {
               "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
               "transferType": "ARRIVAL",
               "vehicleName": "GROUP",
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "touristName": "Teeeeest Teest",
               "date": "2024-05-17T00:00:00.000",
               "fromTerminal": "DXB",
               "fromCityName": "Dubai",
               "toHotelName": "Ibis Al Rigga",
               "toCityName": "Dubai",
               "note": "teeeest, for testing purpose !, Contact Number: 597101803"
            },
            {
               "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
               "transferType": "DEPARTURE",
               "vehicleName": "GROUP",
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "touristName": "Teeeeest Teest",
               "date": "2024-05-21T00:00:00.000",
               "fromCityName": "Dubai",
               "fromHotelName": "Ibis Al Rigga",
               "toTerminal": "DXB",
               "toCityName": "Dubai"
            },
            {
               "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0",
               "transferType": "ARRIVAL",
               "vehicleName": "GROUP",
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "touristName": "Test Teeeest",
               "date": "2024-05-17T00:00:00.000",
               "fromTerminal": "DXB",
               "fromCityName": "Dubai",
               "toHotelName": "Ibis Al Rigga",
               "toCityName": "Dubai",
               "note": "teeeest, for testing purpose !, Contact Number: 597101803"
            },
            {
               "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32",
               "transferType": "DEPARTURE",
               "vehicleName": "GROUP",
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "touristName": "Test Teeeest",
               "date": "2024-05-21T00:00:00.000",
               "fromCityName": "Dubai",
               "fromHotelName": "Ibis Al Rigga",
               "toTerminal": "DXB",
               "toCityName": "Dubai"
            }
        ],
       "services": [
            {
               "id": "4c5d1e9c-2b87-4ec8-9bd8-96a270419322",
               "serviceDate": "2024-05-17T07:10:00.000",
               "serviceName": "Insurance",
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "touristName": "Test Teeeest"
            },
            {
               "id": "1e1ad6a2-ee59-4c8c-868c-34a25343e7ca",
               "serviceDate": "2024-05-17T07:10:00.000",
               "serviceName": "Insurance",
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "touristName": "Teeeeest Teest"
            }
        ]
    }
}

Schema

Success

GetReservationDetailsResponse{

reservationReservationDetails{
idstring($uuid)
rfNumberstring
nullable: true
contactNumberstring
nullable: true
agentNamestring
nullable: true
totalPricenumber($double)
agentCommissionnumber($double)
netPricenumber($double)
nullable: true
currencystring
nullable: true
tourists[
nullable: trueResDetailsTourist{
idstring($uuid)
genderGenderEnumstringEnum:
[ None, Male, Female ]
ageCategoryAgeCategorystringEnum:
[ Adult, Infant, Child ]
firstNamestring
nullable: true
lastNamestring
nullable: true
birthDatestring($date-time)
nullable: true
passportNumberstring
nullable: true
passportExpiryDatestring($date-time)
nullable: true
tinstring
nullable: true
citizenshipCountryCodestring
nullable: true
citizenshipCountryNamestring
nullable: true
mobilestring
nullable: true
emailstring
nullable: true
arrivalDatestring($date-time)
nullable: true
arrivalFlightNumberstring
nullable: true
arrivalTerminalCodestring
nullable: true
returnDatestring($date-time)
nullable: true
returnFlightNumberstring
nullable: true
returnTerminalCodestring
nullable: true
showReturnboolean

}]

hotels[
nullable: trueResDetailsHotel{
idstring($uuid)
hotelNamestring
nullable: true
cityNamestring
nullable: true
hotelClassstring
nullable: true
checkInDatestring($date-time)
checkOutDatestring($date-time)
roomCategoryNamestring
nullable: true
placementNamestring
nullable: true
mealPlanstring
nullable: true
agentConfirmationNumberstring
nullable: true

}]

flights[
nullable: trueResDetailsFlight{
idstring($uuid)
isArrivalboolean
touristIdstring($uuid)
touristNamestring
nullable: true
datestring($date-time)
departureAirportstring
nullable: true
departureTerminalstring
nullable: true
arrivalAirportstring
nullable: true
arrivalTerminalstring
nullable: true
agentConfirmationNumberstring
nullable: true
bookingConfirmationNumberstring
nullable: true
notestring
nullable: true

}]

transfers[
nullable: trueResDetailsTransfer{
idstring($uuid)
transferTypestring
nullable: true
vehicleNamestring
nullable: true
touristIdstring($uuid)
touristNamestring
nullable: true
datestring($date-time)
fromTerminalstring
nullable: true
fromCityNamestring
nullable: true
fromHotelNamestring
nullable: true
toHotelNamestring
nullable: true
toTerminalstring
nullable: true
toCityNamestring
nullable: true
agentConfirmationNumberstring
nullable: true
notestring
nullable: true

}]

services[
nullable: trueResDetailsService{
idstring($uuid)
serviceDatestring($date-time)
serviceNamestring
nullable: true
touristIdstring($uuid)
touristNamestring
nullable: true
notestring
nullable: true

}]

}

}