5. ConfirmCheckout

Version 8.2 by Giorgi Mdivnishvili on 2024/04/11 13:02

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

{
 "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
 "calcTourPackageRequests": [
    {
     "packageId": "string",
     "extraServicePriceCodes": [
       "string"
      ],
     "flightPassengers": [
        {
         "id": "string",
         "selectedForwardBaggageCode": "string",
         "selectedBackwardBaggageCode": "string"
        }
      ],
     "includeInsurance": true,
     "refreshPrices": true
    }
  ],
 "calcOnlyHotelPackageRequests": [
    {
     "packageId": "string",
     "extraServicePriceCodes": [
       "string"
      ],
     "includeInsurance": true,
     "refreshPrices": true
    }
  ],
 "calcOnlyAviaPackageRequests": [
    {
     "packageId": "string",
     "refreshPrices": true,
     "flightPassengers": [
        {
         "id": "string",
         "selectedForwardBaggageCode": "string",
         "selectedBackwardBaggageCode": "string"
        }
      ]
    }
  ],
 "hotels": [
    {
     "hotelPriceId": "string",
     "agentConfirmationNumber": "string",
     "note": "string",
     "touristIds": [
       "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      ]
    }
  ],
 "tourists": [
    {
     "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
     "firstName": "string",
     "lastName": "string",
     "birthDate": "2024-04-11T05:16:08.319Z",
     "passportNumber": "string",
     "passportExpiry": "2024-04-11T05:16:08.319Z",
     "passportIssue": "2024-04-11T05:16:08.319Z",
     "citizenship": "string",
     "tin": "string",
     "isMale": true,
     "flightIds": [
       "string"
      ],
     "arrivalFlightInfo": {
       "flightNumber": "string",
       "terminalCode": "string",
       "date": "2024-04-11T05:16:08.319Z",
       "time": "string"
      },
     "departureFlightInfo": {
       "flightNumber": "string",
       "terminalCode": "string",
       "date": "2024-04-11T05:16:08.319Z",
       "time": "string"
      },
     "selectedVisaId": "string",
     "transfers": [
        {
         "id": "string",
         "selectedTransferPriceId": "string"
        }
      ]
    }
  ],
 "note": "string",
 "contactPhone": "string"
}

Request Body example

{
   "calcTourPackageRequests": [
        {
           "refreshPrices": false,
           "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d",
           "flightPassengers": [
                {
                   "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1",
                   "selectedForwardBaggageCode": "INCLUDED",
                   "selectedBackwardBaggageCode": "INCLUDED"
                },
                {
                   "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2",
                   "selectedForwardBaggageCode": "INCLUDED",
                   "selectedBackwardBaggageCode": "INCLUDED"
                }
            ],
           "extraServicePriceCodes": [],
           "includeInsurance": true
        }
    ],
   "calcOnlyHotelPackageRequests": [],
   "calcOnlyAviaPackageRequests": [],
   "hotels": [
        {
           "note": null,
           "agentConfirmationNumber": null,
           "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
           "touristIds": [
               "27977a19-045e-4990-95a8-fbd7d49083de",
               "0b3cb288-00c5-4c68-946e-87fc5f5d5b82"
            ]
        }
    ],
   "tourists": [
        {
           "id": "27977a19-045e-4990-95a8-fbd7d49083de",
           "isMale": true,
           "firstName": "Test",
           "lastName": "Teeeest",
           "birthDate": "1990-09-23T00:00:00",
           "citizenship": "GE",
           "passportNumber": "123123",
           "passportIssue": "2020-09-23T00:00:00",
           "passportExpiry": "2029-12-23T00:00:00",
           "tin": null,
           "selectedVisaId": "00000000-0000-0000-0000-000000000000",
           "flights": [
                {
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "note": "Kazunion Block, Baggage Info: 20 Kg Included"
                }
            ],
           "flightIds": [
               "53552191-59ea-469d-ae9d-5b848da8839d"
            ],
           "insurancePrice": {
               "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
               "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
               "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "insuranceName": "Medical INS (N10000)",
               "contragentName": "Nomad Insurance",
               "contragentFullName": "Nomad Insurance",
               "actualStartDate": "2024-05-17T00:00:00.000",
               "actualEndDate": "2024-05-21T00:00:00.000",
               "costCurrencyCode": "USD",
               "costAmount": 6.7,
               "priceCurrencyCode": "USD",
               "priceAmount": 11.2,
               "coverageCurrencyCode": "USD",
               "coverageAmount": 10000
            },
           "departureFlightInfo": {
               "date": null,
               "time": null,
               "flightNumber": null,
               "terminalCode": null
            },
           "arrivalFlightInfo": {
               "date": null,
               "time": null,
               "flightNumber": null,
               "terminalCode": null
            },
           "transfers": [
                {
                   "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
                },
                {
                   "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
                }
            ]
        },
        {
           "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
           "isMale": true,
           "firstName": "Teeeeest",
           "lastName": "Teest",
           "birthDate": "1990-09-23T00:00:00",
           "citizenship": "GE",
           "passportNumber": "1231233",
           "passportIssue": "2020-09-23T00:00:00",
           "passportExpiry": "2029-12-23T00:00:00",
           "tin": null,
           "selectedVisaId": "00000000-0000-0000-0000-000000000000",
           "flights": [
                {
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "note": "Kazunion Block, Baggage Info: 20 Kg Included"
                }
            ],
           "flightIds": [
               "53552191-59ea-469d-ae9d-5b848da8839d"
            ],
           "insurancePrice": {
               "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
               "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
               "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "insuranceName": "Medical INS (N10000)",
               "contragentName": "Nomad Insurance",
               "contragentFullName": "Nomad Insurance",
               "actualStartDate": "2024-05-17T00:00:00.000",
               "actualEndDate": "2024-05-21T00:00:00.000",
               "costCurrencyCode": "USD",
               "costAmount": 6.7,
               "priceCurrencyCode": "USD",
               "priceAmount": 11.2,
               "coverageCurrencyCode": "USD",
               "coverageAmount": 10000
            },
           "departureFlightInfo": {
               "date": null,
               "time": null,
               "flightNumber": null,
               "terminalCode": null
            },
           "arrivalFlightInfo": {
               "date": null,
               "time": null,
               "flightNumber": null,
               "terminalCode": null
            },
           "transfers": [
                {
                   "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
                },
                {
                   "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
                }
            ]
        }
    ],
   "note": "teeeest, for testing purpose !",
   "contactPhone": "597101803",
   "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d"
}

Response

{
 "error": true,
 "errorCode": "string",
 "errorDescription": "string",
 "userErrorDescription": "string",
 "priceCurrency": "string",
 "totalPrice": 0,
 "agentCommissionPercent": 0,
 "agentCommissionAmount": 0,
 "requiredCitizenIdentifiers": [
    {
     "countryCode": "string",
     "identifierType": "TIN"
    }
  ],
 "hotels": [
    {
     "hotelPriceId": "string",
     "touristIds": [
       "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      ],
     "errorCode": "string",
     "errorMessage": "string",
     "description": "string"
    }
  ],
 "tourists": [
    {
     "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
     "age": 0,
     "isAdult": true,
     "flightIds": [
       "string"
      ],
     "flights": [
        {
         "flightId": "string",
         "note": "string"
        }
      ],
     "arrivalFlightInfo": {
       "flightNumber": "string",
       "terminalCode": "string",
       "date": "2024-04-11T05:16:08.335Z",
       "time": "string"
      },
     "departureFlightInfo": {
       "flightNumber": "string",
       "terminalCode": "string",
       "date": "2024-04-11T05:16:08.335Z",
       "time": "string"
      },
     "insurancePrice": {
       "insuranceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "insuranceServiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "insurancePriceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
       "insuranceName": "string",
       "insuranceDescription": "string",
       "contragentName": "string",
       "contragentFullName": "string",
       "actualStartDate": "2024-04-11T05:16:08.335Z",
       "actualEndDate": "2024-04-11T05:16:08.335Z",
       "costCurrencyCode": "string",
       "costAmount": 0,
       "priceCurrencyCode": "string",
       "priceAmount": 0,
       "coverageCurrencyCode": "string",
       "coverageAmount": 0
      },
     "selectedVisaId": "string",
     "transfers": [
        {
         "id": "string",
         "type": "Arrival",
         "flightId": "string",
         "flightInfo": {
           "flightNumber": "string",
           "terminalCode": "string",
           "date": "2024-04-11T05:16:08.335Z",
           "time": "string"
          },
         "checkInHotelId": "string",
         "checkOutHotelId": "string",
         "selectedTransferPriceId": "string",
         "transferPrices": [
            {
             "id": "string",
             "name": "string",
             "adultPlaces": 0,
             "childPlaces": 0,
             "perPersonPrice": true,
             "adultPrice": 0,
             "childPrice": 0
            }
          ]
        }
      ],
     "errorCode": "string",
     "errorMessage": "string",
     "description": "string"
    }
  ],
 "visas": [
    {
     "prid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
     "prName": "string",
     "prValue": 0,
     "sortingOrder": 0
    }
  ],
 "terminals": [
    {
     "terminalCode": "string",
     "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
     "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
     "terminalName": "string",
     "countryCode": "string",
     "note": "string"
    }
  ],
 "containsError": true,
 "refreshPriceResult": "Success",
 "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
 "reservationDetailsUnavailable": true
}

Response example

{
   "priceCurrency": "USD",
   "totalPrice": 782,
   "agentCommissionPercent": 0.00,
   "agentCommissionAmount": 0,
   "requiredCitizenIdentifiers": [
        {
           "countryCode": "KZ",
           "identifierType": "TIN"
        },
        {
           "countryCode": "AZ",
           "identifierType": "FIN"
        }
    ],
   "hotels": [
        {
           "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
           "touristIds": [
               "27977a19-045e-4990-95a8-fbd7d49083de",
               "0b3cb288-00c5-4c68-946e-87fc5f5d5b82"
            ],
           "description": "Ibis Al Rigga"
        }
    ],
   "tourists": [
        {
           "id": "27977a19-045e-4990-95a8-fbd7d49083de",
           "age": 33,
           "isAdult": true,
           "flightIds": [
               "53552191-59ea-469d-ae9d-5b848da8839d"
            ],
           "flights": [
                {
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "note": "Kazunion Block, Baggage Info: 20 Kg Included"
                }
            ],
           "insurancePrice": {
               "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
               "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
               "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
               "touristId": "27977a19-045e-4990-95a8-fbd7d49083de",
               "insuranceName": "Medical INS (N10000)",
               "contragentName": "Nomad Insurance",
               "contragentFullName": "Nomad Insurance",
               "actualStartDate": "2024-05-17T00:00:00.000",
               "actualEndDate": "2024-05-21T00:00:00.000",
               "costCurrencyCode": "USD",
               "costAmount": 6.70,
               "priceCurrencyCode": "USD",
               "priceAmount": 11.20,
               "coverageCurrencyCode": "USD",
               "coverageAmount": 10000.0000
            },
           "selectedVisaId": "00000000-0000-0000-0000-000000000000",
           "transfers": [
                {
                   "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
                   "type": "Arrival",
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                   "transferPrices": [
                        {
                           "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                           "name": "GROUP",
                           "adultPlaces": 1,
                           "childPlaces": 1,
                           "perPersonPrice": true,
                           "adultPrice": 0,
                           "childPrice": 0
                        },
                        {
                           "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
                           "name": "MINIVAN",
                           "adultPlaces": 5,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 45.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
                           "name": "TOYOTA HIACE",
                           "adultPlaces": 9,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 50.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
                           "name": "HIGER BUS (27 SEATERS)",
                           "adultPlaces": 27,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 85.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
                           "name": "HIGER 53",
                           "adultPlaces": 51,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 120.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
                           "name": "MERCEDES S CLASS 400",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
                           "name": "MERCEDES V CLASS",
                           "adultPlaces": 7,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
                           "name": "MERCEDES S CLASS 500",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 165.00000000,
                           "childPrice": 0
                        }
                    ]
                },
                {
                   "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
                   "type": "Departure",
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                   "transferPrices": [
                        {
                           "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                           "name": "GROUP",
                           "adultPlaces": 1,
                           "childPlaces": 1,
                           "perPersonPrice": true,
                           "adultPrice": 0,
                           "childPrice": 0
                        },
                        {
                           "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
                           "name": "MINIVAN",
                           "adultPlaces": 5,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 45.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
                           "name": "TOYOTA HIACE",
                           "adultPlaces": 9,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 50.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
                           "name": "HIGER BUS (27 SEATERS)",
                           "adultPlaces": 27,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 85.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
                           "name": "HIGER 53",
                           "adultPlaces": 51,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 120.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
                           "name": "MERCEDES S CLASS 400",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
                           "name": "MERCEDES V CLASS",
                           "adultPlaces": 7,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
                           "name": "MERCEDES S CLASS 500",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 165.00000000,
                           "childPrice": 0
                        }
                    ]
                }
            ],
           "description": "Test Teeeest"
        },
        {
           "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
           "age": 33,
           "isAdult": true,
           "flightIds": [
               "53552191-59ea-469d-ae9d-5b848da8839d"
            ],
           "flights": [
                {
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "note": "Kazunion Block, Baggage Info: 20 Kg Included"
                }
            ],
           "insurancePrice": {
               "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef",
               "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac",
               "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c",
               "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
               "insuranceName": "Medical INS (N10000)",
               "contragentName": "Nomad Insurance",
               "contragentFullName": "Nomad Insurance",
               "actualStartDate": "2024-05-17T00:00:00.000",
               "actualEndDate": "2024-05-21T00:00:00.000",
               "costCurrencyCode": "USD",
               "costAmount": 6.70,
               "priceCurrencyCode": "USD",
               "priceAmount": 11.20,
               "coverageCurrencyCode": "USD",
               "coverageAmount": 10000.0000
            },
           "selectedVisaId": "00000000-0000-0000-0000-000000000000",
           "transfers": [
                {
                   "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
                   "type": "Arrival",
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "checkInHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                   "transferPrices": [
                        {
                           "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                           "name": "GROUP",
                           "adultPlaces": 1,
                           "childPlaces": 1,
                           "perPersonPrice": true,
                           "adultPrice": 0,
                           "childPrice": 0
                        },
                        {
                           "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
                           "name": "MINIVAN",
                           "adultPlaces": 5,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 45.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
                           "name": "TOYOTA HIACE",
                           "adultPlaces": 9,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 50.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
                           "name": "HIGER BUS (27 SEATERS)",
                           "adultPlaces": 27,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 85.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
                           "name": "HIGER 53",
                           "adultPlaces": 51,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 120.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
                           "name": "MERCEDES S CLASS 400",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
                           "name": "MERCEDES V CLASS",
                           "adultPlaces": 7,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
                           "name": "MERCEDES S CLASS 500",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 165.00000000,
                           "childPrice": 0
                        }
                    ]
                },
                {
                   "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
                   "type": "Departure",
                   "flightId": "53552191-59ea-469d-ae9d-5b848da8839d",
                   "checkOutHotelId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
                   "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                   "transferPrices": [
                        {
                           "id": "a9252005-0a92-4ed1-9603-0f2f14295c29",
                           "name": "GROUP",
                           "adultPlaces": 1,
                           "childPlaces": 1,
                           "perPersonPrice": true,
                           "adultPrice": 0,
                           "childPrice": 0
                        },
                        {
                           "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
                           "name": "MINIVAN",
                           "adultPlaces": 5,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 45.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
                           "name": "TOYOTA HIACE",
                           "adultPlaces": 9,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 50.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
                           "name": "HIGER BUS (27 SEATERS)",
                           "adultPlaces": 27,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 85.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
                           "name": "HIGER 53",
                           "adultPlaces": 51,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 120.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
                           "name": "MERCEDES S CLASS 400",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
                           "name": "MERCEDES V CLASS",
                           "adultPlaces": 7,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 140.00000000,
                           "childPrice": 0
                        },
                        {
                           "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
                           "name": "MERCEDES S CLASS 500",
                           "adultPlaces": 3,
                           "childPlaces": 0,
                           "perPersonPrice": false,
                           "adultPrice": 165.00000000,
                           "childPrice": 0
                        }
                    ]
                }
            ],
           "description": "Teeeeest Teest"
        }
    ],
   "visas": [
        {
           "prid": "00000000-0000-0000-0000-000000000000",
           "prName": "WITHOUT VISA",
           "prValue": 0.00000000,
           "sortingOrder": 4
        },
        {
           "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b",
           "prName": "TOURIST VISA",
           "prValue": 80.01000000,
           "sortingOrder": 2
        },
        {
           "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb",
           "prName": "SERVICE VISA",
           "prValue": 120.08000000,
           "sortingOrder": 3
        }
    ],
   "terminals": [
        {
           "terminalCode": "DXB2",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
           "terminalName": "DXB2",
           "countryCode": "AE"
        },
        {
           "terminalCode": "DXB3",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
           "terminalName": "DXB3",
           "countryCode": "AE"
        },
        {
           "terminalCode": "ETD",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
           "terminalName": "Etihad Main Office Dubai",
           "countryCode": "AE",
           "note": "Noor Islamic Bank MS"
        },
        {
           "terminalCode": "XGD",
           "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
           "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf",
           "terminalName": "Dnata - Clock Tower",
           "countryCode": "AE"
        },
        {
           "terminalCode": "Etihad Bus Station",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
           "terminalName": "Etihad Bus Station",
           "countryCode": "AE"
        },
        {
           "terminalCode": "DXB1",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
           "terminalName": "DXB1",
           "countryCode": "AE"
        },
        {
           "terminalCode": "DWC",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444",
           "terminalName": "DWC",
           "countryCode": "AE",
           "note": "Al Maktoum intl. airport"
        },
        {
           "terminalCode": "DXB",
           "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
           "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
           "terminalName": "DXB",
           "countryCode": "AE"
        },
        {
           "terminalCode": "SHJ",
           "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
           "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d",
           "terminalName": "SHJ",
           "countryCode": "AE"
        },
        {
           "terminalCode": "AUH",
           "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
           "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
           "terminalName": "AUH",
           "countryCode": "AE"
        },
        {
           "terminalCode": "QIW",
           "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88",
           "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94",
           "terminalName": "Um Al Quwain Terminal ",
           "countryCode": "AE"
        },
        {
           "terminalCode": "AUH3",
           "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
           "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
           "terminalName": "AUH3",
           "countryCode": "AE"
        },
        {
           "terminalCode": "QAJ",
           "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d",
           "districtUID": "70e57708-9de2-4505-b550-f4627ae40877",
           "terminalName": "Ajman Terminal ",
           "countryCode": "AE"
        },
        {
           "terminalCode": "RKT",
           "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b",
           "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42",
           "terminalName": "Ras Al Khaimah Terminal ",
           "countryCode": "AE"
        },
        {
           "terminalCode": "FJR",
           "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222",
           "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82",
           "terminalName": "Fujairah Terminal ",
           "countryCode": "AE"
        }
    ],
   "containsError": false,
   "refreshPriceResult": "Success",
   "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d",
   "reservationDetailsUnavailable": false,
   "error": false
}

