Changes for page 7. GetReservations
Last modified by Giorgi Mdivnishvili on 2024/08/16 18:29
From version 6.1
edited by Giorgi Mdivnishvili
on 2024/08/16 18:20
on 2024/08/16 18:20
Change comment:
There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2024/08/16 18:18
on 2024/08/16 18:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -64,127 +64,6 @@ 64 64 65 65 {{code language="JSON"}} 66 66 { 67 - "pageId": 0, 68 - "pagesCount": 0, 69 - "reservations": [ 70 - { 71 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 72 - "number": "string", 73 - "agentConfirmationNumber": "string", 74 - "registrationDate": "2024-08-16T14:13:00.703Z", 75 - "packageType": "Package", 76 - "status": "NotConfirmed", 77 - "statusForAgent": "New", 78 - "departureToCityName": "string", 79 - "departureToAirlineName": "string", 80 - "arrivalTime": "2024-08-16T14:13:00.703Z", 81 - "arrivalCountryName": "string", 82 - "departureTime": "2024-08-16T14:13:00.703Z", 83 - "pickupPeriods": [ 84 - "string" 85 - ], 86 - "driverMobile": "string", 87 - "paymentInOutInvCurrency": { 88 - "currencyCode": "string", 89 - "price": 0, 90 - "netPrice": 0, 91 - "paid": 0, 92 - "unpaid": 0, 93 - "comission": 0, 94 - "comissionPercent": 0 95 - }, 96 - "paymentInSellCurrency": { 97 - "currencyCode": "string", 98 - "price": 0, 99 - "netPrice": 0, 100 - "paid": 0, 101 - "unpaid": 0, 102 - "comission": 0, 103 - "comissionPercent": 0 104 - }, 105 - "showDownloadDocuments": true, 106 - "guideMeetings": [ 107 - { 108 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 109 - "meetingStartTime": "2024-08-16T14:13:00.703Z", 110 - "meetingEndTime": "2024-08-16T14:13:00.703Z", 111 - "hotelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 112 - "hotelName": "string", 113 - "guides": [ 114 - { 115 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 116 - "name": "string", 117 - "mobile": "string" 118 - } 119 - ] 120 - } 121 - ], 122 - "services": [ 123 - { 124 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 125 - "serviceDate": "2024-08-16T14:13:00.703Z", 126 - "type": "Arrival", 127 - "description": "string", 128 - "touristIds": [ 129 - "string" 130 - ], 131 - "serviceDetails": [ 132 - { 133 - "flightCode": "string", 134 - "airlineName": "string", 135 - "departureTime": "2024-08-16T14:13:00.703Z", 136 - "departureCityName": "string", 137 - "departureAirportCode": "string", 138 - "departureTerminalCode": "string", 139 - "arrivalTime": "2024-08-16T14:13:00.703Z", 140 - "arrivalCityName": "string", 141 - "arrivalAirportCode": "string", 142 - "arrivalTerminalCode": "string", 143 - "isArrivalFlight": true 144 - } 145 - ] 146 - } 147 - ], 148 - "tourists": [ 149 - { 150 - "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 151 - "gender": "None", 152 - "ageCategory": "Adult", 153 - "title": "string", 154 - "firstName": "string", 155 - "lastName": "string", 156 - "birthDate": "2024-08-16", 157 - "passportNumber": "string", 158 - "passportExpiryDate": "2024-08-16", 159 - "tin": "string", 160 - "citizenshipCountryCode": "string", 161 - "canEdit": true 162 - } 163 - ], 164 - "documents": [ 165 - { 166 - "type": "None", 167 - "descriptions": [ 168 - "string" 169 - ], 170 - "url": "string" 171 - } 172 - ], 173 - "invoiceUrl": "string" 174 - } 175 - ] 176 -} 177 -No links 178 - 179 -POST 180 -/api/Reservations/GetReser 181 -{{/code}} 182 - 183 - 184 -=== Response example === 185 - 186 -{{code language="Json"}} 187 -{ 188 188 "pageId": 0, 189 189 "pagesCount": 0, 190 190 "reservations": [ ... ... @@ -352,133 +352,352 @@ 352 352 {{/code}} 353 353 354 354 234 +=== Response example === 235 + 236 +{{code language="Json"}} 237 +{ 238 + "reservation": { 239 + "id": "3882a7ee-fec1-4bd3-9e73-ccc4613be36d", 240 + "rfNumber": "314303 / 104429", 241 + "contactNumber": "teeeest, for testing purpose !, Contact Number: 597101803", 242 + "agentName": "Mr. Giorgi Mdivnishvili", 243 + "totalPrice": 782, 244 + "agentCommission": 0, 245 + "currency": "USD", 246 + "tourists": [ 247 + { 248 + "id": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 249 + "gender": "Male", 250 + "ageCategory": "Adult", 251 + "firstName": "Teeeeest", 252 + "lastName": "Teest", 253 + "birthDate": "1990-09-23T00:00:00.000", 254 + "passportNumber": "1231233", 255 + "passportExpiryDate": "2029-12-23T00:00:00.000", 256 + "citizenshipCountryCode": "GE", 257 + "citizenshipCountryName": "Georgia", 258 + "arrivalDate": "2024-05-17T07:10:00.000", 259 + "arrivalFlightNumber": "FZ1722", 260 + "arrivalTerminalCode": "DXB3", 261 + "returnDate": "2024-05-21T21:25:00.000", 262 + "returnFlightNumber": "FZ1721", 263 + "returnTerminalCode": "DXB3", 264 + "showReturn": true 265 + }, 266 + { 267 + "id": "27977a19-045e-4990-95a8-fbd7d49083de", 268 + "gender": "Male", 269 + "ageCategory": "Adult", 270 + "firstName": "Test", 271 + "lastName": "Teeeest", 272 + "birthDate": "1990-09-23T00:00:00.000", 273 + "passportNumber": "123123", 274 + "passportExpiryDate": "2029-12-23T00:00:00.000", 275 + "citizenshipCountryCode": "GE", 276 + "citizenshipCountryName": "Georgia", 277 + "arrivalDate": "2024-05-17T07:10:00.000", 278 + "arrivalFlightNumber": "FZ1722", 279 + "arrivalTerminalCode": "DXB3", 280 + "returnDate": "2024-05-21T21:25:00.000", 281 + "returnFlightNumber": "FZ1721", 282 + "returnTerminalCode": "DXB3", 283 + "showReturn": true 284 + } 285 + ], 286 + "hotels": [ 287 + { 288 + "id": "b768a900-bfc5-4dc4-958a-47a3bf92b6f8", 289 + "hotelName": "Ibis Al Rigga", 290 + "cityName": "Dubai", 291 + "hotelClass": "3", 292 + "checkInDate": "2024-05-17T00:00:00.000", 293 + "checkOutDate": "2024-05-21T00:00:00.000", 294 + "roomCategoryName": "Standard room with 1 double bed", 295 + "placementName": "DBL", 296 + "mealPlan": "RO" 297 + } 298 + ], 299 + "flights": [ 300 + { 301 + "id": "5720af80-17de-4913-94c5-2e019c9fbb9c", 302 + "isArrival": true, 303 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 304 + "touristName": "Teeeeest Teest", 305 + "date": "2024-05-17T07:10:00.000", 306 + "departureAirport": "ALA", 307 + "departureTerminal": "ALA", 308 + "arrivalAirport": "DXB", 309 + "arrivalTerminal": "DXB3", 310 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 311 + }, 312 + { 313 + "id": "81fce7ff-b359-46ea-ae66-1c41af7c347a", 314 + "isArrival": false, 315 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 316 + "touristName": "Teeeeest Teest", 317 + "date": "2024-05-21T21:25:00.000", 318 + "departureAirport": "DXB", 319 + "departureTerminal": "DXB3", 320 + "arrivalAirport": "ALA", 321 + "arrivalTerminal": "ALA", 322 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 323 + }, 324 + { 325 + "id": "215d3de6-8969-4265-97bd-3d716a0d4415", 326 + "isArrival": true, 327 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 328 + "touristName": "Test Teeeest", 329 + "date": "2024-05-17T07:10:00.000", 330 + "departureAirport": "ALA", 331 + "departureTerminal": "ALA", 332 + "arrivalAirport": "DXB", 333 + "arrivalTerminal": "DXB3", 334 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 335 + }, 336 + { 337 + "id": "8c6b26b3-5bb2-4fb9-b89c-2568b1f74b64", 338 + "isArrival": false, 339 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 340 + "touristName": "Test Teeeest", 341 + "date": "2024-05-21T21:25:00.000", 342 + "departureAirport": "DXB", 343 + "departureTerminal": "DXB3", 344 + "arrivalAirport": "ALA", 345 + "arrivalTerminal": "ALA", 346 + "note": "Kazunion Block, Baggage Info: 20 Kg Included" 347 + } 348 + ], 349 + "transfers": [ 350 + { 351 + "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0", 352 + "transferType": "ARRIVAL", 353 + "vehicleName": "GROUP", 354 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 355 + "touristName": "Teeeeest Teest", 356 + "date": "2024-05-17T00:00:00.000", 357 + "fromTerminal": "DXB", 358 + "fromCityName": "Dubai", 359 + "toHotelName": "Ibis Al Rigga", 360 + "toCityName": "Dubai", 361 + "note": "teeeest, for testing purpose !, Contact Number: 597101803" 362 + }, 363 + { 364 + "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32", 365 + "transferType": "DEPARTURE", 366 + "vehicleName": "GROUP", 367 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 368 + "touristName": "Teeeeest Teest", 369 + "date": "2024-05-21T00:00:00.000", 370 + "fromCityName": "Dubai", 371 + "fromHotelName": "Ibis Al Rigga", 372 + "toTerminal": "DXB", 373 + "toCityName": "Dubai" 374 + }, 375 + { 376 + "id": "8c9e4c18-f849-45d9-940b-69eebd67edb0", 377 + "transferType": "ARRIVAL", 378 + "vehicleName": "GROUP", 379 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 380 + "touristName": "Test Teeeest", 381 + "date": "2024-05-17T00:00:00.000", 382 + "fromTerminal": "DXB", 383 + "fromCityName": "Dubai", 384 + "toHotelName": "Ibis Al Rigga", 385 + "toCityName": "Dubai", 386 + "note": "teeeest, for testing purpose !, Contact Number: 597101803" 387 + }, 388 + { 389 + "id": "654df3d5-a6ed-42e6-af61-47a6b5a85f32", 390 + "transferType": "DEPARTURE", 391 + "vehicleName": "GROUP", 392 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 393 + "touristName": "Test Teeeest", 394 + "date": "2024-05-21T00:00:00.000", 395 + "fromCityName": "Dubai", 396 + "fromHotelName": "Ibis Al Rigga", 397 + "toTerminal": "DXB", 398 + "toCityName": "Dubai" 399 + } 400 + ], 401 + "services": [ 402 + { 403 + "id": "4c5d1e9c-2b87-4ec8-9bd8-96a270419322", 404 + "serviceDate": "2024-05-17T07:10:00.000", 405 + "serviceName": "Insurance", 406 + "touristId": "27977a19-045e-4990-95a8-fbd7d49083de", 407 + "touristName": "Test Teeeest" 408 + }, 409 + { 410 + "id": "1e1ad6a2-ee59-4c8c-868c-34a25343e7ca", 411 + "serviceDate": "2024-05-17T07:10:00.000", 412 + "serviceName": "Insurance", 413 + "touristId": "0b3cb288-00c5-4c68-946e-87fc5f5d5b82", 414 + "touristName": "Teeeeest Teest" 415 + } 416 + ] 417 + } 418 +} 419 +{{/code}} 420 + 421 + 355 355 === Schema === 356 356 357 357 {{success}} 358 -GetReservationsResponse{ 425 +GetReservationDetailsResponse{ 359 359 360 -|pageId|integer($int32) 361 -|pagesCount|integer($int32) 362 -|reservations|[ 363 -nullable: trueReservation{((( 427 +|reservation|ReservationDetails{((( 364 364 |id|string($uuid) 365 -| number|string429 +|rfNumber|string 366 366 nullable: true 367 -| agentConfirmationNumber|string431 +|contactNumber|string 368 368 nullable: true 369 -|registrationDate|string($date-time) 370 -|packageType|PackageTypeEnumstringEnum: 371 -[ Package, OnlyHotel, OnlyAvia ] 372 -|status|ReservationStatusEnumstringEnum: 373 -[ NotConfirmed, ConfirmedAndNotPaid, ConfirmedAndPaid, Overdued, Canceled ] 374 -|statusForAgent|StatusForAgentEnumstringEnum: 375 -[ New, OnProcess, Confirmed, Pending, Overdued, Delete, Draft, Canceled ] 376 -|departureToCityName|string 433 +|agentName|string 377 377 nullable: true 378 -|departureToAirlineName|string 435 +|totalPrice|number($double) 436 +|agentCommission|number($double) 437 +|netPrice|number($double) 379 379 nullable: true 380 -|arrivalTime|string($date-time) 381 -|arrivalCountryName|string 439 +|currency|string 382 382 nullable: true 383 -|departureTime|string($date-time) 384 -|pickupPeriods|[ 385 -nullable: truestring] 386 -|driverMobile|string 441 +|tourists|[ 442 +nullable: trueResDetailsTourist{((( 443 +|id|string($uuid) 444 +|gender|GenderEnumstringEnum: 445 +[ None, Male, Female ] 446 +|ageCategory|AgeCategorystringEnum: 447 +[ Adult, Infant, Child ] 448 +|firstName|string 387 387 nullable: true 388 -|paymentInOutInvCurrency|ReservationPaymentDetails{((( 389 -|currencyCode|string 450 +|lastName|string 390 390 nullable: true 391 -|price|number($double) 392 -|netPrice|number($double) 393 -|paid|number($double) 394 -|unpaid|number($double) 395 -|comission|number($double) 396 -|comissionPercent|number($double) 397 - 398 -} 399 -))) 400 -|paymentInSellCurrency|ReservationPaymentDetails{((( 401 -|currencyCode|string 452 +|birthDate|string($date-time) 402 402 nullable: true 403 -|price|number($double) 404 -|netPrice|number($double) 405 -|paid|number($double) 406 -|unpaid|number($double) 407 -|comission|number($double) 408 -|comissionPercent|number($double) 409 - 410 -} 411 -))) 412 -|showDownloadDocuments|boolean 413 -|guideMeetings|[ 414 -nullable: trueGuideMeeting{((( 415 -|id|string($uuid) 416 -|meetingStartTime|string($date-time) 417 -|meetingEndTime|string($date-time) 454 +|passportNumber|string 418 418 nullable: true 419 -|hotelId|string($uuid) 420 -|hotelName|string 456 +|passportExpiryDate|string($date-time) 421 421 nullable: true 422 -|guides|[ 423 -nullable: trueGuide{((( 424 -|id|string($uuid) 425 -|name|string 458 +|tin|string 426 426 nullable: true 460 +|citizenshipCountryCode|string 461 +nullable: true 462 +|citizenshipCountryName|string 463 +nullable: true 427 427 |mobile|string 428 428 nullable: true 466 +|email|string 467 +nullable: true 468 +|arrivalDate|string($date-time) 469 +nullable: true 470 +|arrivalFlightNumber|string 471 +nullable: true 472 +|arrivalTerminalCode|string 473 +nullable: true 474 +|returnDate|string($date-time) 475 +nullable: true 476 +|returnFlightNumber|string 477 +nullable: true 478 +|returnTerminalCode|string 479 +nullable: true 480 +|showReturn|boolean 429 429 430 430 }] 431 431 ))) 484 +|hotels|[ 485 +nullable: trueResDetailsHotel{((( 486 +|id|string($uuid) 487 +|hotelName|string 488 +nullable: true 489 +|cityName|string 490 +nullable: true 491 +|hotelClass|string 492 +nullable: true 493 +|checkInDate|string($date-time) 494 +|checkOutDate|string($date-time) 495 +|roomCategoryName|string 496 +nullable: true 497 +|placementName|string 498 +nullable: true 499 +|mealPlan|string 500 +nullable: true 501 +|agentConfirmationNumber|string 502 +nullable: true 432 432 433 433 }] 434 434 ))) 435 -|services|[ 436 -nullable: trueReservationService{...}] 437 -|tourists|[ 438 -nullable: trueReservationTourist{((( 439 -|id|[...] 440 -|gender|GenderEnumstringEnum: 441 -[ None, Male, Female ] 442 -|ageCategory|AgeCategorystringEnum: 443 -[ Adult, Infant, Child ] 444 -|title|string 506 +|flights|[ 507 +nullable: trueResDetailsFlight{((( 508 +|id|string($uuid) 509 +|isArrival|boolean 510 +|touristId|string($uuid) 511 +|touristName|string 445 445 nullable: true 446 -|firstName|string 513 +|date|string($date-time) 514 +|departureAirport|string 447 447 nullable: true 448 -| lastName|string516 +|departureTerminal|string 449 449 nullable: true 450 -| birthDate|string($date)518 +|arrivalAirport|string 451 451 nullable: true 452 -| passportNumber|string520 +|arrivalTerminal|string 453 453 nullable: true 454 -| passportExpiryDate|string($date)522 +|agentConfirmationNumber|string 455 455 nullable: true 456 -|tin|string 524 +|bookingConfirmationNumber|string 457 457 nullable: true 458 -| citizenshipCountryCode|string526 +|note|string 459 459 nullable: true 460 -|canEdit|boolean 461 461 462 462 }] 463 463 ))) 464 -|documents|[ 465 -nullable: trueReservationDocument{((( 466 -|type|ReservationDocumentTypeEnumstringEnum: 467 -[ None, HotelVoucher, Invoice, AviaTicketVoucher, Insurance ] 468 -|descriptions|[ 469 -nullable: truestring] 470 -|url|string 531 +|transfers|[ 532 +nullable: trueResDetailsTransfer{((( 533 +|id|string($uuid) 534 +|transferType|string 471 471 nullable: true 536 +|vehicleName|string 537 +nullable: true 538 +|touristId|string($uuid) 539 +|touristName|string 540 +nullable: true 541 +|date|string($date-time) 542 +|fromTerminal|string 543 +nullable: true 544 +|fromCityName|string 545 +nullable: true 546 +|fromHotelName|string 547 +nullable: true 548 +|toHotelName|string 549 +nullable: true 550 +|toTerminal|string 551 +nullable: true 552 +|toCityName|string 553 +nullable: true 554 +|agentConfirmationNumber|string 555 +nullable: true 556 +|note|string 557 +nullable: true 472 472 473 473 }] 474 474 ))) 475 -|invoiceUrl|string 561 +|services|[ 562 +nullable: trueResDetailsService{((( 563 +|id|string($uuid) 564 +|serviceDate|string($date-time) 565 +|serviceName|string 476 476 nullable: true 567 +|touristId|string($uuid) 568 +|touristName|string 569 +nullable: true 570 +|note|string 571 +nullable: true 477 477 478 478 }] 479 479 ))) 480 480 481 481 } 577 +))) 578 + 579 +} 482 482 {{/success}} 483 483 484 484