Changes for page 2. CalcPackage
Last modified by Giorgi Mdivnishvili on 2024/04/12 18:58
From version 7.1
edited by Giorgi Mdivnishvili
on 2023/12/14 16:22
on 2023/12/14 16:22
Change comment:
There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2023/12/14 12:49
on 2023/12/14 12:49
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,7 +9,7 @@ 9 9 The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods. 10 10 11 11 12 -== Endpoint URL - [ POST] ==12 +== Endpoint URL - [GET] == 13 13 14 14 {{info}} 15 15 [[https:~~/~~/online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://online-api.kazunion.com/api/OnlyHotelPackages/CalcPackage]] ... ... @@ -76,8 +76,8 @@ 76 76 "roomCategoryName": "string", 77 77 "placementTypeName": "string", 78 78 "placementDescription": "string", 79 - "checkInDate": "2023-12-14T08:4 9:36.703Z",80 - "checkOutDate": "2023-12-14T08:4 9:36.703Z",79 + "checkInDate": "2023-12-14T08:42:01.525Z", 80 + "checkOutDate": "2023-12-14T08:42:01.525Z", 81 81 "adults": 0, 82 82 "children": 0, 83 83 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", ... ... @@ -201,53 +201,36 @@ 201 201 === Schema === 202 202 203 203 {{code language="none"}} 204 -CalcOnlyHotelPackageResponse{ 205 -error boolean 206 -errorCode string 204 +[Hotel{ 205 +hotelCode string 207 207 nullable: true 208 - errorDescriptionstring207 +hotelName string 209 209 nullable: true 210 - userErrorDescriptionstring209 +hotelClass string 211 211 nullable: true 212 -package OnlyHotelPackage{ 213 -id string 211 +cityUID string($uuid) 214 214 nullable: true 215 - priceCurrency string213 +countryCode string 216 216 nullable: true 217 -totalPrice number($double) 218 -agentCommissionPercent number($double) 219 -agentCommissionAmount number($double) 220 -hotel PackageHotel{...} 221 -extraServices [ 215 +countryName string 222 222 nullable: true 223 -HotelExtraServiceBase{ 224 -extraServiceCode string 217 +districtUID string($uuid) 225 225 nullable: true 226 - extraServiceTypeCodestring219 +cityName string 227 227 nullable: true 228 -isMandatory integer($int32) 229 -extraServiceName string 221 +districtName string 230 230 nullable: true 231 -minimalServiceAmount number($double) 232 -includedPriceCode string 223 +hotelType HotelTypeEnumstring 224 +Enum: 225 +[ CityHotel, BeachHotel, SecondLineBeach ] 226 +latitude string 233 233 nullable: true 234 - prices[228 +longitude string 235 235 nullable: true 236 -HotelExtraServicePriceBase{ 237 -extraServicePriceCode string 238 -nullable: true 239 -displayName string 240 -nullable: true 241 -restrictionInfo string 242 -nullable: true 243 -additionalInfo string 244 -nullable: true 245 -price number($double) 246 -extraPrice number($double) 247 -currency string 248 -nullable: true 230 +hasAlcohol boolean 231 +hasFreeWifi boolean 232 +hasMetro boolean 233 +hasPool boolean 234 +hasMall boolean 249 249 }] 250 -}] 251 -} 252 -} 253 253 {{/code}}