Changes for page 4. ConfirmCheckout

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

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

Summary

Details

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