Schema

Success

CalcOnlyHotelPackageResponse{

errorboolean
errorCodestring
nullable: true
errorDescriptionstring
nullable: true
userErrorDescriptionstring
nullable: true
packageOnlyHotelPackage{
idstring
nullable: true
priceCurrencystring
nullable: true
totalPricenumber($double)
agentCommissionPercentnumber($double)
agentCommissionAmountnumber($double)
hotelPackageHotel{
hotelPriceIdstring
nullable: true
providerIdinteger($int32)
hotelNamestring
nullable: true
hotelCodestring
nullable: true
nigthsinteger($int32)
mealPlanstring
nullable: true
hotelClassstring
nullable: true
availabilityTypeRoomAvailabilityTypeEnumstringEnum:
[ OnRequest, FreeSale, StopSale ]
availableRoomsCountinteger($int32)
fewRoomsboolean
roomCategoryCodestring
nullable: true
roomCategoryNamestring
nullable: true
placementTypeNamestring
nullable: true
placementDescriptionstring
nullable: true
checkInDatestring($date-time)
checkOutDatestring($date-time)
adultsinteger($int32)
childreninteger($int32)
districtUIDstring($uuid)
nullable: true
districtNamestring
nullable: true
cityUIDstring($uuid)
nullable: true
cityNamestring
nullable: true
countryCodestring
nullable: true
countryNamestring
nullable: true
hasAlcoholboolean
hasFreeWifiboolean
hasMetroboolean
hasPoolboolean
hasMallboolean
cancellationPolicyDescriptionstring
nullable: true
cancellationPolicyCancellationPolicyExchange{
cancellationPolicyCodestring
nullable: true
noShowChargeValuenumber($double)
nullable: true
noShowChargeValueTypestring
nullable: true
earlyDepartureChargeValuenumber($double)
nullable: true
earlyDepartureChargeValueTypestring
nullable: true
conditions[
nullable: trueCancellationPolicyConditionExchange{
timeunitsinteger($int32)
timeunitTypestring
nullable: true
timeOffsetTypeNamestring
nullable: true
chargeValuenumber($double)
nullable: true
chargeValueTypestring
nullable: true

}]

}

}

extraServices[
nullable: trueHotelExtraServiceBase{
extraServiceCodestring
nullable: true
extraServiceTypeCodestring
nullable: true
isMandatoryinteger($int32)
extraServiceNamestring
nullable: true
minimalServiceAmountnumber($double)
includedPriceCodestring
nullable: true
prices[
nullable: trueHotelExtraServicePriceBase{
extraServicePriceCodestring
nullable: true
displayNamestring
nullable: true
restrictionInfostring
nullable: true
additionalInfostring
nullable: true
pricenumber($double)
extraPricenumber($double)
currencystring
nullable: true

}]

}]

}

}

