Changes for page 3. CalcCheckout

Last modified by Giorgi Mdivnishvili on 2025/02/03 12:34

From version 1.5
edited by Giorgi Mdivnishvili
on 2024/04/12 18:56
Change comment: There is no comment for this version
To version 1.3
edited by Giorgi Mdivnishvili
on 2024/04/12 18:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -13,7 +13,7 @@
13 13  == Endpoint URL - [POST] ==
14 14  
15 15  {{info}}
16 -[[https:~~/~~/integration.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://integration.kazunion.com/api/OnlyHotelPackages/CalcPackage]]
16 +[[https:~~/~~/integration.kazunion.com/api/Checkout/CalcCheckout>>https://integration.kazunion.com/api/Checkout/CalcCheckout]]
17 17  {{/info}}
18 18  
19 19  
... ... @@ -131,15 +131,27 @@
131 131  
132 132  {{code language="Json"}}
133 133  {
134 - "calcTourPackageRequests": [],
135 - "calcOnlyHotelPackageRequests": [
134 + "calcTourPackageRequests": [
136 136   {
137 137   "refreshPrices": true,
138 - "packageId": "onlyhotel:25a0ce83-047e-485a-8fd7-f2b5a7a1fa37:9963330c-2346-4330-b9cf-7abbb0f64636",
137 + "packageId": "tour:7caef71d-25e3-4882-b0db-81e766af2b72:fa7a89d5-1c20-4004-b3d2-f8d08163827f:53552191-59ea-469d-ae9d-5b848da8839d",
138 + "flightPassengers": [
139 + {
140 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A1",
141 + "selectedForwardBaggageCode": "INCLUDED",
142 + "selectedBackwardBaggageCode": "INCLUDED"
143 + },
144 + {
145 + "id": "53552191-59ea-469d-ae9d-5b848da8839d-A2",
146 + "selectedForwardBaggageCode": "INCLUDED",
147 + "selectedBackwardBaggageCode": "INCLUDED"
148 + }
149 + ],
139 139   "extraServicePriceCodes": [],
140 - "includeInsurance": false
151 + "includeInsurance": true
141 141   }
142 142   ],
154 + "calcOnlyHotelPackageRequests": [],
143 143   "calcOnlyAviaPackageRequests": []
144 144  }
145 145  {{/code}}
... ... @@ -149,538 +149,130 @@
149 149  
150 150  {{code language="json"}}
151 151  {
152 - "priceCurrency": "USD",
153 - "totalPrice": 47,
154 - "agentCommissionPercent": 0.00,
155 - "agentCommissionAmount": 0,
156 - "requiredCitizenIdentifiers": [
164 + "error": true,
165 + "errorCode": "string",
166 + "errorDescription": "string",
167 + "userErrorDescription": "string",
168 + "priceCurrency": "string",
169 + "totalPrice": 0,
170 + "agentCommissionPercent": 0,
171 + "agentCommissionAmount": 0,
172 + "requiredCitizenIdentifiers": [
173 + {
174 + "countryCode": "string",
175 + "identifierType": "TIN"
176 + }
177 + ],
178 + "hotels": [
179 + {
180 + "hotelPriceId": "string",
181 + "touristIds": [
182 + "3fa85f64-5717-4562-b3fc-2c963f66afa6"
183 + ],
184 + "errorCode": "string",
185 + "errorMessage": "string",
186 + "description": "string"
187 + }
188 + ],
189 + "tourists": [
190 + {
191 + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
192 + "age": 0,
193 + "isAdult": true,
194 + "flightIds": [
195 + "string"
196 + ],
197 + "flights": [
157 157   {
158 - "countryCode": "KZ",
159 - "identifierType": "TIN"
160 - },
161 - {
162 - "countryCode": "AZ",
163 - "identifierType": "FIN"
199 + "flightId": "string",
200 + "note": "string"
164 164   }
165 - ],
166 - "hotels": [
202 + ],
203 + "arrivalFlightInfo": {
204 + "flightNumber": "string",
205 + "terminalCode": "string",
206 + "date": "2024-04-11T05:03:16.796Z",
207 + "time": "string"
208 + },
209 + "departureFlightInfo": {
210 + "flightNumber": "string",
211 + "terminalCode": "string",
212 + "date": "2024-04-11T05:03:16.796Z",
213 + "time": "string"
214 + },
215 + "insurancePrice": {
216 + "insuranceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
217 + "insuranceServiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
218 + "insurancePriceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
219 + "touristId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
220 + "insuranceName": "string",
221 + "insuranceDescription": "string",
222 + "contragentName": "string",
223 + "contragentFullName": "string",
224 + "actualStartDate": "2024-04-11T05:03:16.796Z",
225 + "actualEndDate": "2024-04-11T05:03:16.796Z",
226 + "costCurrencyCode": "string",
227 + "costAmount": 0,
228 + "priceCurrencyCode": "string",
229 + "priceAmount": 0,
230 + "coverageCurrencyCode": "string",
231 + "coverageAmount": 0
232 + },
233 + "selectedVisaId": "string",
234 + "transfers": [
167 167   {
168 - "hotelPriceId": "9963330c-2346-4330-b9cf-7abbb0f64636",
169 - "touristIds": [
170 - "5652e3ba-23d1-4392-bcd9-03442b48e385",
171 - "5e395a1b-982b-4686-b078-b8ffd3332c0e"
172 - ],
173 - "description": "Royal Continental Hotel"
236 + "id": "string",
237 + "type": "Arrival",
238 + "flightId": "string",
239 + "flightInfo": {
240 + "flightNumber": "string",
241 + "terminalCode": "string",
242 + "date": "2024-04-11T05:03:16.796Z",
243 + "time": "string"
244 + },
245 + "checkInHotelId": "string",
246 + "checkOutHotelId": "string",
247 + "selectedTransferPriceId": "string",
248 + "transferPrices": [
249 + {
250 + "id": "string",
251 + "name": "string",
252 + "adultPlaces": 0,
253 + "childPlaces": 0,
254 + "perPersonPrice": true,
255 + "adultPrice": 0,
256 + "childPrice": 0
257 + }
258 + ]
174 174   }
175 - ],
176 - "tourists": [
177 - {
178 - "id": "5652e3ba-23d1-4392-bcd9-03442b48e385",
179 - "isAdult": true,
180 - "flightIds": [],
181 - "flights": [],
182 - "arrivalFlightInfo": {
183 - "terminalCode": "DXB2",
184 - "date": "2024-06-30T00:00:00.000"
185 - },
186 - "departureFlightInfo": {
187 - "terminalCode": "DXB2",
188 - "date": "2024-07-01T00:00:00.000"
189 - },
190 - "selectedVisaId": "00000000-0000-0000-0000-000000000000",
191 - "transfers": [
192 - {
193 - "id": "DXB2-03cf038c-df96-4926-af5f-0f285e600405",
194 - "type": "Arrival",
195 - "flightInfo": {
196 - "terminalCode": "DXB2",
197 - "date": "2024-06-30T00:00:00.000"
198 - },
199 - "checkInHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636",
200 - "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
201 - "transferPrices": [
202 - {
203 - "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
204 - "name": "WITHOUT",
205 - "adultPlaces": 0,
206 - "childPlaces": 0,
207 - "perPersonPrice": false,
208 - "adultPrice": 0.00000000,
209 - "childPrice": 0
210 - },
211 - {
212 - "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
213 - "name": "MINIVAN",
214 - "adultPlaces": 5,
215 - "childPlaces": 0,
216 - "perPersonPrice": false,
217 - "adultPrice": 45.00000000,
218 - "childPrice": 0
219 - },
220 - {
221 - "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
222 - "name": "TOYOTA HIACE",
223 - "adultPlaces": 9,
224 - "childPlaces": 0,
225 - "perPersonPrice": false,
226 - "adultPrice": 50.00000000,
227 - "childPrice": 0
228 - },
229 - {
230 - "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
231 - "name": "HIGER BUS (27 SEATERS)",
232 - "adultPlaces": 27,
233 - "childPlaces": 0,
234 - "perPersonPrice": false,
235 - "adultPrice": 85.00000000,
236 - "childPrice": 0
237 - },
238 - {
239 - "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
240 - "name": "HIGER 53",
241 - "adultPlaces": 51,
242 - "childPlaces": 0,
243 - "perPersonPrice": false,
244 - "adultPrice": 120.00000000,
245 - "childPrice": 0
246 - },
247 - {
248 - "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
249 - "name": "MERCEDES S CLASS 400",
250 - "adultPlaces": 3,
251 - "childPlaces": 0,
252 - "perPersonPrice": false,
253 - "adultPrice": 140.00000000,
254 - "childPrice": 0
255 - },
256 - {
257 - "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
258 - "name": "MERCEDES V CLASS",
259 - "adultPlaces": 7,
260 - "childPlaces": 0,
261 - "perPersonPrice": false,
262 - "adultPrice": 140.00000000,
263 - "childPrice": 0
264 - },
265 - {
266 - "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
267 - "name": "MERCEDES S CLASS 500",
268 - "adultPlaces": 3,
269 - "childPlaces": 0,
270 - "perPersonPrice": false,
271 - "adultPrice": 165.00000000,
272 - "childPrice": 0
273 - }
274 - ]
275 - },
276 - {
277 - "id": "03cf038c-df96-4926-af5f-0f285e600405-DXB2",
278 - "type": "Departure",
279 - "flightInfo": {
280 - "terminalCode": "DXB2",
281 - "date": "2024-07-01T00:00:00.000"
282 - },
283 - "checkOutHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636",
284 - "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
285 - "transferPrices": [
286 - {
287 - "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
288 - "name": "WITHOUT",
289 - "adultPlaces": 0,
290 - "childPlaces": 0,
291 - "perPersonPrice": false,
292 - "adultPrice": 0.00000000,
293 - "childPrice": 0
294 - },
295 - {
296 - "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
297 - "name": "MINIVAN",
298 - "adultPlaces": 5,
299 - "childPlaces": 0,
300 - "perPersonPrice": false,
301 - "adultPrice": 45.00000000,
302 - "childPrice": 0
303 - },
304 - {
305 - "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
306 - "name": "TOYOTA HIACE",
307 - "adultPlaces": 9,
308 - "childPlaces": 0,
309 - "perPersonPrice": false,
310 - "adultPrice": 50.00000000,
311 - "childPrice": 0
312 - },
313 - {
314 - "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
315 - "name": "HIGER BUS (27 SEATERS)",
316 - "adultPlaces": 27,
317 - "childPlaces": 0,
318 - "perPersonPrice": false,
319 - "adultPrice": 85.00000000,
320 - "childPrice": 0
321 - },
322 - {
323 - "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
324 - "name": "HIGER 53",
325 - "adultPlaces": 51,
326 - "childPlaces": 0,
327 - "perPersonPrice": false,
328 - "adultPrice": 120.00000000,
329 - "childPrice": 0
330 - },
331 - {
332 - "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
333 - "name": "MERCEDES S CLASS 400",
334 - "adultPlaces": 3,
335 - "childPlaces": 0,
336 - "perPersonPrice": false,
337 - "adultPrice": 140.00000000,
338 - "childPrice": 0
339 - },
340 - {
341 - "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
342 - "name": "MERCEDES V CLASS",
343 - "adultPlaces": 7,
344 - "childPlaces": 0,
345 - "perPersonPrice": false,
346 - "adultPrice": 140.00000000,
347 - "childPrice": 0
348 - },
349 - {
350 - "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
351 - "name": "MERCEDES S CLASS 500",
352 - "adultPlaces": 3,
353 - "childPlaces": 0,
354 - "perPersonPrice": false,
355 - "adultPrice": 165.00000000,
356 - "childPrice": 0
357 - }
358 - ]
359 - }
360 - ],
361 - "description": " "
362 - },
363 - {
364 - "id": "5e395a1b-982b-4686-b078-b8ffd3332c0e",
365 - "isAdult": true,
366 - "flightIds": [],
367 - "flights": [],
368 - "arrivalFlightInfo": {
369 - "terminalCode": "DXB2",
370 - "date": "2024-06-30T00:00:00.000"
371 - },
372 - "departureFlightInfo": {
373 - "terminalCode": "DXB2",
374 - "date": "2024-07-01T00:00:00.000"
375 - },
376 - "selectedVisaId": "00000000-0000-0000-0000-000000000000",
377 - "transfers": [
378 - {
379 - "id": "DXB2-03cf038c-df96-4926-af5f-0f285e600405",
380 - "type": "Arrival",
381 - "flightInfo": {
382 - "terminalCode": "DXB2",
383 - "date": "2024-06-30T00:00:00.000"
384 - },
385 - "checkInHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636",
386 - "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
387 - "transferPrices": [
388 - {
389 - "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
390 - "name": "WITHOUT",
391 - "adultPlaces": 0,
392 - "childPlaces": 0,
393 - "perPersonPrice": false,
394 - "adultPrice": 0.00000000,
395 - "childPrice": 0
396 - },
397 - {
398 - "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
399 - "name": "MINIVAN",
400 - "adultPlaces": 5,
401 - "childPlaces": 0,
402 - "perPersonPrice": false,
403 - "adultPrice": 45.00000000,
404 - "childPrice": 0
405 - },
406 - {
407 - "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
408 - "name": "TOYOTA HIACE",
409 - "adultPlaces": 9,
410 - "childPlaces": 0,
411 - "perPersonPrice": false,
412 - "adultPrice": 50.00000000,
413 - "childPrice": 0
414 - },
415 - {
416 - "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
417 - "name": "HIGER BUS (27 SEATERS)",
418 - "adultPlaces": 27,
419 - "childPlaces": 0,
420 - "perPersonPrice": false,
421 - "adultPrice": 85.00000000,
422 - "childPrice": 0
423 - },
424 - {
425 - "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
426 - "name": "HIGER 53",
427 - "adultPlaces": 51,
428 - "childPlaces": 0,
429 - "perPersonPrice": false,
430 - "adultPrice": 120.00000000,
431 - "childPrice": 0
432 - },
433 - {
434 - "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
435 - "name": "MERCEDES S CLASS 400",
436 - "adultPlaces": 3,
437 - "childPlaces": 0,
438 - "perPersonPrice": false,
439 - "adultPrice": 140.00000000,
440 - "childPrice": 0
441 - },
442 - {
443 - "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
444 - "name": "MERCEDES V CLASS",
445 - "adultPlaces": 7,
446 - "childPlaces": 0,
447 - "perPersonPrice": false,
448 - "adultPrice": 140.00000000,
449 - "childPrice": 0
450 - },
451 - {
452 - "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
453 - "name": "MERCEDES S CLASS 500",
454 - "adultPlaces": 3,
455 - "childPlaces": 0,
456 - "perPersonPrice": false,
457 - "adultPrice": 165.00000000,
458 - "childPrice": 0
459 - }
460 - ]
461 - },
462 - {
463 - "id": "03cf038c-df96-4926-af5f-0f285e600405-DXB2",
464 - "type": "Departure",
465 - "flightInfo": {
466 - "terminalCode": "DXB2",
467 - "date": "2024-07-01T00:00:00.000"
468 - },
469 - "checkOutHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636",
470 - "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
471 - "transferPrices": [
472 - {
473 - "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01",
474 - "name": "WITHOUT",
475 - "adultPlaces": 0,
476 - "childPlaces": 0,
477 - "perPersonPrice": false,
478 - "adultPrice": 0.00000000,
479 - "childPrice": 0
480 - },
481 - {
482 - "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146",
483 - "name": "MINIVAN",
484 - "adultPlaces": 5,
485 - "childPlaces": 0,
486 - "perPersonPrice": false,
487 - "adultPrice": 45.00000000,
488 - "childPrice": 0
489 - },
490 - {
491 - "id": "fc3815bb-af00-4733-9134-4b6334ce3854",
492 - "name": "TOYOTA HIACE",
493 - "adultPlaces": 9,
494 - "childPlaces": 0,
495 - "perPersonPrice": false,
496 - "adultPrice": 50.00000000,
497 - "childPrice": 0
498 - },
499 - {
500 - "id": "1df09212-11e3-44b1-b615-fbb6338efaf2",
501 - "name": "HIGER BUS (27 SEATERS)",
502 - "adultPlaces": 27,
503 - "childPlaces": 0,
504 - "perPersonPrice": false,
505 - "adultPrice": 85.00000000,
506 - "childPrice": 0
507 - },
508 - {
509 - "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb",
510 - "name": "HIGER 53",
511 - "adultPlaces": 51,
512 - "childPlaces": 0,
513 - "perPersonPrice": false,
514 - "adultPrice": 120.00000000,
515 - "childPrice": 0
516 - },
517 - {
518 - "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04",
519 - "name": "MERCEDES S CLASS 400",
520 - "adultPlaces": 3,
521 - "childPlaces": 0,
522 - "perPersonPrice": false,
523 - "adultPrice": 140.00000000,
524 - "childPrice": 0
525 - },
526 - {
527 - "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6",
528 - "name": "MERCEDES V CLASS",
529 - "adultPlaces": 7,
530 - "childPlaces": 0,
531 - "perPersonPrice": false,
532 - "adultPrice": 140.00000000,
533 - "childPrice": 0
534 - },
535 - {
536 - "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326",
537 - "name": "MERCEDES S CLASS 500",
538 - "adultPlaces": 3,
539 - "childPlaces": 0,
540 - "perPersonPrice": false,
541 - "adultPrice": 165.00000000,
542 - "childPrice": 0
543 - }
544 - ]
545 - }
546 - ],
547 - "description": " "
548 - }
549 - ],
550 - "visas": [
551 - {
552 - "prid": "00000000-0000-0000-0000-000000000000",
553 - "prName": "WITHOUT VISA",
554 - "prValue": 0.00000000,
555 - "sortingOrder": 4
556 - },
557 - {
558 - "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b",
559 - "prName": "TOURIST VISA",
560 - "prValue": 80.01000000,
561 - "sortingOrder": 2
562 - },
563 - {
564 - "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb",
565 - "prName": "SERVICE VISA",
566 - "prValue": 120.08000000,
567 - "sortingOrder": 3
568 - }
569 - ],
570 - "terminals": [
571 - {
572 - "terminalCode": "DXB2",
573 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
574 - "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
575 - "terminalName": "DXB2",
576 - "countryCode": "AE"
577 - },
578 - {
579 - "terminalCode": "DXB",
580 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
581 - "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
582 - "terminalName": "DXB",
583 - "countryCode": "AE"
584 - },
585 - {
586 - "terminalCode": "SHJ",
587 - "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
588 - "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d",
589 - "terminalName": "SHJ",
590 - "countryCode": "AE"
591 - },
592 - {
593 - "terminalCode": "AUH3",
594 - "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
595 - "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
596 - "terminalName": "AUH3",
597 - "countryCode": "AE"
598 - },
599 - {
600 - "terminalCode": "AUH",
601 - "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
602 - "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b",
603 - "terminalName": "AUH",
604 - "countryCode": "AE"
605 - },
606 - {
607 - "terminalCode": "QIW",
608 - "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88",
609 - "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94",
610 - "terminalName": "Um Al Quwain Terminal ",
611 - "countryCode": "AE"
612 - },
613 - {
614 - "terminalCode": "QAJ",
615 - "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d",
616 - "districtUID": "70e57708-9de2-4505-b550-f4627ae40877",
617 - "terminalName": "Ajman Terminal ",
618 - "countryCode": "AE"
619 - },
620 - {
621 - "terminalCode": "RKT",
622 - "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b",
623 - "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42",
624 - "terminalName": "Ras Al Khaimah Terminal ",
625 - "countryCode": "AE"
626 - },
627 - {
628 - "terminalCode": "FJR",
629 - "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222",
630 - "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82",
631 - "terminalName": "Fujairah Terminal ",
632 - "countryCode": "AE"
633 - },
634 - {
635 - "terminalCode": "DXB3",
636 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
637 - "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
638 - "terminalName": "DXB3",
639 - "countryCode": "AE"
640 - },
641 - {
642 - "terminalCode": "Etihad Bus Station",
643 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
644 - "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
645 - "terminalName": "Etihad Bus Station",
646 - "countryCode": "AE"
647 - },
648 - {
649 - "terminalCode": "ETD",
650 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
651 - "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b",
652 - "terminalName": "Etihad Main Office Dubai",
653 - "countryCode": "AE",
654 - "note": "Noor Islamic Bank MS"
655 - },
656 - {
657 - "terminalCode": "XGD",
658 - "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d",
659 - "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf",
660 - "terminalName": "Dnata - Clock Tower",
661 - "countryCode": "AE"
662 - },
663 - {
664 - "terminalCode": "DXB1",
665 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
666 - "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e",
667 - "terminalName": "DXB1",
668 - "countryCode": "AE"
669 - },
670 - {
671 - "terminalCode": "DWC",
672 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
673 - "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444",
674 - "terminalName": "DWC",
675 - "countryCode": "AE",
676 - "note": "Al Maktoum intl. airport"
677 - }
678 - ],
679 - "containsError": false,
680 - "refreshPriceResult": "Success",
681 - "reservationId": "39b50207-50b0-4b86-8a5d-a026866acf6d",
682 - "reservationDetailsUnavailable": false,
683 - "error": false
260 + ],
261 + "errorCode": "string",
262 + "errorMessage": "string",
263 + "description": "string"
264 + }
265 + ],
266 + "visas": [
267 + {
268 + "prid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
269 + "prName": "string",
270 + "prValue": 0,
271 + "sortingOrder": 0
272 + }
273 + ],
274 + "terminals": [
275 + {
276 + "terminalCode": "string",
277 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
278 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
279 + "terminalName": "string",
280 + "countryCode": "string",
281 + "note": "string"
282 + }
283 + ],
284 + "containsError": true,
285 + "refreshPriceResult": "Success",
286 + "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
287 + "reservationDetailsUnavailable": true
684 684  }
685 685  {{/code}}
686 686  
... ... @@ -1316,23 +1316,4 @@
1316 1316  |reservationDetailsUnavailable|Boolean|Indicates if the reservation details are currently unavailable.
1317 1317  |error|Boolean|A generic error indicator, presumably redundant with containsError.
1318 1318  
1319 -== ==
1320 -
1321 -== Important ==
1322 -
1323 -{{error}}
1324 -=== Implementing Authorization in Subsequent Requests ===
1325 -
1326 -For every API request after the initial authentication, it's crucial to include the authorization token in the request header. This ensures your requests are authorized and can access the necessary resources. Here's how to properly include your token:
1327 -
1328 -* **Header Key:** Authorization
1329 -* **Header Value:** Bearer [Your Token Here] - Use the bearer token provided in the initial authentication response. The authorization type should be specified as Bearer Token.
1330 -
1331 -Additionally, to ensure your requests are properly formatted and recognized, include the following headers:
1332 -
1333 -* **Content-Type:** Specify this header as application/json to indicate the format of the request body.
1334 -* **Header Key:** X-nugios-timezone
1335 -* **Header Value:** 240 - Adjust this value to match your local timezone offset in minutes.
1336 -
1337 -Incorporating these headers with their respective values is essential for the successful processing of your API requests.
1338 -{{/error}}
923 +