Changes for page 4. ConfirmCheckout

Last modified by Giorgi Mdivnishvili on 2024/08/30 13:01

From version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/12 19:01
Change comment: There is no comment for this version
To version 5.1
edited by Giorgi Mdivnishvili
on 2024/08/30 13:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,11 +7,15 @@
7 7  = Method Description =
8 8  
9 9  
10 -This API endpoint serves the purpose of registering a new reservation.
10 +This API endpoint serves the purpose of registering a new reservation, it means book only hotel service.
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}}
14 14  
18 +
15 15  == Endpoint URL - [POST] ==
16 16  
17 17  {{info}}
... ... @@ -132,159 +132,101 @@
132 132  
133 133  {{code language="Json"}}
134 134  {
135 - "calcTourPackageRequests": [
139 + "calcTourPackageRequests": [],
140 + "calcOnlyHotelPackageRequests": [
136 136   {
137 137   "refreshPrices": false,
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 - ],
143 + "packageId": "onlyhotel:25a0ce83-047e-485a-8fd7-f2b5a7a1fa37:9963330c-2346-4330-b9cf-7abbb0f64636",
151 151   "extraServicePriceCodes": [],
152 - "includeInsurance": true
145 + "includeInsurance": false
153 153   }
154 154   ],
155 - "calcOnlyHotelPackageRequests": [],
156 156   "calcOnlyAviaPackageRequests": [],
157 157   "hotels": [
158 158   {
159 159   "note": null,
160 160   "agentConfirmationNumber": null,
161 - "hotelPriceId": "fa7a89d5-1c20-4004-b3d2-f8d08163827f",
153 + "hotelPriceId": "9963330c-2346-4330-b9cf-7abbb0f64636",
162 162   "touristIds": [
163 - "27977a19-045e-4990-95a8-fbd7d49083de",
164 - "0b3cb288-00c5-4c68-946e-87fc5f5d5b82"
155 + "69c369ca-cc96-40a3-bc72-914570239d52",
156 + "22c86f25-0914-499e-86e8-f3da7cc1b6f4"
165 165   ]
166 166   }
167 167   ],
168 168   "tourists": [
169 169   {
170 - "id": "27977a19-045e-4990-95a8-fbd7d49083de",
162 + "id": "69c369ca-cc96-40a3-bc72-914570239d52",
171 171   "isMale": true,
172 - "firstName": "Test",
164 + "firstName": "Teeeest",
173 173   "lastName": "Teeeest",
174 - "birthDate": "1990-09-23T00:00:00",
175 - "citizenship": "GE",
166 + "birthDate": null,
167 + "citizenship": "KZ",
176 176   "passportNumber": "123123",
177 177   "passportIssue": "2020-09-23T00:00:00",
178 - "passportExpiry": "2029-12-23T00:00:00",
179 - "tin": null,
170 + "passportExpiry": "2025-09-23T00:00:00",
171 + "tin": "123123123123",
180 180   "selectedVisaId": "00000000-0000-0000-0000-000000000000",
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 - },
173 + "flights": [],
174 + "flightIds": [],
175 + "insurancePrice": null,
207 207   "departureFlightInfo": {
208 - "date": null,
177 + "date": "2024-07-01T00:00:00.000",
209 209   "time": null,
210 210   "flightNumber": null,
211 - "terminalCode": null
180 + "terminalCode": "DXB2"
212 212   },
213 213   "arrivalFlightInfo": {
214 - "date": null,
183 + "date": "2024-06-30T00:00:00.000",
215 215   "time": null,
216 216   "flightNumber": null,
217 - "terminalCode": null
186 + "terminalCode": "DXB2"
218 218   },
219 219   "transfers": [
220 220   {
221 - "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
222 - "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
190 + "id": "DXB2-03cf038c-df96-4926-af5f-0f285e600405",
191 + "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"
223 223   },
224 224   {
225 - "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
226 - "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
194 + "id": "03cf038c-df96-4926-af5f-0f285e600405-DXB2",
195 + "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"
227 227   }
228 228   ]
229 229   },
230 230   {
231 - "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82",
200 + "id": "22c86f25-0914-499e-86e8-f3da7cc1b6f4",
232 232   "isMale": true,
233 - "firstName": "Teeeeest",
234 - "lastName": "Teest",
202 + "firstName": "Teeeest",
203 + "lastName": "Teeeest",
235 235   "birthDate": "1990-09-23T00:00:00",
236 - "citizenship": "GE",
205 + "citizenship": "KZ",
237 237   "passportNumber": "1231233",
238 238   "passportIssue": "2020-09-23T00:00:00",
239 - "passportExpiry": "2029-12-23T00:00:00",
240 - "tin": null,
208 + "passportExpiry": "2025-12-23T00:00:00",
209 + "tin": "123123123123",
241 241   "selectedVisaId": "00000000-0000-0000-0000-000000000000",
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 - },
211 + "flights": [],
212 + "flightIds": [],
213 + "insurancePrice": null,
268 268   "departureFlightInfo": {
269 - "date": null,
215 + "date": "2024-07-01T00:00:00.000",
270 270   "time": null,
271 271   "flightNumber": null,
272 - "terminalCode": null
218 + "terminalCode": "DXB2"
273 273   },
274 274   "arrivalFlightInfo": {
275 - "date": null,
221 + "date": "2024-06-30T00:00:00.000",
276 276   "time": null,
277 277   "flightNumber": null,
278 - "terminalCode": null
224 + "terminalCode": "DXB2"
279 279   },
280 280   "transfers": [
281 281   {
282 - "id": "DXB-3df91d4d-a89d-4b73-8076-baa8f8b230cf",
283 - "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
228 + "id": "DXB2-03cf038c-df96-4926-af5f-0f285e600405",
229 + "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"
284 284   },
285 285   {
286 - "id": "3df91d4d-a89d-4b73-8076-baa8f8b230cf-DXB",
287 - "selectedTransferPriceId": "a9252005-0a92-4ed1-9603-0f2f14295c29"
232 + "id": "03cf038c-df96-4926-af5f-0f285e600405-DXB2",
233 + "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01"
288 288   }
289 289   ]
290 290   }
... ... @@ -291,7 +291,7 @@
291 291   ],
292 292   "note": "teeeest, for testing purpose !",
293 293   "contactPhone": "597101803",
294 - "reservationId": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d"
240 + "reservationId": "e5955628-9fbb-4418-89e4-a928a6f92d59"
295 295  }
296 296  {{/code}}
297 297