Description

Request

Field PathData TypeDescription
calcTourPackageRequests[*].refreshPricesBooleanIndicates whether to refresh the prices for the tour package.
calcTourPackageRequests[*].packageIdStringUnique identifier for the tour package.
calcTourPackageRequests[*].flightPassengers[*].idStringUnique identifier for a flight passenger within the package.
calcTourPackageRequests[*].flightPassengers[*].selectedForwardBaggageCodeStringCode indicating the baggage option selected for the forward journey.
calcTourPackageRequests[*].flightPassengers[*].selectedBackwardBaggageCodeStringCode indicating the baggage option selected for the return journey.
calcTourPackageRequests[*].extraServicePriceCodesArrayAn array of codes for extra services priced within the package.
calcTourPackageRequests[*].includeInsuranceBooleanIndicates if insurance is included in the tour package.
calcOnlyHotelPackageRequestsArrayDetails about hotel-only package requests, if applicable.
calcOnlyAviaPackageRequestsArrayDetails about avia-only package requests, if applicable.
hotels[*].noteStringAdditional notes regarding the hotel booking.
hotels[*].agentConfirmationNumberStringConfirmation number provided by the agent for the hotel booking.
hotels[*].hotelPriceIdStringUnique identifier for the hotel price.
hotels[*].touristIds[*]StringList of IDs for tourists staying at the hotel.
tourists[*].idStringUnique identifier for the tourist.
tourists[*].isMaleBooleanIndicates if the tourist is male.
tourists[*].firstNameStringFirst name of the tourist.
tourists[*].lastNameStringLast name of the tourist.
tourists[*].birthDateStringBirth date of the tourist.
tourists[*].citizenshipStringCitizenship of the tourist.
tourists[*].passportNumberStringPassport number of the tourist.
tourists[*].passportIssueStringIssue date of the tourist's passport.
tourists[*].passportExpiryStringExpiry date of the tourist's passport.
tourists[*].tinStringTax identification number of the tourist, if applicable.
tourists[*].selectedVisaIdStringID of the selected visa option for the tourist.
tourists[*].flights[*].flightIdStringIdentifier for flights associated with the tourist.
tourists[*].flights[*].noteStringAdditional notes or details about the flight.
tourists[*].flightIds[*]StringArray of flight IDs associated with the tourist.
tourists[*].insurancePrice.insuranceIdStringIdentifier for the insurance plan selected for the tourist.
......Additional fields for insurancePrice as detailed in previous responses.
tourists[*].departureFlightInfo.dateStringDeparture date for the tourist's flight, if applicable.
tourists[*].departureFlightInfo.timeStringDeparture time for the tourist's flight, if applicable.
tourists[*].departureFlightInfo.flightNumberStringFlight number for the tourist's departure flight, if applicable.
tourists[*].departureFlightInfo.terminalCodeStringTerminal code for the tourist's departure flight, if applicable.
tourists[*].arrivalFlightInfo.dateStringArrival date for the tourist's flight, if applicable.
tourists[*].arrivalFlightInfo.timeStringArrival time for the tourist's flight, if applicable.
tourists[*].arrivalFlightInfo.flightNumberStringFlight number for the tourist's arrival flight, if applicable.
tourists[*].arrivalFlightInfo.terminalCodeStringTerminal code for the tourist's arrival flight, if applicable.
tourists[*].transfers[*].idStringUnique identifier for a transfer service associated with the tourist.
tourists[*].transfers[*].selectedTransferPriceIdStringID of the selected pricing option for the transfer.
noteStringGeneral note regarding the reservation, intended for testing or additional information.
contactPhoneStringContact phone number associated with the reservation.
reservationIdStringUnique identifier for the entire reservation.

