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
Change comment: There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2023/12/14 12:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -47,30 +47,91 @@
47 47  {{/code}}
48 48  
49 49  
50 -== Response ==
50 +== Response ==
51 51  
52 52  {{code language="json"}}
53 -[
54 - {
55 - "hotelCode": "string",
56 - "hotelName": "string",
57 - "hotelClass": "string",
58 - "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
59 - "countryCode": "string",
60 - "countryName": "string",
61 - "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
62 - "cityName": "string",
63 - "districtName": "string",
64 - "hotelType": "CityHotel",
65 - "latitude": "string",
66 - "longitude": "string",
67 - "hasAlcohol": true,
68 - "hasFreeWifi": true,
69 - "hasMetro": true,
70 - "hasPool": true,
71 - "hasMall": true
53 +{
54 + "error": true,
55 + "errorCode": "string",
56 + "errorDescription": "string",
57 + "userErrorDescription": "string",
58 + "package": {
59 + "id": "string",
60 + "priceCurrency": "string",
61 + "totalPrice": 0,
62 + "agentCommissionPercent": 0,
63 + "agentCommissionAmount": 0,
64 + "hotel": {
65 + "hotelPriceId": "string",
66 + "providerId": 0,
67 + "hotelName": "string",
68 + "hotelCode": "string",
69 + "nigths": 0,
70 + "mealPlan": "string",
71 + "hotelClass": "string",
72 + "availabilityType": "OnRequest",
73 + "availableRoomsCount": 0,
74 + "fewRooms": true,
75 + "roomCategoryCode": "string",
76 + "roomCategoryName": "string",
77 + "placementTypeName": "string",
78 + "placementDescription": "string",
79 + "checkInDate": "2023-12-14T08:42:01.525Z",
80 + "checkOutDate": "2023-12-14T08:42:01.525Z",
81 + "adults": 0,
82 + "children": 0,
83 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
84 + "districtName": "string",
85 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
86 + "cityName": "string",
87 + "countryCode": "string",
88 + "countryName": "string",
89 + "hasAlcohol": true,
90 + "hasFreeWifi": true,
91 + "hasMetro": true,
92 + "hasPool": true,
93 + "hasMall": true,
94 + "cancellationPolicyDescription": "string",
95 + "cancellationPolicy": {
96 + "cancellationPolicyCode": "string",
97 + "noShowChargeValue": 0,
98 + "noShowChargeValueType": "string",
99 + "earlyDepartureChargeValue": 0,
100 + "earlyDepartureChargeValueType": "string",
101 + "conditions": [
102 + {
103 + "timeunits": 0,
104 + "timeunitType": "string",
105 + "timeOffsetTypeName": "string",
106 + "chargeValue": 0,
107 + "chargeValueType": "string"
108 + }
109 + ]
110 + }
111 + },
112 + "extraServices": [
113 + {
114 + "extraServiceCode": "string",
115 + "extraServiceTypeCode": "string",
116 + "isMandatory": 0,
117 + "extraServiceName": "string",
118 + "minimalServiceAmount": 0,
119 + "includedPriceCode": "string",
120 + "prices": [
121 + {
122 + "extraServicePriceCode": "string",
123 + "displayName": "string",
124 + "restrictionInfo": "string",
125 + "additionalInfo": "string",
126 + "price": 0,
127 + "extraPrice": 0,
128 + "currency": "string"
129 + }
130 + ]
131 + }
132 + ]
72 72   }
73 -]
134 +}
74 74  {{/code}}
75 75  
76 76