Changes for page 4. ConfirmCheckout
Last modified by Giorgi Mdivnishvili on 2024/08/30 13:01
From version 5.1
edited by Giorgi Mdivnishvili
on 2024/08/30 13:01
on 2024/08/30 13:01
Change comment:
There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/12 19:01
on 2024/04/12 19:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,15 +7,11 @@ 7 7 = Method Description = 8 8 9 9 10 -This API endpoint serves the purpose of registering a new reservation , it means book only hotel service.10 +This API endpoint serves the purpose of registering a new reservation. 11 11 12 12 Upon successfully processing the data retrieved from preceding methods, users can populate the designated parameters in their entirety and proceed to initiate a reservation request. 13 13 14 -{{warning}} 15 -Important message: Please ensure that when creating a test booking, you clearly enter the names and surnames of the tourists as 'Test/Test' in a way that they do not resemble real names and surnames. 16 -{{/warning}} 17 17 18 - 19 19 == Endpoint URL - [POST] == 20 20 21 21 {{info}} ... ... @@ -136,101 +136,159 @@ 136 136 137 137 {{code language="Json"}} 138 138 { 139 - "calcTourPackageRequests": [], 140 - "calcOnlyHotelPackageRequests": [ 135 + "calcTourPackageRequests": [ 141 141 { 142 142 "refreshPrices": false, 143 - "packageId": "onlyhotel:25a0ce83-047e-485a-8fd7-f2b5a7a1fa37:9963330c-2346-4330-b9cf-7abbb0f64636", 138 + "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d", 139 + "flightPassengers": [ 140 + { 141 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1", 142 + "selectedForwardBaggageCode": "INCLUDED", 143 + "selectedBackwardBaggageCode": "INCLUDED" 144 + }, 145 + { 146 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2", 147 + "selectedForwardBaggageCode": "INCLUDED", 148 + "selectedBackwardBaggageCode": "INCLUDED" 149 + } 150 + ], 144 144 "extraServicePriceCodes": [], 145 - "includeInsurance": false152 + "includeInsurance": true 146 146 } 147 147 ], 155 + "calcOnlyHotelPackageRequests": [], 148 148 "calcOnlyAviaPackageRequests": [], 149 149 "hotels": [ 150 150 { 151 151 "note": null, 152 152 "agentConfirmationNumber": null, 153 - "hotelPriceId": "9 963330c-2346-4330-b9cf-7abbb0f64636",161 + "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f", 154 154 "touristIds": [ 155 - " 69c369ca-cc96-40a3-bc72-914570239d52",156 - " 22c86f25-0914-499e-86e8-f3da7cc1b6f4"163 + "27977a19-045e-4990-95a8-fbd7d49083de", 164 + "0b3cb288-00c5-4c68-946e-87fc5f5d5b82" 157 157 ] 158 158 } 159 159 ], 160 160 "tourists": [ 161 161 { 162 - "id": " 69c369ca-cc96-40a3-bc72-914570239d52",170 + "id": "27977a19-045e-4990-95a8-fbd7d49083de", 163 163 "isMale": true, 164 - "firstName": "Te eeest",172 + "firstName": "Test", 165 165 "lastName": "Teeeest", 166 - "birthDate": null,167 - "citizenship": " KZ",174 + "birthDate": "1990-09-23T00:00:00", 175 + "citizenship": "GE", 168 168 "passportNumber": "123123", 169 169 "passportIssue": "2020-09-23T00:00:00", 170 - "passportExpiry": "202 5-09-23T00:00:00",171 - "tin": "123123123123",178 + "passportExpiry": "2029-12-23T00:00:00", 179 + "tin": null, 172 172 "selectedVisaId": "00000000-0000-0000-0000-000000000000", 173 - "flights": [], 174 - "flightIds": [], 175 - "insurancePrice": null, 181 + "flights": [ 182 + { 183 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 184 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 185 + } 186 + ], 187 + "flightIds": [ 188 + "53552191-59ea-469d-ae9d-5b848da8839d" 189 + ], 190 + "insurancePrice": { 191 + "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef", 192 + "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac", 193 + "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c", 194 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 195 + "insuranceName": "Medical INS (N10000)", 196 + "contragentName": "Nomad Insurance", 197 + "contragentFullName": "Nomad Insurance", 198 + "actualStartDate": "2024-05-17T00:00:00.000", 199 + "actualEndDate": "2024-05-21T00:00:00.000", 200 + "costCurrencyCode": "USD", 201 + "costAmount": 6.7, 202 + "priceCurrencyCode": "USD", 203 + "priceAmount": 11.2, 204 + "coverageCurrencyCode": "USD", 205 + "coverageAmount": 10000 206 + }, 176 176 "departureFlightInfo": { 177 - "date": "2024-07-01T00:00:00.000",208 + "date": null, 178 178 "time": null, 179 179 "flightNumber": null, 180 - "terminalCode": "DXB2"211 + "terminalCode": null 181 181 }, 182 182 "arrivalFlightInfo": { 183 - "date": "2024-06-30T00:00:00.000",214 + "date": null, 184 184 "time": null, 185 185 "flightNumber": null, 186 - "terminalCode": "DXB2"217 + "terminalCode": null 187 187 }, 188 188 "transfers": [ 189 189 { 190 - "id": "DXB 2-03cf038c-df96-4926-af5f-0f285e600405",191 - "selectedTransferPriceId": "9 b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"221 + "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf", 222 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29" 192 192 }, 193 193 { 194 - "id": " 03cf038c-df96-4926-af5f-0f285e600405-DXB2",195 - "selectedTransferPriceId": "9 b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"225 + "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB", 226 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29" 196 196 } 197 197 ] 198 198 }, 199 199 { 200 - "id": " 22c86f25-0914-499e-86e8-f3da7cc1b6f4",231 + "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 201 201 "isMale": true, 202 - "firstName": "Teeeest", 203 - "lastName": "Tee eest",233 + "firstName": "Teeeeest", 234 + "lastName": "Teest", 204 204 "birthDate": "1990-09-23T00:00:00", 205 - "citizenship": " KZ",236 + "citizenship": "GE", 206 206 "passportNumber": "1231233", 207 207 "passportIssue": "2020-09-23T00:00:00", 208 - "passportExpiry": "202 5-12-23T00:00:00",209 - "tin": "123123123123",239 + "passportExpiry": "2029-12-23T00:00:00", 240 + "tin": null, 210 210 "selectedVisaId": "00000000-0000-0000-0000-000000000000", 211 - "flights": [], 212 - "flightIds": [], 213 - "insurancePrice": null, 242 + "flights": [ 243 + { 244 + "flightId": "53552191-59ea-469d-ae9d-5b848da8839d", 245 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 246 + } 247 + ], 248 + "flightIds": [ 249 + "53552191-59ea-469d-ae9d-5b848da8839d" 250 + ], 251 + "insurancePrice": { 252 + "insuranceId": "5bd59c71-e465-45da-a9ff-fe6a90678aef", 253 + "insuranceServiceId": "6ecadb9f-7327-4354-9ddc-45d39470c5ac", 254 + "insurancePriceId": "c4fe2c52-bd39-45a5-ab50-46ef00292f3c", 255 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 256 + "insuranceName": "Medical INS (N10000)", 257 + "contragentName": "Nomad Insurance", 258 + "contragentFullName": "Nomad Insurance", 259 + "actualStartDate": "2024-05-17T00:00:00.000", 260 + "actualEndDate": "2024-05-21T00:00:00.000", 261 + "costCurrencyCode": "USD", 262 + "costAmount": 6.7, 263 + "priceCurrencyCode": "USD", 264 + "priceAmount": 11.2, 265 + "coverageCurrencyCode": "USD", 266 + "coverageAmount": 10000 267 + }, 214 214 "departureFlightInfo": { 215 - "date": "2024-07-01T00:00:00.000",269 + "date": null, 216 216 "time": null, 217 217 "flightNumber": null, 218 - "terminalCode": "DXB2"272 + "terminalCode": null 219 219 }, 220 220 "arrivalFlightInfo": { 221 - "date": "2024-06-30T00:00:00.000",275 + "date": null, 222 222 "time": null, 223 223 "flightNumber": null, 224 - "terminalCode": "DXB2"278 + "terminalCode": null 225 225 }, 226 226 "transfers": [ 227 227 { 228 - "id": "DXB 2-03cf038c-df96-4926-af5f-0f285e600405",229 - "selectedTransferPriceId": "9 b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"282 + "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf", 283 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29" 230 230 }, 231 231 { 232 - "id": " 03cf038c-df96-4926-af5f-0f285e600405-DXB2",233 - "selectedTransferPriceId": "9 b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"286 + "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB", 287 + "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29" 234 234 } 235 235 ] 236 236 } ... ... @@ -237,7 +237,7 @@ 237 237 ], 238 238 "note": "teeeest, for testing purpose !", 239 239 "contactPhone": "597101803", 240 - "reservationId": " e5955628-9fbb-4418-89e4-a928a6f92d59"294 + "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d" 241 241 } 242 242 {{/code}} 243 243