Changes for page 6. Register Reservation
Last modified by Giorgi Mdivnishvili on 2025/10/03 11:24
From version 3.1
edited by Giorgi Mdivnishvili
on 2024/02/29 18:51
on 2024/02/29 18:51
Change comment:
There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2025/10/03 11:24
on 2025/10/03 11:24
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 13 13 endpoint : [[https:~~/~~/testapi.rustaronline.com/api/Reservations/RegisterReservation?agentid=test.test&agentpassword=TestP@ssw0rd>>https://testapi.rustaronline.com/api/Reservations/RegisterReservation?agentid=test.test&agentpassword=TestP@ssw0rd]] 14 14 15 -Method POST 15 +Method POST . 16 16 17 17 18 18 == **Request example:** == ... ... @@ -19,7 +19,7 @@ 19 19 20 20 {{code language="Json"}} 21 21 { 22 - "reservationcode":"test GM20240229_tccapi_2",22 + "reservationcode":"test_2", 23 23 "customers": [ 24 24 { 25 25 "customercode": "1", ... ... @@ -235,3 +235,67 @@ 235 235 |** "includedExtrasAmount"**| 0,| 236 236 |** "extraServices"**| []| 237 237 |** },**| | 238 + 239 +== Example of the Reservation in Case of Transfer == 240 + 241 +here are added data of Arrival and Departure Dates and Airport Details. 242 + 243 +{{code language="Json"}} 244 +{ 245 + "reservationcode": "000000000mx4", 246 + "customers": [ 247 + { 248 + "customercode": "1", 249 + "title": "Mr", 250 + "gender": "M", 251 + "firstname": "TEST", 252 + "lastname": "TEST", 253 + "birthdate": "1981-01-01T00:00:00", 254 + "citizenship": "RU", 255 + "visarequired": false, 256 + "arrivaldate": "2023-12-25T00:00:00", 257 + "arrivalflightnumber": "000", 258 + "arrivalairport": "DXB", 259 + "departuredate": "2024-01-02T00:00:00", 260 + "departureflightnumber": "000", 261 + "departureairport": "DXB", 262 + "countryaccesscode": null, 263 + "areacitycode": null, 264 + "phonenumber": "+70000000000", 265 + "email": null, 266 + "passportnumber": "", 267 + "passporttype": null, 268 + "issuedate": null, 269 + "expirydate": null, 270 + "issuecity": null, 271 + "note": null 272 + } 273 + ], 274 + "hotels": [ 275 + { 276 + "hotelid": "2a56c372-1cbe-4d48-b394-0514badb582f", 277 + "hotelname": null, 278 + "checkindate": "2023-12-25T00:00:00", 279 + "checkoutdate": "2024-01-02T00:00:00", 280 + "placement": "1 Adult", 281 + "roomCategory": "DLX", 282 + "roomcategoryname": null, 283 + "priceid": "BASERATE RO DLX", 284 + "price": 700.68, 285 + "promotioncodes": null, 286 + "mealplan": "RO", 287 + "adults": 1, 288 + "children": 0, 289 + "infants": 0, 290 + "hotelnote": null, 291 + "customercodes": [ 292 + "1" 293 + ] 294 + } 295 + ], 296 + "transfers": null, 297 + "hotelextras": null 298 +} 299 +{{/code}} 300 + 301 +