Response

Field PathData TypeDescription
priceCurrencyStringCurrency code (ISO 4217) for all transactional amounts mentioned in the response.
totalPriceNumberTotal price of the reservation.
agentCommissionPercentNumberThe percentage of the total price allocated as commission for the agent.
agentCommissionAmountNumberThe total commission amount in priceCurrency.
requiredCitizenIdentifiers[*].countryCodeStringThe ISO 3166-1 alpha-2 country code for which an identifier is required.
requiredCitizenIdentifiers[*].identifierTypeStringType of identifier required (e.g., "TIN", "FIN").
hotels[*].hotelPriceIdStringUnique identifier for the hotel price.
hotels[*].touristIds[*]ArrayList of tourist IDs that are booked in this hotel.
hotels[*].descriptionStringDescription of the hotel booking.
tourists[*].idStringUnique identifier for a tourist.
tourists[*].ageNumberAge of the tourist.
tourists[*].isAdultBooleanIndicates whether the tourist is an adult.
tourists[*].flightIds[*]ArrayList of flight IDs associated with the tourist.
tourists[*].flights[*].flightIdStringUnique identifier for the flight.
tourists[*].flights[*].noteStringNotes or additional information about the flight.
tourists[*].insurancePrice.*VariousDetailed information about the insurance price, including ID, name, coverage, and cost details.
tourists[*].selectedVisaIdStringIdentifier for the selected visa option for the tourist.
tourists[*].transfers[*].idStringUnique identifier for the transfer.
tourists[*].transfers[*].typeStringType of transfer (e.g., "Arrival", "Departure").
tourists[*].transfers[*].flightIdStringThe flight ID associated with the transfer.
tourists[*].transfers[*].checkInHotelIdStringHotel ID for check-in associated with the transfer.
tourists[*].transfers[*].checkOutHotelIdStringHotel ID for check-out associated with the transfer.
tourists[*].transfers[*].selectedTransferPriceIdStringThe ID of the selected pricing option for the transfer.
tourists[*].transfers[*].transferPrices[*].*VariousDetailed information about each transfer price option, including ID, name, and cost details.
visas[*].pridStringUnique identifier for a visa option.
visas[*].prNameStringName of the visa option.
visas[*].prValueNumberThe cost associated with this visa option.
visas[*].sortingOrderNumberSorting order for the visa options.
terminals[*].terminalCodeStringCode representing the terminal.
terminals[*].cityUIDStringUnique identifier for the city where the terminal is located.
terminals[*].districtUIDStringUnique identifier for the district of the terminal.
terminals[*].terminalNameStringName of the terminal.
terminals[*].countryCodeStringThe ISO 3166-1 alpha-2 country code for the terminal's country.
terminals[*].noteStringAdditional notes or information about the terminal.
containsErrorBooleanIndicates if the response contains any errors.
refreshPriceResultStringThe result of attempting to refresh the price (e.g., "Success").
reservationIdStringUnique identifier for the reservation.
reservationDetailsUnavailableBooleanIndicates if the reservation details are currently unavailable.
errorBooleanA generic error indicator, presumably redundant with containsError.