LifeStyle/

Itinerary Data Response Json

Itinerary Data Response Json
The Itinerary Data Response is a response of an API which returns the json response of an itinerary data for travel purposes.

JSON Data:

1{ 2 "data": { 3 "itinerary": { 4 "itineraryId": "851571670995803992", 5 "expiredAt": "2022-12-14T06:36:50.993Z", 6 "flightId": null, 7 "isMultiCity": false, 8 "isMultiDestination": false, 9 "isOnHold": false, 10 "virtualPay": { 11 "isVirtualPayEnabled": false, 12 "isVirtualPayRestricted": false, 13 "__typename": "VirtualPay" 14 }, 15 "availableSegments": { 16 "canAddHotel": true, 17 "canAddFlight": true, 18 "canAddCarRental": true, 19 "__typename": "AvailableSegments" 20 }, 21 "tripStatus": { 22 "isChangeTripAllowed": true, 23 "isHoldTripAllowed": true, 24 "areSegmentsRemovable": true, 25 "areSegmentsChangeable": true, 26 "areSegmentsCustomizable": true, 27 "areExtraSegmentsAllowed": true, 28 "areTicketOptionsAllowed": true, 29 "__typename": "TripPostReservation" 30 }, 31 "trip": { 32 "name": "Los Altos, CA", 33 "startDate": "2023-02-12", 34 "endDate": "2023-02-16", 35 "isNameEditable": true, 36 "imageUrl": "", 37 "__typename": "ItineraryTrip" 38 }, 39 "tripCost": { 40 "payNow": { 41 "hotel": { 42 "total": { 43 "primary": { 44 "currency": "USD", 45 "amount": 1385.19, 46 "__typename": "Money" 47 }, 48 "secondary": { 49 "currency": "USD", 50 "amount": 1385.19, 51 "__typename": "Money" 52 }, 53 "__typename": "Rate" 54 }, 55 "feesAndTaxes": { 56 "primary": { 57 "currency": "USD", 58 "amount": 172.19, 59 "__typename": "Money" 60 }, 61 "secondary": { 62 "currency": "USD", 63 "amount": 172.19, 64 "__typename": "Money" 65 }, 66 "__typename": "Rate" 67 }, 68 "__typename": "TripCost" 69 }, 70 "flight": null, 71 "train": null, 72 "subTotal": { 73 "primary": { 74 "amount": 1385.19, 75 "currency": "USD", 76 "__typename": "Money" 77 }, 78 "secondary": { 79 "amount": 1385.19, 80 "currency": "USD", 81 "__typename": "Money" 82 }, 83 "__typename": "Rate" 84 }, 85 "__typename": "PayNow" 86 }, 87 "payLater": { 88 "hotel": null, 89 "car": { 90 "base": { 91 "primary": { 92 "currency": "USD", 93 "amount": 154, 94 "__typename": "Money" 95 }, 96 "secondary": { 97 "currency": "USD", 98 "amount": 154, 99 "__typename": "Money" 100 }, 101 "__typename": "Rate" 102 }, 103 "total": { 104 "primary": { 105 "currency": "USD", 106 "amount": 233.89, 107 "__typename": "Money" 108 }, 109 "secondary": { 110 "currency": "USD", 111 "amount": 233.89, 112 "__typename": "Money" 113 }, 114 "__typename": "Rate" 115 }, 116 "feesAndTaxes": { 117 "primary": { 118 "currency": "USD", 119 "amount": 79.89, 120 "__typename": "Money" 121 }, 122 "secondary": { 123 "currency": "USD", 124 "amount": 79.89, 125 "__typename": "Money" 126 }, 127 "__typename": "Rate" 128 }, 129 "__typename": "TripCost" 130 }, 131 "carServices": [], 132 "subTotal": { 133 "primary": { 134 "amount": 233.89, 135 "currency": "USD", 136 "__typename": "Money" 137 }, 138 "secondary": { 139 "amount": 233.89, 140 "currency": "USD", 141 "__typename": "Money" 142 }, 143 "__typename": "Rate" 144 }, 145 "__typename": "PayLater" 146 }, 147 "unusedTicket": null, 148 "totalWithUnusedTicket": { 149 "primary": { 150 "amount": 1619.08, 151 "currency": "USD", 152 "__typename": "Money" 153 }, 154 "secondary": { 155 "amount": 1619.08, 156 "currency": "USD", 157 "__typename": "Money" 158 }, 159 "__typename": "Rate" 160 }, 161 "total": { 162 "primary": { 163 "amount": 1619.08, 164 "currency": "USD", 165 "__typename": "Money" 166 }, 167 "secondary": { 168 "amount": 1619.08, 169 "currency": "USD", 170 "__typename": "Money" 171 }, 172 "__typename": "Rate" 173 }, 174 "allowUnusedTicketOptout": false, 175 "hasOptOutUnusedTickets": false, 176 "__typename": "TripCostSummary" 177 }, 178 "itineraryItemResponse": [], 179 "messages": [], 180 "holdRules": { 181 "autoCancellationTime": "1900-01-01T03:00:00.000-05:00", 182 "reasonsForNotAllowing": [ 183 "HOTEL_CAR", 184 "INSTANT_PURCHASE", 185 "HOTEL_CANCEL_TIME" 186 ], 187 "holdAllowed": false, 188 "__typename": "HoldRules" 189 }, 190 "segments": [ 191 { 192 "uuid": "f665fd7c-3811-57b0-b632-29159e98e66e", 193 "position": 1, 194 "type": "CAR_RENTAL", 195 "hotel": null, 196 "carService": null, 197 "carRental": { 198 "carId": "V1.ZE.CCAR.NONE.NONE.ASJC.ASJC.1676221200000.1676509200000.10101.CR.NONE.NONE.NONE", 199 "name": "Hertz", 200 "segmentState": null, 201 "carDetails": { 202 "imageUrl": "https://res.cloudinary.com/dm0zqj0n2/image/upload/v1/Carrentals/Cars/1492780374467.png", 203 "class": "COMPACT", 204 "type": "CAR", 205 "transmission": "AUTOMATIC", 206 "fuel": "GAS_POWERED", 207 "capacity": 5, 208 "luggage": 3, 209 "isAirConditioned": true, 210 "contractName": null, 211 "name": "Nissan Versa", 212 "__typename": "CarRentalSegmentCarDetails" 213 }, 214 "vendorDetails": { 215 "imageUrl": "https://res.cloudinary.com/dm0zqj0n2/image/upload/v1/Logos/Car/Hertz.png", 216 "code": "ZE", 217 "name": "Hertz", 218 "__typename": "CarRentalSegmentVendorDetails" 219 }, 220 "rate": { 221 "primary": { 222 "amount": 58.47, 223 "currency": "USD", 224 "__typename": "Money" 225 }, 226 "secondary": { 227 "amount": 58.47, 228 "currency": "USD", 229 "__typename": "Money" 230 }, 231 "__typename": "Rate" 232 }, 233 "baseRate": { 234 "primary": { 235 "currency": "USD", 236 "amount": 154, 237 "__typename": "Money" 238 }, 239 "secondary": { 240 "currency": "USD", 241 "amount": 154, 242 "__typename": "Money" 243 }, 244 "__typename": "Rate" 245 }, 246 "totalCostRate": { 247 "primary": { 248 "currency": "USD", 249 "amount": 233.89, 250 "__typename": "Money" 251 }, 252 "secondary": { 253 "currency": "USD", 254 "amount": 233.89, 255 "__typename": "Money" 256 }, 257 "__typename": "Rate" 258 }, 259 "feesAndTaxesRate": { 260 "primary": { 261 "currency": "USD", 262 "amount": 79.89, 263 "__typename": "Money" 264 }, 265 "secondary": { 266 "currency": "USD", 267 "amount": 79.89, 268 "__typename": "Money" 269 }, 270 "__typename": "Rate" 271 }, 272 "imageUrl": "https://cb.rcobjs.com/static/core/img/travel/logos/car/ze.gif", 273 "carImageUrl": "https://res.cloudinary.com/dm0zqj0n2/image/upload/v1/Carrentals/Cars/1492780374467.png", 274 "vendorImage": "https://res.cloudinary.com/dm0zqj0n2/image/upload/v1/Logos/Car/Hertz.png", 275 "carClass": "COMPACT", 276 "carType": "DOORS2TO4", 277 "carTransmission": "AUTOMATIC", 278 "vendor": "Hertz", 279 "vendorCode": "ZE", 280 "isCarAirConditioned": true, 281 "contractName": null, 282 "carCapacity": 5, 283 "carLuggage": 3, 284 "isReserved": false, 285 "serviceFee": null, 286 "carLocationType": { 287 "pickup": { 288 "type": "AIRPORT", 289 "code": "SJC", 290 "name": "San Jose Municipal Airport", 291 "__typename": "CarLocationDetails" 292 }, 293 "dropoff": { 294 "type": "AIRPORT", 295 "code": "SJC", 296 "name": "San Jose Municipal Airport", 297 "__typename": "CarLocationDetails" 298 }, 299 "__typename": "CarLocationType" 300 }, 301 "policy": { 302 "outOfPolicyReasons": null, 303 "isInPolicy": true, 304 "outOfPolicyData": null, 305 "__typename": "Policy" 306 }, 307 "preferredDescription": { 308 "name": "Toyota Test Site", 309 "type": "COMPANY", 310 "code": "MOST_PREFERRED", 311 "bold": true, 312 "customColor": null, 313 "customName": null, 314 "__typename": "PreferredDescription" 315 }, 316 "carCosts": { 317 "extraDay": { 318 "amount": 0, 319 "currency": "USD", 320 "__typename": "Money" 321 }, 322 "extraHour": { 323 "amount": 29, 324 "currency": "USD", 325 "__typename": "Money" 326 }, 327 "perDay": { 328 "amount": 38.5, 329 "currency": "USD", 330 "__typename": "Money" 331 }, 332 "perWeek": { 333 "amount": 154, 334 "currency": "USD", 335 "__typename": "Money" 336 }, 337 "isMileageUnlimited": true, 338 "__typename": "CarCostsCarSegment" 339 }, 340 "carCostRates": { 341 "extraDayRate": null, 342 "extraHourRate": { 343 "primary": { 344 "amount": 29, 345 "currency": "USD", 346 "__typename": "Money" 347 }, 348 "secondary": { 349 "amount": 29, 350 "currency": "USD", 351 "__typename": "Money" 352 }, 353 "__typename": "Rate" 354 }, 355 "perDayRate": { 356 "primary": { 357 "amount": 38.5, 358 "currency": "USD", 359 "__typename": "Money" 360 }, 361 "secondary": { 362 "amount": 38.5, 363 "currency": "USD", 364 "__typename": "Money" 365 }, 366 "__typename": "Rate" 367 }, 368 "perWeekRate": { 369 "primary": { 370 "amount": 154, 371 "currency": "USD", 372 "__typename": "Money" 373 }, 374 "secondary": { 375 "amount": 154, 376 "currency": "USD", 377 "__typename": "Money" 378 }, 379 "__typename": "Rate" 380 }, 381 "isMileageUnlimited": true, 382 "__typename": "CarCostRates" 383 }, 384 "pickUpLocation": { 385 "date": "2023-02-12", 386 "phone": { 387 "type": "BUSINESS", 388 "number": "408-450-6000", 389 "__typename": "CarRentalPhone" 390 }, 391 "isDeliveryCollection": null, 392 "workingHours": { 393 "range": [ 394 "12:00 AM - 2:00 AM", 395 "5:00 AM - 11:59 PM" 396 ], 397 "isAllDay": false, 398 "__typename": "CarWorkingHours" 399 }, 400 "address": { 401 "airportCode": "SJC", 402 "locationName": null, 403 "street1": "2200 Airport Blvd", 404 "street2": null, 405 "city": "San Jose", 406 "stateCode": "CA", 407 "postalCode": "95110-1209", 408 "countryCode": "US", 409 "geocode": { 410 "lat": 37.3737, 411 "long": -121.9322, 412 "__typename": "Geocode" 413 }, 414 "__typename": "Address" 415 }, 416 "__typename": "CarRentalInteraction" 417 }, 418 "dropOffLocation": { 419 "date": "2023-02-15", 420 "phone": { 421 "type": "BUSINESS", 422 "number": "408-450-6000", 423 "__typename": "CarRentalPhone" 424 }, 425 "isDeliveryCollection": null, 426 "workingHours": { 427 "range": [ 428 "12:00 AM - 2:00 AM", 429 "5:00 AM - 11:59 PM" 430 ], 431 "isAllDay": false, 432 "__typename": "CarWorkingHours" 433 }, 434 "address": { 435 "airportCode": "SJC", 436 "locationName": null, 437 "street1": "2200 Airport Blvd", 438 "street2": null, 439 "city": "San Jose", 440 "stateCode": "CA", 441 "postalCode": "95110-1209", 442 "countryCode": "US", 443 "geocode": { 444 "lat": 37.3737, 445 "long": -121.9322, 446 "__typename": "Geocode" 447 }, 448 "__typename": "Address" 449 }, 450 "__typename": "CarRentalInteraction" 451 }, 452 "pickUpTime": "2023-02-12T09:00:00.000-08:00", 453 "dropOffTime": "2023-02-15T17:00:00.000-08:00", 454 "safetyCheck": { 455 "messageCode": "BASIC", 456 "badgeUrl": null, 457 "url": "https://www.hertz.com/rentacar/misc/index.jsp?targetPage=travel_advisory.jsp", 458 "__typename": "CarRentalSafetyCheck" 459 }, 460 "pickupLocationId": "ZESJC", 461 "dropoffLocationId": "ZESJC", 462 "isPreferred": true, 463 "__typename": "CarRentalSegment" 464 }, 465 "trainLeg": null, 466 "flightLeg": null, 467 "__typename": "Segment" 468 }, 469 { 470 "uuid": "ab81dbfc-1fcc-5ff8-b2d6-f55eaed62b50", 471 "position": 2, 472 "type": "HOTEL", 473 "hotel": { 474 "name": "Residence Inn Palo Alto Los Altos", 475 "checkIn": "2023-02-13", 476 "checkOut": "2023-02-16", 477 "segmentState": null, 478 "totalCost": { 479 "amount": 1385.19, 480 "currency": "USD", 481 "__typename": "Money" 482 }, 483 "averageRate": { 484 "primary": { 485 "currency": "USD", 486 "amount": 404, 487 "__typename": "Money" 488 }, 489 "secondary": null, 490 "__typename": "Rate" 491 }, 492 "baseRate": { 493 "primary": { 494 "currency": "USD", 495 "amount": 1213, 496 "__typename": "Money" 497 }, 498 "secondary": { 499 "currency": "USD", 500 "amount": 1213, 501 "__typename": "Money" 502 }, 503 "__typename": "Rate" 504 }, 505 "totalCostRate": { 506 "primary": { 507 "currency": "USD", 508 "amount": 1385.19, 509 "__typename": "Money" 510 }, 511 "secondary": { 512 "currency": "USD", 513 "amount": 1385.19, 514 "__typename": "Money" 515 }, 516 "__typename": "Rate" 517 }, 518 "feesAndTaxesRate": { 519 "primary": { 520 "currency": "USD", 521 "amount": 172.19, 522 "__typename": "Money" 523 }, 524 "secondary": { 525 "currency": "USD", 526 "amount": 172.19, 527 "__typename": "Money" 528 }, 529 "__typename": "Rate" 530 }, 531 "rate": { 532 "primary": { 533 "amount": 404, 534 "currency": "USD", 535 "__typename": "Money" 536 }, 537 "secondary": null, 538 "__typename": "Rate" 539 }, 540 "dailyRates": [], 541 "rateQualifier": "PREPAID", 542 "imageUrl": "https://cb.rcobjs.com/static/core/img/travel/logos/hotel/rc.gif", 543 "id": "2vqc4QFDRI/f/eHuLBwt4TUGiecoGNML7yZ5uUlgGOdT0UjZxP71JnIpSLy3TQJ2PYiYsgwgFD5YEYakrW9KaeIP/RqVTv1EbAedjdUKYuVscllJZs23TB7fTFmjJckSbfKLwChtWcMseeXW6DFBCuQ9IN+khTuFLNygr/gggaekj1NLwW90qZw+R8GPsxYnhfI7y0WV3khYYa1ayiw0HUKDqemukg2CEWdv62Bljis4AagG2yYJCVO4znl41CrP2bxLYjkyY3OxU7TPfAeVSyyfh6Lj4hCkDbwrQCsHEybMHmkynjTfOuSgd1nkjoXMSMLPNGmIQl/000WSqMWRuD9K7JVM40rH2Vax0yqZHa0Nc1cD7yHF/B3YE7ZbWdWyeG8AFJEMuaF3ytbTHsekQ7ms3gngxS3JH2aizWAY6uQGSpO12BNOYF5oxwlcMa9EX3pFUHqgRdYCwk66dQrqeFAG1CH+h/UGRG22XDI8+uQFkJuauHLbkVD5qd9plhUUPgNTeFn0ozdXD5IAeuyrRcHdGoRYMWxng0YlI147859GOGXrnODQ2sOoi04NsiRH7Z14y9o4EhO4QM5V/xTER9jY/vnt4fTmrq+VM0JfhJ/FFvEFVYLTKkXK2SZiQGGfNcQTX6SxWUuLKWKCiOolOg==", 544 "roomType": "Queen", 545 "hasDeposit": false, 546 "source": "", 547 "isReserved": false, 548 "address": { 549 "airportCode": "SJC", 550 "locationName": null, 551 "street1": "4460 El Camino Real", 552 "street2": null, 553 "city": "Los Altos", 554 "stateCode": "CA", 555 "postalCode": "94022", 556 "countryCode": "US", 557 "geocode": { 558 "lat": 37.402277902575, 559 "long": -122.11669907791, 560 "__typename": "Geocode" 561 }, 562 "__typename": "Address" 563 }, 564 "numberOfGuests": { 565 "adults": 1, 566 "__typename": "NumberOfGuests" 567 }, 568 "rulesAndRestrictions": [ 569 "No refund on cancellation" 570 ], 571 "isCancellable": false, 572 "starRating": 3, 573 "amenities": [ 574 { 575 "name": "Aerobics", 576 "isOfProperty": true, 577 "isOfRoom": false, 578 "__typename": "Amenity" 579 }, 580 { 581 "name": "Air Conditioning", 582 "isOfProperty": false, 583 "isOfRoom": true, 584 "__typename": "Amenity" 585 }, 586 { 587 "name": "Bathroom", 588 "isOfProperty": false, 589 "isOfRoom": true, 590 "__typename": "Amenity" 591 }, 592 { 593 "name": "Central Heating", 594 "isOfProperty": false, 595 "isOfRoom": true, 596 "__typename": "Amenity" 597 }, 598 { 599 "name": "Conference Room", 600 "isOfProperty": true, 601 "isOfRoom": false, 602 "__typename": "Amenity" 603 }, 604 { 605 "name": "Elevators", 606 "isOfProperty": true, 607 "isOfRoom": false, 608 "__typename": "Amenity" 609 }, 610 { 611 "name": "Gym", 612 "isOfProperty": true, 613 "isOfRoom": false, 614 "__typename": "Amenity" 615 }, 616 { 617 "name": "Hairdresser", 618 "isOfProperty": true, 619 "isOfRoom": false, 620 "__typename": "Amenity" 621 }, 622 { 623 "name": "Hairdryer", 624 "isOfProperty": false, 625 "isOfRoom": true, 626 "__typename": "Amenity" 627 }, 628 { 629 "name": "Hotel Room Safe", 630 "isOfProperty": true, 631 "isOfRoom": false, 632 "__typename": "Amenity" 633 }, 634 { 635 "name": "Internet Access", 636 "isOfProperty": false, 637 "isOfRoom": true, 638 "__typename": "Amenity" 639 }, 640 { 641 "name": "Laundry Facilities", 642 "isOfProperty": true, 643 "isOfRoom": false, 644 "__typename": "Amenity" 645 }, 646 { 647 "name": "Laundry Service", 648 "isOfProperty": true, 649 "isOfRoom": false, 650 "__typename": "Amenity" 651 }, 652 { 653 "name": "Lounge", 654 "isOfProperty": false, 655 "isOfRoom": true, 656 "__typename": "Amenity" 657 }, 658 { 659 "name": "Microwave", 660 "isOfProperty": false, 661 "isOfRoom": true, 662 "__typename": "Amenity" 663 }, 664 { 665 "name": "Outdoor Pool", 666 "isOfProperty": true, 667 "isOfRoom": false, 668 "__typename": "Amenity" 669 }, 670 { 671 "name": "Oven", 672 "isOfProperty": false, 673 "isOfRoom": true, 674 "__typename": "Amenity" 675 }, 676 { 677 "name": "Parking Lot", 678 "isOfProperty": true, 679 "isOfRoom": false, 680 "__typename": "Amenity" 681 }, 682 { 683 "name": "Pets", 684 "isOfProperty": true, 685 "isOfRoom": false, 686 "__typename": "Amenity" 687 }, 688 { 689 "name": "Pools", 690 "isOfProperty": true, 691 "isOfRoom": false, 692 "__typename": "Amenity" 693 }, 694 { 695 "name": "Public Internet Access", 696 "isOfProperty": true, 697 "isOfRoom": false, 698 "__typename": "Amenity" 699 }, 700 { 701 "name": "Refrigerator", 702 "isOfProperty": false, 703 "isOfRoom": true, 704 "__typename": "Amenity" 705 }, 706 { 707 "name": "Shower", 708 "isOfProperty": false, 709 "isOfRoom": true, 710 "__typename": "Amenity" 711 }, 712 { 713 "name": "TV", 714 "isOfProperty": false, 715 "isOfRoom": true, 716 "__typename": "Amenity" 717 }, 718 { 719 "name": "Tea/coffee maker", 720 "isOfProperty": false, 721 "isOfRoom": true, 722 "__typename": "Amenity" 723 }, 724 { 725 "name": "Tennis", 726 "isOfProperty": true, 727 "isOfRoom": false, 728 "__typename": "Amenity" 729 }, 730 { 731 "name": "WLAN access", 732 "isOfProperty": true, 733 "isOfRoom": false, 734 "__typename": "Amenity" 735 }, 736 { 737 "name": "Wheelchair Access (room)", 738 "isOfProperty": false, 739 "isOfRoom": true, 740 "__typename": "Amenity" 741 } 742 ], 743 "exclusiveAmenities": [], 744 "photos": [ 745 { 746 "index": 0, 747 "size": "LARGE", 748 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/148/paori-outdoor-0046-hor-clsc_S.jpg", 749 "__typename": "Photo" 750 }, 751 { 752 "index": 0, 753 "size": "THUMB", 754 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/148/paori-outdoor-0046-hor-clsc_S.jpg", 755 "__typename": "Photo" 756 }, 757 { 758 "index": 1, 759 "size": "LARGE", 760 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/136/paori-entrance-0043-hor-clsc_S.jpg", 761 "__typename": "Photo" 762 }, 763 { 764 "index": 1, 765 "size": "THUMB", 766 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/136/paori-entrance-0043-hor-clsc_S.jpg", 767 "__typename": "Photo" 768 }, 769 { 770 "index": 2, 771 "size": "LARGE", 772 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/140/paori-desk-0060-hor-clsc_S.jpg", 773 "__typename": "Photo" 774 }, 775 { 776 "index": 2, 777 "size": "THUMB", 778 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/140/paori-desk-0060-hor-clsc_S.jpg", 779 "__typename": "Photo" 780 }, 781 { 782 "index": 3, 783 "size": "LARGE", 784 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/144/paori-lobby-0061-hor-clsc_S.jpg", 785 "__typename": "Photo" 786 }, 787 { 788 "index": 3, 789 "size": "THUMB", 790 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/144/paori-lobby-0061-hor-clsc_S.jpg", 791 "__typename": "Photo" 792 }, 793 { 794 "index": 4, 795 "size": "LARGE", 796 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/152/paori-suite-0035-hor-clsc_S.jpg", 797 "__typename": "Photo" 798 }, 799 { 800 "index": 4, 801 "size": "THUMB", 802 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/152/paori-suite-0035-hor-clsc_S.jpg", 803 "__typename": "Photo" 804 }, 805 { 806 "index": 5, 807 "size": "LARGE", 808 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/156/paori-suite-0036-hor-clsc_S.jpg", 809 "__typename": "Photo" 810 }, 811 { 812 "index": 5, 813 "size": "THUMB", 814 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/156/paori-suite-0036-hor-clsc_S.jpg", 815 "__typename": "Photo" 816 }, 817 { 818 "index": 6, 819 "size": "LARGE", 820 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/160/paori-suite-0037-hor-clsc_S.jpg", 821 "__typename": "Photo" 822 }, 823 { 824 "index": 6, 825 "size": "THUMB", 826 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/160/paori-suite-0037-hor-clsc_S.jpg", 827 "__typename": "Photo" 828 }, 829 { 830 "index": 7, 831 "size": "LARGE", 832 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/164/paori-suite-0038-hor-clsc_S.jpg", 833 "__typename": "Photo" 834 }, 835 { 836 "index": 7, 837 "size": "THUMB", 838 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/164/paori-suite-0038-hor-clsc_S.jpg", 839 "__typename": "Photo" 840 }, 841 { 842 "index": 8, 843 "size": "LARGE", 844 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/168/paori-suite-0047-hor-clsc_S.jpg", 845 "__typename": "Photo" 846 }, 847 { 848 "index": 8, 849 "size": "THUMB", 850 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/168/paori-suite-0047-hor-clsc_S.jpg", 851 "__typename": "Photo" 852 }, 853 { 854 "index": 9, 855 "size": "LARGE", 856 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/172/paori-suite-0048-hor-clsc_S.jpg", 857 "__typename": "Photo" 858 }, 859 { 860 "index": 9, 861 "size": "THUMB", 862 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/172/paori-suite-0048-hor-clsc_S.jpg", 863 "__typename": "Photo" 864 }, 865 { 866 "index": 10, 867 "size": "LARGE", 868 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/176/paori-suite-0049-hor-clsc_S.jpg", 869 "__typename": "Photo" 870 }, 871 { 872 "index": 10, 873 "size": "THUMB", 874 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/176/paori-suite-0049-hor-clsc_S.jpg", 875 "__typename": "Photo" 876 }, 877 { 878 "index": 11, 879 "size": "LARGE", 880 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/180/paori-kitchen-0039-hor-clsc_S.jpg", 881 "__typename": "Photo" 882 }, 883 { 884 "index": 11, 885 "size": "THUMB", 886 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/180/paori-kitchen-0039-hor-clsc_S.jpg", 887 "__typename": "Photo" 888 }, 889 { 890 "index": 12, 891 "size": "LARGE", 892 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/184/paori-bathroom-0040-hor-clsc_S.jpg", 893 "__typename": "Photo" 894 }, 895 { 896 "index": 12, 897 "size": "THUMB", 898 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/184/paori-bathroom-0040-hor-clsc_S.jpg", 899 "__typename": "Photo" 900 }, 901 { 902 "index": 13, 903 "size": "LARGE", 904 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/188/paori-market-0062-hor-clsc_S.jpg", 905 "__typename": "Photo" 906 }, 907 { 908 "index": 13, 909 "size": "THUMB", 910 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/188/paori-market-0062-hor-clsc_S.jpg", 911 "__typename": "Photo" 912 }, 913 { 914 "index": 14, 915 "size": "LARGE", 916 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/192/paori-business-0050-hor-clsc_S.jpg", 917 "__typename": "Photo" 918 }, 919 { 920 "index": 14, 921 "size": "THUMB", 922 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/192/paori-business-0050-hor-clsc_S.jpg", 923 "__typename": "Photo" 924 }, 925 { 926 "index": 15, 927 "size": "LARGE", 928 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/196/paori-area-0051-hor-clsc_S.jpg", 929 "__typename": "Photo" 930 }, 931 { 932 "index": 15, 933 "size": "THUMB", 934 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/196/paori-area-0051-hor-clsc_S.jpg", 935 "__typename": "Photo" 936 }, 937 { 938 "index": 16, 939 "size": "LARGE", 940 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/200/paori-breakfast-0063-hor-clsc_S.jpg", 941 "__typename": "Photo" 942 }, 943 { 944 "index": 16, 945 "size": "THUMB", 946 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/200/paori-breakfast-0063-hor-clsc_S.jpg", 947 "__typename": "Photo" 948 }, 949 { 950 "index": 17, 951 "size": "LARGE", 952 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/7/0/153/9/382/tp-mixed-items-5389-hor-clsc_S.jpg", 953 "__typename": "Photo" 954 }, 955 { 956 "index": 17, 957 "size": "THUMB", 958 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/7/0/153/9/382/tp-mixed-items-5389-hor-clsc_S.jpg", 959 "__typename": "Photo" 960 }, 961 { 962 "index": 18, 963 "size": "LARGE", 964 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/7/0/142/905/131/ri-egg-ham-cheese-croissant-5396-hor-clsc_S.jpg", 965 "__typename": "Photo" 966 }, 967 { 968 "index": 18, 969 "size": "THUMB", 970 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/7/0/142/905/131/ri-egg-ham-cheese-croissant-5396-hor-clsc_S.jpg", 971 "__typename": "Photo" 972 }, 973 { 974 "index": 19, 975 "size": "LARGE", 976 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/7/0/147/830/286/paori-pool-0041-hor-clsc_S.jpg", 977 "__typename": "Photo" 978 }, 979 { 980 "index": 19, 981 "size": "THUMB", 982 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/7/0/147/830/286/paori-pool-0041-hor-clsc_S.jpg", 983 "__typename": "Photo" 984 }, 985 { 986 "index": 20, 987 "size": "LARGE", 988 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/236/paori-fitness-0054-hor-clsc_S.jpg", 989 "__typename": "Photo" 990 }, 991 { 992 "index": 20, 993 "size": "THUMB", 994 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/236/paori-fitness-0054-hor-clsc_S.jpg", 995 "__typename": "Photo" 996 }, 997 { 998 "index": 21, 999 "size": "LARGE", 1000 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/240/paori-fitness-0055-hor-clsc_S.jpg", 1001 "__typename": "Photo" 1002 }, 1003 { 1004 "index": 21, 1005 "size": "THUMB", 1006 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/240/paori-fitness-0055-hor-clsc_S.jpg", 1007 "__typename": "Photo" 1008 }, 1009 { 1010 "index": 22, 1011 "size": "LARGE", 1012 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/244/paori-sport-0064-hor-clsc_S.jpg", 1013 "__typename": "Photo" 1014 }, 1015 { 1016 "index": 22, 1017 "size": "THUMB", 1018 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/244/paori-sport-0064-hor-clsc_S.jpg", 1019 "__typename": "Photo" 1020 }, 1021 { 1022 "index": 23, 1023 "size": "LARGE", 1024 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/249/paori-classroom-0056-hor-clsc_S.jpg", 1025 "__typename": "Photo" 1026 }, 1027 { 1028 "index": 23, 1029 "size": "THUMB", 1030 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/249/paori-classroom-0056-hor-clsc_S.jpg", 1031 "__typename": "Photo" 1032 }, 1033 { 1034 "index": 24, 1035 "size": "LARGE", 1036 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/254/paori-room-0057-hor-clsc_S.jpg", 1037 "__typename": "Photo" 1038 }, 1039 { 1040 "index": 24, 1041 "size": "THUMB", 1042 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/254/paori-room-0057-hor-clsc_S.jpg", 1043 "__typename": "Photo" 1044 }, 1045 { 1046 "index": 25, 1047 "size": "LARGE", 1048 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/258/paori-boardroom-0058-hor-clsc_S.jpg", 1049 "__typename": "Photo" 1050 }, 1051 { 1052 "index": 25, 1053 "size": "THUMB", 1054 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/258/paori-boardroom-0058-hor-clsc_S.jpg", 1055 "__typename": "Photo" 1056 }, 1057 { 1058 "index": 26, 1059 "size": "LARGE", 1060 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/262/paori-boardroom-0059-hor-clsc_S.jpg", 1061 "__typename": "Photo" 1062 }, 1063 { 1064 "index": 26, 1065 "size": "THUMB", 1066 "url": "https://www.cfmedia.vfmleonardo.com/imageRepo/6/0/95/895/262/paori-boardroom-0059-hor-clsc_S.jpg", 1067 "__typename": "Photo" 1068 } 1069 ], 1070 "cancellationPolicy": "Penalty", 1071 "cancellationPolicyDescription": [ 1072 "This room type may be instant purchase.", 1073 "A penalty may apply for changes or cancellation, check Room and Rate details for more information." 1074 ], 1075 "preferredDescription": { 1076 "id": null, 1077 "code": "HIGHLY_PREFERRED", 1078 "highlight": false, 1079 "ownerType": "COMPANY", 1080 "ownerName": "Toyota Test Site", 1081 "tooltipText": null, 1082 "customBadge": { 1083 "name": null, 1084 "color": null, 1085 "__typename": "CustomBadge" 1086 }, 1087 "shouldShowDefaultPreference": true, 1088 "__typename": "Preference" 1089 }, 1090 "policy": { 1091 "outOfPolicyReasons": [ 1092 "COMPANY_PER_DIEM" 1093 ], 1094 "isInPolicy": false, 1095 "outOfPolicyData": [ 1096 { 1097 "type": "COMPANY_PER_DIEM", 1098 "data": [ 1099 "0.0" 1100 ], 1101 "currency": [ 1102 "USD" 1103 ], 1104 "__typename": "OutOfPolicyData" 1105 } 1106 ], 1107 "__typename": "Policy" 1108 }, 1109 "roomDescription": "PREPAY NON-REFUNDABLE, CHANGES UP TO 4 DAYS PRIOR TO STAY, PREPAY IN FULL, STUDIO, 1 QUEEN-S-, SOFA BED OTHER- INCLUDES TAXES AND SURCHARGES COMMITMENT-HTTPS//CLEAN*MARRIOTT*COM", 1110 "roomCount": 1, 1111 "medianReviewRating": 4, 1112 "distance": { 1113 "value": 10.449579289999999, 1114 "units": "MI", 1115 "__typename": "Distance" 1116 }, 1117 "isPreferred": false, 1118 "isEcoFriendly": false, 1119 "phone": "6505597890", 1120 "hotelId": "G-181027", 1121 "vendorCode": "RC", 1122 "__typename": "HotelSegment" 1123 }, 1124 "carService": null, 1125 "carRental": null, 1126 "trainLeg": null, 1127 "flightLeg": null, 1128 "__typename": "Segment" 1129 } 1130 ], 1131 "complianceMessage": { 1132 "errors": [ 1133 "Your trip is not compliant with your organization's travel guidelines. Please provide a reason that most closely explains why you made your selection or you can decide to change your selection to a compliant option." 1134 ], 1135 "infos": [], 1136 "warns": [], 1137 "countryRestrictions": null, 1138 "__typename": "ComplianceMessage" 1139 }, 1140 "continuityMessage": null, 1141 "overlappingTrips": [], 1142 "airPriceChangeInfo": null, 1143 "carPriceChangeInfo": { 1144 "amount": null, 1145 "type": null, 1146 "reason": null, 1147 "__typename": "PriceChangeInfo" 1148 }, 1149 "priceChanges": { 1150 "air": { 1151 "rate": null, 1152 "type": null, 1153 "reason": null, 1154 "__typename": "SegmentPriceChangeDetails" 1155 }, 1156 "car": { 1157 "rate": null, 1158 "type": null, 1159 "reason": null, 1160 "__typename": "SegmentPriceChangeDetails" 1161 }, 1162 "__typename": "ItineraryPriceChanges" 1163 }, 1164 "hotelLocationInformation": [ 1165 { 1166 "location": { 1167 "airportCode": null, 1168 "locationName": null, 1169 "geocode": { 1170 "lat": 37.402277902575, 1171 "long": -122.11669907791, 1172 "__typename": "Geocode" 1173 }, 1174 "street1": "4460 El Camino Real", 1175 "street2": null, 1176 "city": "Los Altos", 1177 "stateCode": "CA", 1178 "postalCode": "94022", 1179 "countryCode": "US", 1180 "__typename": "Address" 1181 }, 1182 "phoneNumber": { 1183 "countryCode": null, 1184 "areaCode": null, 1185 "number": null, 1186 "type": null, 1187 "formattedNumber": "5597890", 1188 "__typename": "PhoneNumber" 1189 }, 1190 "faxNumber": { 1191 "countryCode": null, 1192 "areaCode": null, 1193 "number": null, 1194 "type": null, 1195 "formattedNumber": "5597891", 1196 "__typename": "PhoneNumber" 1197 }, 1198 "id": "HOTEL_LOCATION_0", 1199 "name": "Residence Inn Palo Alto Los Altos", 1200 "chainCode": null, 1201 "email": null, 1202 "additionalInformation": "This hotel is located in Los Altos. The nearest airport is San Jose - Municipal (SJC).\n\nThe hotel has 156 rooms, which are located on 3 storeys and are reachable by lift. The friendly staff at the reception desk are happy to answer any questions. Amenities include a baggage storage service and a safe. Wireless internet access (no extra charge) allows guests to stay connected while on holiday. The hotel has wheelchair-accessible facilities. Guests arriving by car can park their vehicles in the car park for a fee. Other services include a laundry service, a hairdresser and a coin-operated laundry. Complimentary newspapers are available.\n\nRooms include air conditioning and central heating. Guests are sure to get a good night's sleep in the sofa bed. There is no additional charge for an extra bed. A desk is provided. Additional features include a refrigerator, a stovetop, a microwave, a tea/coffee station and a dishwasher. An ironing set is provided for guests' convenience. A telephone, a television with pay-per-view channels and WiFi are provided as well. Bathrooms are equipped with a shower and a hairdryer. For extra comfort in the bathrooms, guests are offered cosmetic products. Guests can also book wheelchair-friendly rooms with wheelchair-accessible bathrooms. The hotel has family rooms and non-smoking rooms.\n\nThe outdoor pool complex is ideal for exercise and relaxation. There are many ways to relax or stay active at the hotel, including tennis, a gym and aerobics.\n\nBed and breakfast can be booked.\n\nThe following credit cards are accepted: American Express, VISA, Diners Club, JCB and MasterCard.", 1203 "__typename": "HotelLocationInformation" 1204 } 1205 ], 1206 "tripLevelPolicy": null, 1207 "railCards": null, 1208 "__typename": "Itinerary" 1209 } 1210 } 1211}

Description :

The blog post describes an API that provides itinerary data for travel purposes. The post begins by explaining the importance of itinerary data for travel planning and introduces the API.

It then provides a JSON example of the data that the API returns, which includes details such as flight information, hotel reservations, and transportation options.

The JSON example is presented in a clear and easy-to-read format, with each data element labeled and described. The post explains how the JSON data can be parsed and used in a travel application, such as a mobile app or website.

The post also provides some details on how the API works and how developers can use it in their own applications. It discusses topics such as authentication, rate limiting, and error handling.

Overall, the blog post provides a useful introduction to the itinerary data API and shows how developers can use the JSON data to create travel applications that provide users with all the information they need for their trips.

episyche logo

Developed by

Episyche Technologies

Copyright © 2022-2024 Episyche Technologies. All rights reserved.

twitter
linkedin