Changes for page 2. CalcPackage
Last modified by Giorgi Mdivnishvili on 2024/04/12 18:58
From version 3.1
edited by Giorgi Mdivnishvili
on 2023/12/14 12:46
on 2023/12/14 12:46
Change comment:
There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2023/12/14 12:07
on 2023/12/14 12:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,7 +12,7 @@ 12 12 == Endpoint URL - [GET] == 13 13 14 14 {{info}} 15 -[[http s:~~/~~/online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage]]15 +[[http:~~/~~/online-api.kazunion.com/api/Catalogue/GetHotels>>http://online-api.kazunion.com/api/Catalogue/GetHotels]] 16 16 {{/info}} 17 17 18 18 ... ... @@ -20,7 +20,12 @@ 20 20 21 21 (% class="box infomessage" %) 22 22 ((( 23 -None 23 + 24 + 25 +|**Key**|**Value**|**Request URL** 26 +|CountryCode|AE|[[http:~~/~~/online-api.kazunion.com/api/Catalogue/GetHotels?countryCode=AE>>http://online-api.kazunion.com/api/Catalogue/GetHotels?countryCode=AE]] 27 + 28 + 24 24 ))) 25 25 26 26 ... ... @@ -27,28 +27,12 @@ 27 27 == Request Body == 28 28 29 29 {{code language="Json"}} 30 -none{ 31 - "packageId": "string", 32 - "extraServicePriceCodes": [ 33 - "string" 34 - ] 35 -} 35 +none 36 36 {{/code}} 37 37 38 -== (% id="cke_bm_10575S" style="display:none" %) (%%)Request Body example == 39 39 40 -{{code language="Json"}} 41 -{ 42 - "packageId": "onlyhotel:c4e23e7e-3d54-4efa-a3db-88508230ce91:504f63ca-6dd5-4d84-8245-cf7e77ccff73", 43 - "extraServicePriceCodes": [ 44 - 45 - ] 46 -} 47 -{{/code}} 39 +== Response Body == 48 48 49 - 50 -== Response == 51 - 52 52 {{code language="json"}} 53 53 [ 54 54 { ... ... @@ -74,66 +74,45 @@ 74 74 {{/code}} 75 75 76 76 77 -=== Response example ===66 +=== example === 78 78 79 79 {{code language="Json"}} 80 80 { 81 - "package": { 82 - "id": "onlyhotel:c4e23e7e-3d54-4efa-a3db-88508230ce91:504f63ca-6dd5-4d84-8245-cf7e77ccff73", 83 - "priceCurrency": "USD", 84 - "totalPrice": 381.70, 85 - "agentCommissionPercent": 0.00, 86 - "agentCommissionAmount": 0.00, 87 - "hotel": { 88 - "hotelPriceId": "504f63ca-6dd5-4d84-8245-cf7e77ccff73", 89 - "providerId": 13, 90 - "hotelName": "Golden Tulip Al Barsha Hotel", 91 - "hotelCode": "ed0820c5-29b0-4e1b-8bcf-9f3c181e7961", 92 - "nigths": 4, 93 - "mealPlan": "RO", 94 - "hotelClass": "4", 95 - "availabilityType": "FreeSale", 96 - "availableRoomsCount": 0, 97 - "fewRooms": true, 98 - "roomCategoryCode": "e63ea5ac-4883-4059-bb0a-795a534bbbfb", 99 - "roomCategoryName": "Superior Twin", 100 - "placementTypeName": "SNGL + CHILD(6-11.99)sharing", 101 - "checkInDate": "2024-02-17T08:00:00.000Z", 102 - "checkOutDate": "2024-02-21T08:00:00.000Z", 103 - "adults": 1, 104 - "children": 1, 105 - "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e", 106 - "districtName": "Al Barsha", 107 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 108 - "cityName": "Dubai", 109 - "countryCode": "AE", 110 - "countryName": "United Arab Emirates", 111 - "hasAlcohol": true, 112 - "hasFreeWifi": true, 113 - "hasMetro": false, 114 - "hasPool": true, 115 - "hasMall": false, 116 - "cancellationPolicyDescription": "Cancellation Policy: 15 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %", 117 - "cancellationPolicy": { 118 - "noShowChargeValue": 100.00, 119 - "noShowChargeValueType": "%", 120 - "earlyDepartureChargeValue": 100.00, 121 - "earlyDepartureChargeValueType": "%", 122 - "conditions": [ 123 - { 124 - "timeunits": 15, 125 - "timeunitType": "Day", 126 - "timeOffsetTypeName": "Before Arrival", 127 - "chargeValue": 100.00, 128 - "chargeValueType": "%" 129 - } 130 - ] 131 - } 132 - }, 133 - "extraServices": [] 70 + "hotelCode": "cfbca5b5-4090-4bcd-805a-463d83423b86", 71 + "hotelName": "Ramada Abu Dhabi Corniche", 72 + "hotelClass": "4", 73 + "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", 74 + "countryCode": "AE", 75 + "districtUID": "ee402984-6d1d-4fcf-915d-f31b14fa8b0f", 76 + "cityName": "Abu Dhabi", 77 + "districtName": "Abu Dhabi", 78 + "hotelType": "CityHotel", 79 + "latitude": "24.503759", 80 + "longitude": "54.374577", 81 + "hasAlcohol": false, 82 + "hasFreeWifi": true, 83 + "hasMetro": false, 84 + "hasPool": true, 85 + "hasMall": false 134 134 }, 135 - "error": false 136 -} 87 + { 88 + "hotelCode": "c64b6082-2337-4519-8c33-4bcdef76b16b", 89 + "hotelName": "Emirates Palace Mandarin Oriental, Abu Dhabi", 90 + "hotelClass": "5", 91 + "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", 92 + "countryCode": "AE", 93 + "districtUID": "ee402984-6d1d-4fcf-915d-f31b14fa8b0f", 94 + "cityName": "Abu Dhabi", 95 + "districtName": "Abu Dhabi", 96 + "hotelType": "BeachHotel", 97 + "latitude": "24.461556", 98 + "longitude": "54.317404", 99 + "hasAlcohol": false, 100 + "hasFreeWifi": true, 101 + "hasMetro": false, 102 + "hasPool": true, 103 + "hasMall": false 104 + }, 137 137 {{/code}} 138 138 139 139