Download OpenAPI specification:Download
This endpoint returns the trips and associated PNR's for an organisation, depending on the updated time and pnrType.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "organizationId": {
- "id": "string"
}, - "updatedAt": {
- "iso8601": "2017-07-21T17:32Z"
}, - "pnrType": "AIR",
- "customFieldIds": [
- {
- "type": "QUESTION",
- "externalId": "string"
}
]
}
{- "trips": [
- {
- "tripId": "6926658168",
- "pnrInfos": [
- {
- "pnrId": "6789533589",
- "customFields": [
- {
- "id": "string",
- "type": "QUESTION",
- "description": "GLOBAL OFFSITE 2022"
}
]
}
], - "tripName": "SFO - DEL Meeting",
- "tripDescription": "SFO-DEL 22-04-2022",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5"
}
]
}
This endpoint creates a trip object. A trip is a container object for all related PNRs associated with a trip.
Created
Bad request
Unauthorized
Forbidden
{- "tripName": "string",
- "tripDescription": "string",
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "registrarId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
{- "id": "string"
}
This endpoint gets trip by ID.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "tripId": "6926658168",
- "tripName": "JFK SFO Trip",
- "tripDescription": "JFK SFO Business Trip",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "startDate": {
- "iso8601": "2017-07-21"
}, - "endDate": {
- "iso8601": "2017-07-21"
}
}
This endpoint updates trip by ID.
Updated Successfully
Bad request
Unauthorized
Forbidden
The specified resource was not found.
{- "tripId": "6926658168",
- "tripName": "JFK SFO Trip",
- "tripDescription": "JFK SFO Business Trip"
}
{- "debugIdentifier": "string",
- "errorMessages": [
- {
- "errorCode": "string",
- "message": "string",
- "errorParameters": [
- {
- "name": "string",
- "value": "string"
}
], - "errorDetail": "string"
}
]
}
This endpoint gets trip details for a given trip ID.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "basicTripInfo": {
- "tripId": "6926658168",
- "tripName": "JFK SFO Trip",
- "tripDescription": "JFK SFO Business Trip",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "startDate": {
- "iso8601": "2017-07-21"
}, - "endDate": {
- "iso8601": "2017-07-21"
}
}, - "pnrs": [
- {
- "pnrId": "6926658168",
- "data": {
- "version": 1,
- "createdVia": "OFFLINE",
- "initialVersionCreatedVia": "OFFLINE",
- "sourceInfo": {
- "sourcePnrId": "AEDAVF",
- "bookingSource": "United.com",
- "thirdParty": "United.com",
- "bookingDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}, - "posDescriptor": "LA5K",
- "iataNumber": "426666"
}, - "invoiceDelayedBooking": false,
- "travelers": [
- {
- "travelerPersonalInfo": {
- "loyaltyInfos": [
- null
], - "travelPref": {
- "airPref": null,
- "preferredCurrency": null,
- "railCards": [ ],
- "railPref": null,
- "carPref": null,
- "hotelPref": null
}
}, - "user": {
- "addresses": [
- null
], - "dob": {
- "iso8601": null
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": null,
- "designation": null,
- "email": null,
- "name": null,
- "phoneNumber": null,
- "userOrgId": null
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}, - "paymentInfos": [
- null
], - "phoneNumbers": [
- null
], - "profilePicture": {
- "data": null,
- "dimensions": null,
- "url": null
}, - "nationality": "Indian",
- "title": "MR"
}, - "userBusinessInfo": {
- "department": {
- "id": null,
- "name": null,
- "externalId": null,
- "employeeCount": null
}, - "designation": "MANAGER",
- "email": "user@business.com",
- "employeeId": "101",
- "grade": {
- "employeeCount": null,
- "id": null,
- "name": null
}, - "legalEntityId": {
- "id": null
}, - "managerBasicInfo": {
- "userOrgId": null,
- "persona": null,
- "email": null,
- "name": null,
- "profilePicture": null,
- "tier": null,
- "phoneNumber": null,
- "employeeId": null,
- "isActive": null
}, - "office": {
- "address": null,
- "id": null,
- "name": null,
- "latlng": null,
- "taxId": null
}, - "organizationId": {
- "id": null
}, - "phoneNumbers": [
- null
], - "userCostCenter": {
- "employeeCount": null,
- "id": null,
- "name": null,
- "externalId": null
}, - "designatedApproverInfos": [
- null
], - "designatedApproverUserIds": [
- null
], - "authorizerEmail": "example@email.com"
}, - "userOrgId": {
- "organizationAgencyId": {
- "id": null
}, - "organizationId": {
- "id": null
}, - "userId": {
- "id": null
}, - "tmcInfo": {
- "id": null,
- "primaryServiceProviderTmc": null,
- "secondaryServiceProviderTmcs": [ ],
- "partnerTmcId": null
}, - "tmcBasicInfo": {
- "contractingTmc": null,
- "bookingTmc": null
}
}, - "persona": "EMPLOYEE",
- "isActive": true,
- "tier": "SEAT1A",
- "adhocUserInfo": {
- "profileOwner": {
- "userId": null
}, - "isSaved": false
}, - "externalId": "string"
}
], - "pnrTravelers": [
- {
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "personalInfo": {
- "addresses": [
- null
], - "dob": {
- "iso8601": null
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": null,
- "designation": null,
- "email": null,
- "name": null,
- "phoneNumber": null,
- "userOrgId": null
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}, - "phoneNumbers": [
- null
], - "profilePicture": {
- "data": null,
- "dimensions": null,
- "url": null
}, - "nationality": "Indian",
- "title": "MR",
- "preferredLanguage": "en-US",
- "preferredPronoun": "SHE_HER_HERS",
- "travelerName": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}
}, - "loyalties": [
- {
- "appliedTo": [ ],
- "id": null,
- "issuedBy": null,
- "type": null
}
], - "persona": "EMPLOYEE",
- "businessInfo": {
- "legalEntity": {
- "id": null,
- "name": null,
- "ein": null,
- "externalId": null,
- "companySpecifiedAttributes": [ ]
}, - "companyId": {
- "id": null
}, - "companyInfo": {
- "id": null,
- "name": null,
- "externalId": null
}, - "workerType": "EMPLOYEE",
- "employeeId": "1234",
- "companySpecifiedAttributes": [
- null
], - "userCostCenter": {
- "employeeCount": null,
- "id": null,
- "name": null,
- "externalId": null
}, - "grade": {
- "employeeCount": null,
- "id": null,
- "name": null
}, - "office": {
- "address": null,
- "id": null,
- "name": null,
- "latlng": null,
- "taxId": null
}, - "department": {
- "id": null,
- "name": null,
- "externalId": null
}, - "accountingCode": "123"
}
}
], - "costOfGoodsSold": {
- "payments": [
- {
- "travelerIndices": [
- 0,
- 1
], - "userIds": [
- null
], - "amount": {
- "base": null,
- "tax": null
}, - "fop": {
- "type": null,
- "card": null,
- "additionalInfo": null,
- "accessType": null,
- "paymentMethod": null,
- "paymentMetadata": null,
- "paymentSourceType": null
}, - "paymentReference": "HAH2618716871",
- "paymentType": "FLIGHTS",
- "paymentThirdParty": "STRIPE",
- "paymentId": "string",
- "paymentGateway": "STRIPE",
- "isRefunded": false,
- "selectedPaymentSource": {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
}
]
}, - "costToCustomer": {
- "payments": [
- {
- "travelerIndices": [
- 0,
- 1
], - "userIds": [
- null
], - "amount": {
- "base": null,
- "tax": null
}, - "fop": {
- "type": null,
- "card": null,
- "additionalInfo": null,
- "accessType": null,
- "paymentMethod": null,
- "paymentMetadata": null,
- "paymentSourceType": null
}, - "paymentReference": "HAH2618716871",
- "paymentType": "FLIGHTS",
- "paymentThirdParty": "STRIPE",
- "paymentId": "string",
- "paymentGateway": "STRIPE",
- "isRefunded": false,
- "selectedPaymentSource": {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
}
]
}, - "isFinalized": false,
- "policyInfo": {
- "outOfPolicy": false,
- "approverName": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "reasonCode": "TIMING_OR_SCHEDULING",
- "reason": "Business class cheaper than economy",
- "appliedPolicyInfo": {
- "policies": [
- {
- "id": null,
- "version": null,
- "policyName": null,
- "approvalType": null,
- "policyType": null
}
], - "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
]
}
}, - "airPnr": {
- "legs": [
- {
- "flights": [
- null
], - "brandName": "BUSFLEX",
- "validatingAirlineCode": "AA",
- "legStatus": "PENDING_STATUS",
- "sortingPriority": 1,
- "travelerRestrictions": [
- { }
], - "fareOffers": [
- { }
], - "legId": "1",
- "rateType": "PUBLISHED",
- "legUpdates": {
- "connectionAlerts": [ ]
}, - "preferredTypes": [
- null
], - "preferences": [
- null
], - "scheduleChangeInfo": {
- "flightIndices": [ ],
- "disruptedFlightIndices": [ ]
}
}
], - "airPnrRemarks": [
- {
- "remarkString": "COMPLEATREMARK"
}
], - "travelerInfos": [
- {
- "airVendorCancellationInfo": {
- "airVendorCancellationObjects": [ ]
}, - "travelerIdx": 0,
- "userId": {
- "id": null
}, - "paxType": "ADULT",
- "tickets": [
- null
], - "boardingPass": [
- null
], - "booking": {
- "seats": [ ],
- "luggageDetails": [ ],
- "otherAncillaries": [ ],
- "itinerary": { },
- "otherCharges": [ ]
}, - "appliedCredits": [
- null
], - "specialServiceRequestInfos": [
- null
]
}
], - "automatedCancellationInfo": {
- "supportedCancellations": [
- {
- "cancelType": null,
- "maxCancellationDateTime": null,
- "totalFare": null,
- "penalty": null,
- "merchantFee": null,
- "refund": null
}
]
}, - "automatedExchangeInfo": {
- "supportedExchanges": [
- {
- "legInfos": [ ]
}
]
}, - "bookingMetadata": {
- "fareStatistics": {
- "statisticsItems": [
- null
]
}
}, - "otherServiceInfos": [
- {
- "customText": "Wheelchair access",
- "flightIndexes": [
- null
]
}
], - "holdDeadline": {
- "holdDeadline": {
- "iso8601": "2017-07-21T17:32Z"
}
}, - "airPriceOptimizationMetadata": {
- "oldTickets": [
- "0111234567890"
], - "newTickets": [
- "0111234567890"
], - "oldPnrId": "6789533589",
- "newPnrId": "6789533589",
- "oldPrice": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "newPrice": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "priceDrop": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "penaltyPrice": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "disruptedFlightDetails": [
- {
- "departureDateTime": {
- "iso8601": null
}, - "arrivalDateTime": {
- "iso8601": null
}, - "cabin": "ECONOMY",
- "originAirportCode": "SFO",
- "destinationAirportCode": "LHR",
- "marketing": {
- "num": null,
- "airlineCode": null
}, - "operating": {
- "num": null,
- "airlineCode": null
}
}
]
}, - "hotelPnr": {
- "checkInDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "hotelInfo": {
- "address": {
- "addressLines": [
- null
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- null
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": null,
- "longitude": null
}
}, - "chainCode": "RF",
- "chainName": "Red Roof Inns",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}, - "email": "user@business.com",
- "hotelId": "100094780",
- "name": "San Francisco Airport Red Roof",
- "phone": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "starRating": 3.5,
- "fax": [
- {
- "countryCode": null,
- "countryCodeSource": null,
- "extension": null,
- "isoCountryCode": null,
- "italianLeadingZero": null,
- "nationalNumber": null,
- "numberOfLeadingZeros": null,
- "preferredDomesticCarrierCode": null,
- "rawInput": null,
- "type": null
}
], - "masterChainCode": "EM",
- "brandName": "Marriott Hotel Brands",
- "amenities": [
- {
- "type": null,
- "additionalInfo": null,
- "complimentary": null
}
], - "additionalAmenities": [
- "Room service",
- "Wifi"
], - "imageSets": [
- {
- "category": null,
- "imageGroup": null
}
], - "descriptions": [
- {
- "type": null,
- "value": null
}
], - "thirdPartyHotelCodes": [
- {
- "hotelCode": null,
- "hotelCodeType": null
}
]
}, - "numberOfRooms": 1,
- "payment": {
- "paymentType": "PREPAID",
- "description": "string"
}, - "pnrStatus": "CONFIRMED",
- "room": {
- "bedCount": 1,
- "bedType": "SINGLE",
- "cancellationPolicy": {
- "policy": "NON_REFUNDABLE",
- "deadline": {
- "iso8601": null
}, - "deadlineUtc": {
- "iso8601": null
}, - "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}
}, - "rateInfo": {
- "nightlyRate": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "totalRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "overallPenaltyCharged": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "publishedRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "publishedNightlyRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "prepaidRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "postpaidRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "rateCode": "SIG",
- "isModifiable": false,
- "isFopModifiable": true
}, - "roomName": "Standard Twin Room (City View)",
- "imageSets": [
- {
- "category": null,
- "imageGroup": null
}
], - "meals": {
- "mealsIncluded": [
- null
], - "mealPlan": "ENGLISH_BREAKFAST"
}, - "roomAmenities": [
- {
- "additionalInfo": null,
- "isComplimentary": null,
- "roomAmenityType": null
}
], - "amenities": [
- {
- "additionalInfo": null,
- "complimentary": null,
- "type": null
}
], - "additionalAmenities": [
- "string"
], - "guaranteeType": "GUARANTEE",
- "additionalDetails": [
- {
- "additionalDetailType": null,
- "text": null
}
], - "roomInfo": {
- "roomType": "ROOM",
- "typeClassDescription": "string",
- "roomView": {
- "type": null,
- "roomClass": [ ]
}
}, - "co2EmissionDetail": {
- "co2EmissionValue": 10.5
}
}, - "vendorConfirmationNumber": "2108528068",
- "travelerInfos": [
- {
- "travelerIdx": 0,
- "userId": {
- "id": null
}, - "loyaltyInfos": [
- null
]
}
], - "sortingPriority": 0,
- "vendorReferenceId": "AWKHGS",
- "vendorCancellationId": "AWKHGS",
- "preferredType": [
- "NOT_PREFERRED"
], - "preferences": [
- {
- "preferredType": "NOT_PREFERRED",
- "blockedReason": "string",
- "label": "string"
}
], - "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 1,
- "childAges": [
- null
], - "numInfants": 1
}
], - "sourceStatus": "string",
- "rebookReference": {
- "cancelledPnrIds": [
- "1234567890"
], - "rebookedPnrId": "1234567890",
- "hotelRateAssuranceMetadata": {
- "selfReportedSavings": {
- "amount": null,
- "currencyCode": null
}, - "actualSavings": {
- "amount": null,
- "currencyCode": null
}
}, - "rebookType": "RATE_ASSURANCE"
}, - "hotelSpecialRequests": {
- "roomLocations": [
- "HIGH_FLOOR"
], - "roomFeatures": [
- "FEATHER_FREE_ROOM"
], - "checkIn": "LATE_CHECK_IN",
- "checkInTime": {
- "iso8601": "17:32"
}, - "flightNumber": "AC1234",
- "additionalNote": "Extra pillows and blankets for added comfort during the stay.",
- "accessibleFeatures": [
- "MOBILITY_ACCESSIBLE_ROOM_WITH_TUB"
]
}
}, - "carPnr": {
- "cancellationPolicy": {
- "policy": "NON_REFUNDABLE",
- "deadline": {
- "iso8601": "2017-07-21T17:32"
}, - "deadlineUtc": {
- "iso8601": "2017-07-21T17:32Z"
}, - "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "carInfo": {
- "carSpec": {
- "airConditioning": "AC_AVAILABLE",
- "amenities": {
- "numDoors": null,
- "numLargeBags": null,
- "numSeatBelts": null,
- "numSeats": null,
- "numSmallBags": null
}, - "type": "ECONOMY",
- "displayName": "Economy",
- "engineType": "PETROL",
- "imageGroups": [
- null
], - "transmission": "MANUAL_4WD"
}, - "dropOffLocation": {
- "address": {
- "addressLines": [ ],
- "administrativeArea": null,
- "administrativeAreaName": null,
- "description": null,
- "isDefault": null,
- "languageCode": null,
- "locality": null,
- "locationCode": null,
- "organization": null,
- "postalCode": null,
- "continentCode": null,
- "recipients": [ ],
- "regionCode": null,
- "regionName": null,
- "revision": null,
- "sortingCode": null,
- "sublocality": null,
- "timezone": null,
- "coordinates": null
}, - "coordinates": {
- "latitude": null,
- "longitude": null
}, - "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE",
- "contactInfo": {
- "phone": [ ],
- "fax": [ ],
- "email": [ ]
}, - "operatingSchedule": {
- "interval": [ ]
}
}, - "mileageAllowance": {
- "length": 150,
- "unit": "MILE"
}, - "pickupLocation": {
- "address": {
- "addressLines": [ ],
- "administrativeArea": null,
- "administrativeAreaName": null,
- "description": null,
- "isDefault": null,
- "languageCode": null,
- "locality": null,
- "locationCode": null,
- "organization": null,
- "postalCode": null,
- "continentCode": null,
- "recipients": [ ],
- "regionCode": null,
- "regionName": null,
- "revision": null,
- "sortingCode": null,
- "sublocality": null,
- "timezone": null,
- "coordinates": null
}, - "coordinates": {
- "latitude": null,
- "longitude": null
}, - "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE",
- "contactInfo": {
- "phone": [ ],
- "fax": [ ],
- "email": [ ]
}, - "operatingSchedule": {
- "interval": [ ]
}
}, - "vendor": {
- "code": "ZE",
- "name": "HERTZ",
- "email": "abc@xyz.com",
- "phone": {
- "countryCode": null,
- "countryCodeSource": null,
- "extension": null,
- "isoCountryCode": null,
- "italianLeadingZero": null,
- "nationalNumber": null,
- "numberOfLeadingZeros": null,
- "preferredDomesticCarrierCode": null,
- "rawInput": null,
- "type": null
}
}, - "carTypeCode": "EBMR",
- "extraMileageCharge": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "preferredType": [
- "NOT_PREFERRED"
], - "preferences": [
- {
- "preferredType": null,
- "blockedReason": null,
- "label": null
}
], - "co2EmissionDetail": {
- "co2EmissionValue": 0.01
}
}, - "dropOffDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "paymentType": "PREPAID",
- "pickupDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "pnrStatus": "CONFIRMED",
- "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "vendorConfirmationNumber": "2108528068",
- "sortingPriority": 0,
- "corporateId": "8371",
- "rateType": "PUBLISHED",
- "sourceStatus": "string",
- "vendorCancellationId": "2108528068",
- "originalCarSearchInfo": {
- "pickup": {
- "location": {
- "airportCode": null,
- "cityCode": null,
- "coordinates": null
}, - "datetime": {
- "iso8601": null
}, - "searchQuery": "London"
}, - "dropOff": {
- "location": {
- "airportCode": null,
- "cityCode": null,
- "coordinates": null
}, - "datetime": {
- "iso8601": null
}, - "searchQuery": "London"
}
}
}, - "railPnr": {
- "inwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- 0
], - "co2EmissionDetails": {
- "co2EmissionKilograms": 10,
- "isApproximate": true
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "legInfos": [
- {
- "allocatedSpaces": [
- { }
], - "travelerRailInfo": [
- null
], - "amenities": [
- null
], - "arriveAt": {
- "iso8601": null
}, - "departAt": {
- "iso8601": null
}, - "arriveAtLocal": {
- "iso8601": null
}, - "departAtLocal": {
- "iso8601": null
}, - "destination": "Liverpool Lime Street",
- "distance": {
- "length": null,
- "unit": null
}, - "duration": {
- "iso8601": null
}, - "fareType": "Anytime Return",
- "origin": "London Euston",
- "travelClass": "FIRST",
- "vehicle": {
- "carrierName": null,
- "timetableId": null,
- "transportName": null,
- "type": null
}, - "originInfo": {
- "name": null,
- "code": null,
- "cityCode": null,
- "timeZone": null,
- "countryCode": null,
- "latLong": null,
- "localCode": null,
- "sourceRefInfos": [ ],
- "stationType": null,
- "cityName": null,
- "stateCode": null,
- "continentCode": null
}, - "destinationInfo": {
- "name": null,
- "code": null,
- "cityCode": null,
- "timeZone": null,
- "countryCode": null,
- "latLong": null,
- "localCode": null,
- "sourceRefInfos": [ ],
- "stationType": null,
- "cityName": null,
- "stateCode": null,
- "continentCode": null
}, - "railFareType": {
- "description": null,
- "fareDetails": [ ],
- "fareSummary": null
}, - "ticketNumber": "345675333",
- "carrierConfirmationNumber": "QP123AF",
- "seatPreferenceSelection": {
- "carriageType": null,
- "deckType": null,
- "direction": null,
- "facilities": [ ],
- "positionType": null,
- "seatLocationType": null,
- "seatType": null
}, - "legId": "9a766905-b5e9-43f7-b985-0738ff692324",
- "vendorName": "ATOC",
- "co2EmissionGramsPerPassenger": 10903
}
], - "outwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- 0
], - "co2EmissionDetails": {
- "co2EmissionKilograms": 10,
- "isApproximate": true
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "rateMetadata": {
- "negotiatedRateType": "CORPORATE_RATE",
- "publishedRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}
}
}, - "paymentMode": "PRE_PAID",
- "sections": [
- {
- "fares": [
- null
], - "rate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "sectionStatus": "CONFIRMED",
- "vendorConfirmations": [
- null
], - "vendorName": "ATOC",
- "userFacingStatus": "PENDING_STATUS"
}
], - "tickets": [
- {
- "issuedDateTime": {
- "iso8601": null
}, - "ticketNumber": "0840010000072",
- "legs": [
- null
], - "passengerRefs": [
- null
]
}
], - "ticketDetails": [
- {
- "deliveryOption": "ELECTRONIC_TICKET",
- "eticketMetadata": {
- "description": null,
- "eticketData": null,
- "type": null
}, - "reference": "string"
}
], - "type": "RETURN",
- "vendorConfirmationNumber": "ABQTEJ",
- "itineraryId": "abcde",
- "ancillaries": [
- {
- "travelCard": {
- "fareType": null,
- "rateInfo": null,
- "travelCardKey": null,
- "vendorName": null,
- "zoneValidity": null
}, - "type": "TRAVEL_CARD"
}
], - "termsAndConditions": {
- "conditions": [
- {
- "url": null,
- "text": null
}
]
}, - "exchangeInfo": {
- "exchangeType": "AMEND_RESERVATION",
- "relatedSectionInfo": {
- "newSectionIndexes": [
- null
], - "oldSectionIndexes": [
- null
]
}
}, - "previousItinerary": {
- "type": "RETURN",
- "outwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- null
], - "co2EmissionDetails": {
- "co2EmissionKilograms": null,
- "isApproximate": null
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "inwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- null
], - "co2EmissionDetails": {
- "co2EmissionKilograms": null,
- "isApproximate": null
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "legInfos": [
- {
- "allocatedSpaces": [ ],
- "travelerRailInfo": [ ],
- "amenities": [ ],
- "arriveAt": null,
- "departAt": null,
- "arriveAtLocal": null,
- "departAtLocal": null,
- "destination": null,
- "distance": null,
- "duration": null,
- "fareType": null,
- "origin": null,
- "travelClass": null,
- "vehicle": null,
- "originInfo": null,
- "destinationInfo": null,
- "railFareType": null,
- "ticketNumber": null,
- "carrierConfirmationNumber": null,
- "seatPreferenceSelection": null,
- "legId": null,
- "vendorName": null,
- "co2EmissionGramsPerPassenger": null
}
], - "sections": [
- {
- "fares": [ ],
- "rate": null,
- "sectionStatus": null,
- "vendorConfirmations": [ ],
- "vendorName": null,
- "userFacingStatus": null
}
], - "deliveryOption": "ELECTRONIC_TICKET",
- "sourceReference": "string",
- "rate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "extras": [
- { }
], - "refund": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "commission": {
- "amount": null,
- "percent": null
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [ ]
}, - "transactionDate": {
- "iso8601": null
}, - "refundInfo": {
- "refundAmount": null,
- "refundTaxAmount": null,
- "refundDate": null,
- "penalty": null,
- "refundVoucher": null
}
}
}
}, - "limoPnr": {
- "cancellationPolicy": {
- "policy": "NON_REFUNDABLE",
- "deadline": {
- "iso8601": "2017-07-21T17:32"
}, - "deadlineUtc": {
- "iso8601": "2017-07-21T17:32Z"
}, - "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "driver": {
- "name": "John Doe",
- "phone": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
}, - "legs": [
- {
- "dropOffDateTime": {
- "iso8601": null
}, - "dropOffLocation": {
- "address": null,
- "coordinates": null,
- "counterLocation": null,
- "contactInfo": null,
- "operatingSchedule": null
}, - "dropOffNotes": "string",
- "pickupDateTime": {
- "iso8601": null
}, - "pickupLocation": {
- "address": null,
- "coordinates": null,
- "counterLocation": null,
- "contactInfo": null,
- "operatingSchedule": null
}, - "pickupNotes": "string",
- "sortingPriority": 0
}
], - "limoDetails": {
- "carType": "STANDARD_CAR",
- "electricVehicle": "YES",
- "vendorName": "NATIONAL",
- "limoVendorInfo": {
- "code": "ZE",
- "name": "HERTZ",
- "email": "mail@mail.com"
}
}, - "paymentType": "PREPAID",
- "pnrStatus": "CONFIRMED",
- "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "vendorConfirmationNumber": "2108528068",
- "sourceStatus": "string"
}, - "miscPnr": {
- "description": "Any text info",
- "endDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "pnrStatus": "CONFIRMED",
- "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "startDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "vendorConfirmationNumber": "2108528068",
- "sortingPriority": 10,
- "sourceStatus": "string"
}, - "additionalMetadata": {
- "airportInfo": [
- {
- "airportCode": "WRA",
- "airportName": "Warder Airport",
- "cityName": "Werder",
- "countryName": "Ethiopia",
- "countryCode": "ET",
- "zoneName": "Africa/Addis_Ababa",
- "stateCode": "CA"
}
], - "airlineInfo": [
- {
- "airlineCode": "AA",
- "airlineName": "American Airlines"
}
]
}, - "preBookAnswers": {
- "answers": [
- {
- "entityId": "string",
- "userInput": "string",
- "itemIds": [
- null
], - "answers": [
- null
], - "customFieldType": "QUESTION",
- "questionDisplayText": "string",
- "question": {
- "id": null,
- "name": null,
- "questionFormat": null,
- "optionInfo": null,
- "isRequired": null,
- "isDisabled": null,
- "includeInItinerary": null,
- "customFieldLocations": [ ],
- "matchConditions": null,
- "questionType": null
}
}
], - "preBookQuestionResponseId": "string"
}, - "customFields": [
- {
- "id": "string",
- "type": "QUESTION",
- "description": "GLOBAL OFFSITE 2022"
}
], - "bookingHistory": [
- {
- "bookerInfo": {
- "name": "Harry Potter",
- "email": "harry@spotnana.com",
- "role": "AGENT",
- "tmcName": "Spotnana Technology"
}, - "bookingInfo": {
- "updatedDateTime": {
- "iso8601": null
}, - "status": "BOOKED",
- "bookingSourceClient": "ANDROID_APP"
}
}
], - "totalFare": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "serviceFees": [
- {
- "fare": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}
}, - "taxes": [
- {
- "amount": null,
- "taxCode": null,
- "description": null
}
], - "ticketNumber": "string",
- "status": "ISSUED",
- "fop": {
- "type": "CARD",
- "card": {
- "id": null,
- "type": null,
- "company": null,
- "name": null,
- "address": null,
- "number": null,
- "expiryMonth": null,
- "expiryYear": null,
- "cvv": null,
- "label": null,
- "currency": null,
- "externalId": null,
- "vaultId": null,
- "expiry": null,
- "ownershipLabel": null
}, - "additionalInfo": "string",
- "accessType": {
- "accessType": null,
- "entityIds": [ ],
- "entities": [ ]
}, - "paymentMethod": "BREX_POINTS",
- "paymentMetadata": {
- "customPaymentMethodMetadata": { },
- "vendorProgramPaymentMetadata": null,
- "virtualCardMetadata": null,
- "cardMetadata": null
}, - "paymentSourceType": "CARD"
}, - "visibleToTraveler": true,
- "paymentTransactionInfo": {
- "paymentReference": "pi_2PAlaAIE$aaaaAaA0bLqk9AI",
- "gatewayInfo": {
- "stripeInfo": null
}, - "failureReason": {
- "reasonCode": null
}
}
}
], - "paymentInfo": [
- {
- "fop": {
- "type": "CARD",
- "card": {
- "id": null,
- "type": null,
- "company": null,
- "name": null,
- "address": null,
- "number": null,
- "expiryMonth": null,
- "expiryYear": null,
- "cvv": null,
- "label": null,
- "currency": null,
- "externalId": null,
- "vaultId": null,
- "expiry": null,
- "ownershipLabel": null
}, - "additionalInfo": "string",
- "accessType": {
- "accessType": null,
- "entityIds": [ ],
- "entities": [ ]
}, - "paymentMethod": "BREX_POINTS",
- "paymentMetadata": {
- "customPaymentMethodMetadata": { },
- "vendorProgramPaymentMetadata": null,
- "virtualCardMetadata": null,
- "cardMetadata": null
}, - "paymentSourceType": "CARD"
}, - "totalCharge": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "totalRefund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "netCharge": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}
], - "bookingStatus": "PENDING_STATUS",
- "contactSupport": false,
- "travelerPnrVisibilityStatus": "VISIBLE",
- "shellPnrInfo": {
- "shellPnrCreateReasonType": "CONTENT_NOT_AVAILABLE",
- "createShellPnrReason": "Flight Missing",
- "pnrType": "AIR"
}, - "pnrCreationDetails": {
- "requestedByDetails": {
- "pnrRequestedBy": "Peter",
- "requestedByUserOrgId": {
- "organizationAgencyId": {
- "id": null
}, - "organizationId": {
- "id": null
}, - "userId": {
- "id": null
}, - "tmcInfo": {
- "id": null,
- "primaryServiceProviderTmc": null,
- "secondaryServiceProviderTmcs": [ ],
- "partnerTmcId": null
}, - "tmcBasicInfo": {
- "contractingTmc": null,
- "bookingTmc": null
}
}
}
}, - "approvalInfo": [
- {
- "approvalStatus": "APPROVAL_PENDING"
}
], - "cancellationRequestStatus": "CANCELLATION_IN_PROGRESS",
- "externalInfo": {
- "externalPnrId": "A2345",
- "externalPnrVersion": 1,
- "externalUrlMetadata": "exchange=a,cancel=b"
}, - "tripId": "123456789",
- "documents": [
- {
- "documentId": "f49d00fe-1eda-4304-ba79-a980f565281d",
- "documentMetadata": {
- "documentType": "VISA",
- "entityType": "PNR",
- "entityId": "123124",
- "entityMetadata": {
- "pnrMetadata": null,
- "invoiceMetadata": { },
- "travelType": null
}, - "name": "BoardingPass.pdf"
}
}
], - "freshnessInfo": {
- "latestVersionDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}, - "returnedVersionDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}
}, - "bookingEmailInfo": {
- "disableEmail": true
}, - "llfPnrInfo": {
- "totalFare": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}
}, - "pnrId": "123456789",
- "invoiceInfos": [
- {
- "invoiceNumber": "SPOT-0001",
- "productType": "PNR",
- "invoiceId": "2a5c0a73-1306-47f2-8210-7dfc812f4d0e"
}
], - "totalFareAmount": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}
}, - "dkNumber": "123456789",
- "savingsFare": {
- "fareAmount": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "isTaxIncluded": false
}, - "tripUsageMetadata": {
- "tripUsageType": "STANDARD",
- "eventMetadata": {
- "eventId": "123456789"
}
}
}
}
], - "pendingShellPnrs": [
- {
- "pnrId": "6926658168",
- "data": {
- "version": 1,
- "createdVia": "OFFLINE",
- "initialVersionCreatedVia": "OFFLINE",
- "sourceInfo": {
- "sourcePnrId": "AEDAVF",
- "bookingSource": "United.com",
- "thirdParty": "United.com",
- "bookingDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}, - "posDescriptor": "LA5K",
- "iataNumber": "426666"
}, - "invoiceDelayedBooking": false,
- "travelers": [
- {
- "travelerPersonalInfo": {
- "loyaltyInfos": [
- null
], - "travelPref": {
- "airPref": null,
- "preferredCurrency": null,
- "railCards": [ ],
- "railPref": null,
- "carPref": null,
- "hotelPref": null
}
}, - "user": {
- "addresses": [
- null
], - "dob": {
- "iso8601": null
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": null,
- "designation": null,
- "email": null,
- "name": null,
- "phoneNumber": null,
- "userOrgId": null
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}, - "paymentInfos": [
- null
], - "phoneNumbers": [
- null
], - "profilePicture": {
- "data": null,
- "dimensions": null,
- "url": null
}, - "nationality": "Indian",
- "title": "MR"
}, - "userBusinessInfo": {
- "department": {
- "id": null,
- "name": null,
- "externalId": null,
- "employeeCount": null
}, - "designation": "MANAGER",
- "email": "user@business.com",
- "employeeId": "101",
- "grade": {
- "employeeCount": null,
- "id": null,
- "name": null
}, - "legalEntityId": {
- "id": null
}, - "managerBasicInfo": {
- "userOrgId": null,
- "persona": null,
- "email": null,
- "name": null,
- "profilePicture": null,
- "tier": null,
- "phoneNumber": null,
- "employeeId": null,
- "isActive": null
}, - "office": {
- "address": null,
- "id": null,
- "name": null,
- "latlng": null,
- "taxId": null
}, - "organizationId": {
- "id": null
}, - "phoneNumbers": [
- null
], - "userCostCenter": {
- "employeeCount": null,
- "id": null,
- "name": null,
- "externalId": null
}, - "designatedApproverInfos": [
- null
], - "designatedApproverUserIds": [
- null
], - "authorizerEmail": "example@email.com"
}, - "userOrgId": {
- "organizationAgencyId": {
- "id": null
}, - "organizationId": {
- "id": null
}, - "userId": {
- "id": null
}, - "tmcInfo": {
- "id": null,
- "primaryServiceProviderTmc": null,
- "secondaryServiceProviderTmcs": [ ],
- "partnerTmcId": null
}, - "tmcBasicInfo": {
- "contractingTmc": null,
- "bookingTmc": null
}
}, - "persona": "EMPLOYEE",
- "isActive": true,
- "tier": "SEAT1A",
- "adhocUserInfo": {
- "profileOwner": {
- "userId": null
}, - "isSaved": false
}, - "externalId": "string"
}
], - "pnrTravelers": [
- {
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "personalInfo": {
- "addresses": [
- null
], - "dob": {
- "iso8601": null
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": null,
- "designation": null,
- "email": null,
- "name": null,
- "phoneNumber": null,
- "userOrgId": null
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}, - "phoneNumbers": [
- null
], - "profilePicture": {
- "data": null,
- "dimensions": null,
- "url": null
}, - "nationality": "Indian",
- "title": "MR",
- "preferredLanguage": "en-US",
- "preferredPronoun": "SHE_HER_HERS",
- "travelerName": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}
}, - "loyalties": [
- {
- "appliedTo": [ ],
- "id": null,
- "issuedBy": null,
- "type": null
}
], - "persona": "EMPLOYEE",
- "businessInfo": {
- "legalEntity": {
- "id": null,
- "name": null,
- "ein": null,
- "externalId": null,
- "companySpecifiedAttributes": [ ]
}, - "companyId": {
- "id": null
}, - "companyInfo": {
- "id": null,
- "name": null,
- "externalId": null
}, - "workerType": "EMPLOYEE",
- "employeeId": "1234",
- "companySpecifiedAttributes": [
- null
], - "userCostCenter": {
- "employeeCount": null,
- "id": null,
- "name": null,
- "externalId": null
}, - "grade": {
- "employeeCount": null,
- "id": null,
- "name": null
}, - "office": {
- "address": null,
- "id": null,
- "name": null,
- "latlng": null,
- "taxId": null
}, - "department": {
- "id": null,
- "name": null,
- "externalId": null
}, - "accountingCode": "123"
}
}
], - "costOfGoodsSold": {
- "payments": [
- {
- "travelerIndices": [
- 0,
- 1
], - "userIds": [
- null
], - "amount": {
- "base": null,
- "tax": null
}, - "fop": {
- "type": null,
- "card": null,
- "additionalInfo": null,
- "accessType": null,
- "paymentMethod": null,
- "paymentMetadata": null,
- "paymentSourceType": null
}, - "paymentReference": "HAH2618716871",
- "paymentType": "FLIGHTS",
- "paymentThirdParty": "STRIPE",
- "paymentId": "string",
- "paymentGateway": "STRIPE",
- "isRefunded": false,
- "selectedPaymentSource": {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
}
]
}, - "costToCustomer": {
- "payments": [
- {
- "travelerIndices": [
- 0,
- 1
], - "userIds": [
- null
], - "amount": {
- "base": null,
- "tax": null
}, - "fop": {
- "type": null,
- "card": null,
- "additionalInfo": null,
- "accessType": null,
- "paymentMethod": null,
- "paymentMetadata": null,
- "paymentSourceType": null
}, - "paymentReference": "HAH2618716871",
- "paymentType": "FLIGHTS",
- "paymentThirdParty": "STRIPE",
- "paymentId": "string",
- "paymentGateway": "STRIPE",
- "isRefunded": false,
- "selectedPaymentSource": {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
}
]
}, - "isFinalized": false,
- "policyInfo": {
- "outOfPolicy": false,
- "approverName": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "reasonCode": "TIMING_OR_SCHEDULING",
- "reason": "Business class cheaper than economy",
- "appliedPolicyInfo": {
- "policies": [
- {
- "id": null,
- "version": null,
- "policyName": null,
- "approvalType": null,
- "policyType": null
}
], - "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
]
}
}, - "airPnr": {
- "legs": [
- {
- "flights": [
- null
], - "brandName": "BUSFLEX",
- "validatingAirlineCode": "AA",
- "legStatus": "PENDING_STATUS",
- "sortingPriority": 1,
- "travelerRestrictions": [
- { }
], - "fareOffers": [
- { }
], - "legId": "1",
- "rateType": "PUBLISHED",
- "legUpdates": {
- "connectionAlerts": [ ]
}, - "preferredTypes": [
- null
], - "preferences": [
- null
], - "scheduleChangeInfo": {
- "flightIndices": [ ],
- "disruptedFlightIndices": [ ]
}
}
], - "airPnrRemarks": [
- {
- "remarkString": "COMPLEATREMARK"
}
], - "travelerInfos": [
- {
- "airVendorCancellationInfo": {
- "airVendorCancellationObjects": [ ]
}, - "travelerIdx": 0,
- "userId": {
- "id": null
}, - "paxType": "ADULT",
- "tickets": [
- null
], - "boardingPass": [
- null
], - "booking": {
- "seats": [ ],
- "luggageDetails": [ ],
- "otherAncillaries": [ ],
- "itinerary": { },
- "otherCharges": [ ]
}, - "appliedCredits": [
- null
], - "specialServiceRequestInfos": [
- null
]
}
], - "automatedCancellationInfo": {
- "supportedCancellations": [
- {
- "cancelType": null,
- "maxCancellationDateTime": null,
- "totalFare": null,
- "penalty": null,
- "merchantFee": null,
- "refund": null
}
]
}, - "automatedExchangeInfo": {
- "supportedExchanges": [
- {
- "legInfos": [ ]
}
]
}, - "bookingMetadata": {
- "fareStatistics": {
- "statisticsItems": [
- null
]
}
}, - "otherServiceInfos": [
- {
- "customText": "Wheelchair access",
- "flightIndexes": [
- null
]
}
], - "holdDeadline": {
- "holdDeadline": {
- "iso8601": "2017-07-21T17:32Z"
}
}, - "airPriceOptimizationMetadata": {
- "oldTickets": [
- "0111234567890"
], - "newTickets": [
- "0111234567890"
], - "oldPnrId": "6789533589",
- "newPnrId": "6789533589",
- "oldPrice": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "newPrice": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "priceDrop": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "penaltyPrice": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "disruptedFlightDetails": [
- {
- "departureDateTime": {
- "iso8601": null
}, - "arrivalDateTime": {
- "iso8601": null
}, - "cabin": "ECONOMY",
- "originAirportCode": "SFO",
- "destinationAirportCode": "LHR",
- "marketing": {
- "num": null,
- "airlineCode": null
}, - "operating": {
- "num": null,
- "airlineCode": null
}
}
]
}, - "hotelPnr": {
- "checkInDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "hotelInfo": {
- "address": {
- "addressLines": [
- null
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- null
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": null,
- "longitude": null
}
}, - "chainCode": "RF",
- "chainName": "Red Roof Inns",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}, - "email": "user@business.com",
- "hotelId": "100094780",
- "name": "San Francisco Airport Red Roof",
- "phone": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "starRating": 3.5,
- "fax": [
- {
- "countryCode": null,
- "countryCodeSource": null,
- "extension": null,
- "isoCountryCode": null,
- "italianLeadingZero": null,
- "nationalNumber": null,
- "numberOfLeadingZeros": null,
- "preferredDomesticCarrierCode": null,
- "rawInput": null,
- "type": null
}
], - "masterChainCode": "EM",
- "brandName": "Marriott Hotel Brands",
- "amenities": [
- {
- "type": null,
- "additionalInfo": null,
- "complimentary": null
}
], - "additionalAmenities": [
- "Room service",
- "Wifi"
], - "imageSets": [
- {
- "category": null,
- "imageGroup": null
}
], - "descriptions": [
- {
- "type": null,
- "value": null
}
], - "thirdPartyHotelCodes": [
- {
- "hotelCode": null,
- "hotelCodeType": null
}
]
}, - "numberOfRooms": 1,
- "payment": {
- "paymentType": "PREPAID",
- "description": "string"
}, - "pnrStatus": "CONFIRMED",
- "room": {
- "bedCount": 1,
- "bedType": "SINGLE",
- "cancellationPolicy": {
- "policy": "NON_REFUNDABLE",
- "deadline": {
- "iso8601": null
}, - "deadlineUtc": {
- "iso8601": null
}, - "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}
}, - "rateInfo": {
- "nightlyRate": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "totalRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "overallPenaltyCharged": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "publishedRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "publishedNightlyRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "prepaidRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "postpaidRate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "rateCode": "SIG",
- "isModifiable": false,
- "isFopModifiable": true
}, - "roomName": "Standard Twin Room (City View)",
- "imageSets": [
- {
- "category": null,
- "imageGroup": null
}
], - "meals": {
- "mealsIncluded": [
- null
], - "mealPlan": "ENGLISH_BREAKFAST"
}, - "roomAmenities": [
- {
- "additionalInfo": null,
- "isComplimentary": null,
- "roomAmenityType": null
}
], - "amenities": [
- {
- "additionalInfo": null,
- "complimentary": null,
- "type": null
}
], - "additionalAmenities": [
- "string"
], - "guaranteeType": "GUARANTEE",
- "additionalDetails": [
- {
- "additionalDetailType": null,
- "text": null
}
], - "roomInfo": {
- "roomType": "ROOM",
- "typeClassDescription": "string",
- "roomView": {
- "type": null,
- "roomClass": [ ]
}
}, - "co2EmissionDetail": {
- "co2EmissionValue": 10.5
}
}, - "vendorConfirmationNumber": "2108528068",
- "travelerInfos": [
- {
- "travelerIdx": 0,
- "userId": {
- "id": null
}, - "loyaltyInfos": [
- null
]
}
], - "sortingPriority": 0,
- "vendorReferenceId": "AWKHGS",
- "vendorCancellationId": "AWKHGS",
- "preferredType": [
- "NOT_PREFERRED"
], - "preferences": [
- {
- "preferredType": "NOT_PREFERRED",
- "blockedReason": "string",
- "label": "string"
}
], - "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 1,
- "childAges": [
- null
], - "numInfants": 1
}
], - "sourceStatus": "string",
- "rebookReference": {
- "cancelledPnrIds": [
- "1234567890"
], - "rebookedPnrId": "1234567890",
- "hotelRateAssuranceMetadata": {
- "selfReportedSavings": {
- "amount": null,
- "currencyCode": null
}, - "actualSavings": {
- "amount": null,
- "currencyCode": null
}
}, - "rebookType": "RATE_ASSURANCE"
}, - "hotelSpecialRequests": {
- "roomLocations": [
- "HIGH_FLOOR"
], - "roomFeatures": [
- "FEATHER_FREE_ROOM"
], - "checkIn": "LATE_CHECK_IN",
- "checkInTime": {
- "iso8601": "17:32"
}, - "flightNumber": "AC1234",
- "additionalNote": "Extra pillows and blankets for added comfort during the stay.",
- "accessibleFeatures": [
- "MOBILITY_ACCESSIBLE_ROOM_WITH_TUB"
]
}
}, - "carPnr": {
- "cancellationPolicy": {
- "policy": "NON_REFUNDABLE",
- "deadline": {
- "iso8601": "2017-07-21T17:32"
}, - "deadlineUtc": {
- "iso8601": "2017-07-21T17:32Z"
}, - "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "carInfo": {
- "carSpec": {
- "airConditioning": "AC_AVAILABLE",
- "amenities": {
- "numDoors": null,
- "numLargeBags": null,
- "numSeatBelts": null,
- "numSeats": null,
- "numSmallBags": null
}, - "type": "ECONOMY",
- "displayName": "Economy",
- "engineType": "PETROL",
- "imageGroups": [
- null
], - "transmission": "MANUAL_4WD"
}, - "dropOffLocation": {
- "address": {
- "addressLines": [ ],
- "administrativeArea": null,
- "administrativeAreaName": null,
- "description": null,
- "isDefault": null,
- "languageCode": null,
- "locality": null,
- "locationCode": null,
- "organization": null,
- "postalCode": null,
- "continentCode": null,
- "recipients": [ ],
- "regionCode": null,
- "regionName": null,
- "revision": null,
- "sortingCode": null,
- "sublocality": null,
- "timezone": null,
- "coordinates": null
}, - "coordinates": {
- "latitude": null,
- "longitude": null
}, - "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE",
- "contactInfo": {
- "phone": [ ],
- "fax": [ ],
- "email": [ ]
}, - "operatingSchedule": {
- "interval": [ ]
}
}, - "mileageAllowance": {
- "length": 150,
- "unit": "MILE"
}, - "pickupLocation": {
- "address": {
- "addressLines": [ ],
- "administrativeArea": null,
- "administrativeAreaName": null,
- "description": null,
- "isDefault": null,
- "languageCode": null,
- "locality": null,
- "locationCode": null,
- "organization": null,
- "postalCode": null,
- "continentCode": null,
- "recipients": [ ],
- "regionCode": null,
- "regionName": null,
- "revision": null,
- "sortingCode": null,
- "sublocality": null,
- "timezone": null,
- "coordinates": null
}, - "coordinates": {
- "latitude": null,
- "longitude": null
}, - "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE",
- "contactInfo": {
- "phone": [ ],
- "fax": [ ],
- "email": [ ]
}, - "operatingSchedule": {
- "interval": [ ]
}
}, - "vendor": {
- "code": "ZE",
- "name": "HERTZ",
- "email": "abc@xyz.com",
- "phone": {
- "countryCode": null,
- "countryCodeSource": null,
- "extension": null,
- "isoCountryCode": null,
- "italianLeadingZero": null,
- "nationalNumber": null,
- "numberOfLeadingZeros": null,
- "preferredDomesticCarrierCode": null,
- "rawInput": null,
- "type": null
}
}, - "carTypeCode": "EBMR",
- "extraMileageCharge": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "preferredType": [
- "NOT_PREFERRED"
], - "preferences": [
- {
- "preferredType": null,
- "blockedReason": null,
- "label": null
}
], - "co2EmissionDetail": {
- "co2EmissionValue": 0.01
}
}, - "dropOffDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "paymentType": "PREPAID",
- "pickupDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "pnrStatus": "CONFIRMED",
- "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "vendorConfirmationNumber": "2108528068",
- "sortingPriority": 0,
- "corporateId": "8371",
- "rateType": "PUBLISHED",
- "sourceStatus": "string",
- "vendorCancellationId": "2108528068",
- "originalCarSearchInfo": {
- "pickup": {
- "location": {
- "airportCode": null,
- "cityCode": null,
- "coordinates": null
}, - "datetime": {
- "iso8601": null
}, - "searchQuery": "London"
}, - "dropOff": {
- "location": {
- "airportCode": null,
- "cityCode": null,
- "coordinates": null
}, - "datetime": {
- "iso8601": null
}, - "searchQuery": "London"
}
}
}, - "railPnr": {
- "inwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- 0
], - "co2EmissionDetails": {
- "co2EmissionKilograms": 10,
- "isApproximate": true
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "legInfos": [
- {
- "allocatedSpaces": [
- { }
], - "travelerRailInfo": [
- null
], - "amenities": [
- null
], - "arriveAt": {
- "iso8601": null
}, - "departAt": {
- "iso8601": null
}, - "arriveAtLocal": {
- "iso8601": null
}, - "departAtLocal": {
- "iso8601": null
}, - "destination": "Liverpool Lime Street",
- "distance": {
- "length": null,
- "unit": null
}, - "duration": {
- "iso8601": null
}, - "fareType": "Anytime Return",
- "origin": "London Euston",
- "travelClass": "FIRST",
- "vehicle": {
- "carrierName": null,
- "timetableId": null,
- "transportName": null,
- "type": null
}, - "originInfo": {
- "name": null,
- "code": null,
- "cityCode": null,
- "timeZone": null,
- "countryCode": null,
- "latLong": null,
- "localCode": null,
- "sourceRefInfos": [ ],
- "stationType": null,
- "cityName": null,
- "stateCode": null,
- "continentCode": null
}, - "destinationInfo": {
- "name": null,
- "code": null,
- "cityCode": null,
- "timeZone": null,
- "countryCode": null,
- "latLong": null,
- "localCode": null,
- "sourceRefInfos": [ ],
- "stationType": null,
- "cityName": null,
- "stateCode": null,
- "continentCode": null
}, - "railFareType": {
- "description": null,
- "fareDetails": [ ],
- "fareSummary": null
}, - "ticketNumber": "345675333",
- "carrierConfirmationNumber": "QP123AF",
- "seatPreferenceSelection": {
- "carriageType": null,
- "deckType": null,
- "direction": null,
- "facilities": [ ],
- "positionType": null,
- "seatLocationType": null,
- "seatType": null
}, - "legId": "9a766905-b5e9-43f7-b985-0738ff692324",
- "vendorName": "ATOC",
- "co2EmissionGramsPerPassenger": 10903
}
], - "outwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- 0
], - "co2EmissionDetails": {
- "co2EmissionKilograms": 10,
- "isApproximate": true
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "rateMetadata": {
- "negotiatedRateType": "CORPORATE_RATE",
- "publishedRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}
}
}, - "paymentMode": "PRE_PAID",
- "sections": [
- {
- "fares": [
- null
], - "rate": {
- "base": null,
- "extras": [ ],
- "refund": null,
- "tax": null,
- "commission": { },
- "includesCommission": null,
- "taxBreakdown": { },
- "transactionDate": null,
- "refundInfo": { }
}, - "sectionStatus": "CONFIRMED",
- "vendorConfirmations": [
- null
], - "vendorName": "ATOC",
- "userFacingStatus": "PENDING_STATUS"
}
], - "tickets": [
- {
- "issuedDateTime": {
- "iso8601": null
}, - "ticketNumber": "0840010000072",
- "legs": [
- null
], - "passengerRefs": [
- null
]
}
], - "ticketDetails": [
- {
- "deliveryOption": "ELECTRONIC_TICKET",
- "eticketMetadata": {
- "description": null,
- "eticketData": null,
- "type": null
}, - "reference": "string"
}
], - "type": "RETURN",
- "vendorConfirmationNumber": "ABQTEJ",
- "itineraryId": "abcde",
- "ancillaries": [
- {
- "travelCard": {
- "fareType": null,
- "rateInfo": null,
- "travelCardKey": null,
- "vendorName": null,
- "zoneValidity": null
}, - "type": "TRAVEL_CARD"
}
], - "termsAndConditions": {
- "conditions": [
- {
- "url": null,
- "text": null
}
]
}, - "exchangeInfo": {
- "exchangeType": "AMEND_RESERVATION",
- "relatedSectionInfo": {
- "newSectionIndexes": [
- null
], - "oldSectionIndexes": [
- null
]
}
}, - "previousItinerary": {
- "type": "RETURN",
- "outwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- null
], - "co2EmissionDetails": {
- "co2EmissionKilograms": null,
- "isApproximate": null
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "inwardJourney": {
- "journeyStatus": "CONFIRMED",
- "legs": [
- null
], - "co2EmissionDetails": {
- "co2EmissionKilograms": null,
- "isApproximate": null
}, - "sortingPriority": 0,
- "fareComposition": "DIRECT_SPLIT",
- "userFacingStatus": "PENDING_STATUS"
}, - "legInfos": [
- {
- "allocatedSpaces": [ ],
- "travelerRailInfo": [ ],
- "amenities": [ ],
- "arriveAt": null,
- "departAt": null,
- "arriveAtLocal": null,
- "departAtLocal": null,
- "destination": null,
- "distance": null,
- "duration": null,
- "fareType": null,
- "origin": null,
- "travelClass": null,
- "vehicle": null,
- "originInfo": null,
- "destinationInfo": null,
- "railFareType": null,
- "ticketNumber": null,
- "carrierConfirmationNumber": null,
- "seatPreferenceSelection": null,
- "legId": null,
- "vendorName": null,
- "co2EmissionGramsPerPassenger": null
}
], - "sections": [
- {
- "fares": [ ],
- "rate": null,
- "sectionStatus": null,
- "vendorConfirmations": [ ],
- "vendorName": null,
- "userFacingStatus": null
}
], - "deliveryOption": "ELECTRONIC_TICKET",
- "sourceReference": "string",
- "rate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "extras": [
- { }
], - "refund": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "commission": {
- "amount": null,
- "percent": null
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [ ]
}, - "transactionDate": {
- "iso8601": null
}, - "refundInfo": {
- "refundAmount": null,
- "refundTaxAmount": null,
- "refundDate": null,
- "penalty": null,
- "refundVoucher": null
}
}
}
}, - "limoPnr": {
- "cancellationPolicy": {
- "policy": "NON_REFUNDABLE",
- "deadline": {
- "iso8601": "2017-07-21T17:32"
}, - "deadlineUtc": {
- "iso8601": "2017-07-21T17:32Z"
}, - "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "driver": {
- "name": "John Doe",
- "phone": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
}, - "legs": [
- {
- "dropOffDateTime": {
- "iso8601": null
}, - "dropOffLocation": {
- "address": null,
- "coordinates": null,
- "counterLocation": null,
- "contactInfo": null,
- "operatingSchedule": null
}, - "dropOffNotes": "string",
- "pickupDateTime": {
- "iso8601": null
}, - "pickupLocation": {
- "address": null,
- "coordinates": null,
- "counterLocation": null,
- "contactInfo": null,
- "operatingSchedule": null
}, - "pickupNotes": "string",
- "sortingPriority": 0
}
], - "limoDetails": {
- "carType": "STANDARD_CAR",
- "electricVehicle": "YES",
- "vendorName": "NATIONAL",
- "limoVendorInfo": {
- "code": "ZE",
- "name": "HERTZ",
- "email": "mail@mail.com"
}
}, - "paymentType": "PREPAID",
- "pnrStatus": "CONFIRMED",
- "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "vendorConfirmationNumber": "2108528068",
- "sourceStatus": "string"
}, - "miscPnr": {
- "description": "Any text info",
- "endDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "pnrStatus": "CONFIRMED",
- "rate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "extras": [
- {
- "type": null,
- "amount": null
}
], - "refund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commission": {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "percent": 10
}, - "includesCommission": false,
- "taxBreakdown": {
- "tax": [
- { }
]
}, - "transactionDate": {
- "iso8601": "2017-07-21"
}, - "refundInfo": {
- "refundAmount": {
- "base": null,
- "tax": null
}, - "refundTaxAmount": {
- "base": null,
- "tax": null
}, - "refundDate": {
- "iso8601": null
}, - "penalty": {
- "base": null,
- "tax": null
}, - "refundVoucher": {
- "amount": null
}
}
}, - "startDateTime": {
- "iso8601": "2017-07-21T17:32"
}, - "vendorConfirmationNumber": "2108528068",
- "sortingPriority": 10,
- "sourceStatus": "string"
}, - "additionalMetadata": {
- "airportInfo": [
- {
- "airportCode": "WRA",
- "airportName": "Warder Airport",
- "cityName": "Werder",
- "countryName": "Ethiopia",
- "countryCode": "ET",
- "zoneName": "Africa/Addis_Ababa",
- "stateCode": "CA"
}
], - "airlineInfo": [
- {
- "airlineCode": "AA",
- "airlineName": "American Airlines"
}
]
}, - "preBookAnswers": {
- "answers": [
- {
- "entityId": "string",
- "userInput": "string",
- "itemIds": [
- null
], - "answers": [
- null
], - "customFieldType": "QUESTION",
- "questionDisplayText": "string",
- "question": {
- "id": null,
- "name": null,
- "questionFormat": null,
- "optionInfo": null,
- "isRequired": null,
- "isDisabled": null,
- "includeInItinerary": null,
- "customFieldLocations": [ ],
- "matchConditions": null,
- "questionType": null
}
}
], - "preBookQuestionResponseId": "string"
}, - "customFields": [
- {
- "id": "string",
- "type": "QUESTION",
- "description": "GLOBAL OFFSITE 2022"
}
], - "bookingHistory": [
- {
- "bookerInfo": {
- "name": "Harry Potter",
- "email": "harry@spotnana.com",
- "role": "AGENT",
- "tmcName": "Spotnana Technology"
}, - "bookingInfo": {
- "updatedDateTime": {
- "iso8601": null
}, - "status": "BOOKED",
- "bookingSourceClient": "ANDROID_APP"
}
}
], - "totalFare": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "serviceFees": [
- {
- "fare": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}
}, - "taxes": [
- {
- "amount": null,
- "taxCode": null,
- "description": null
}
], - "ticketNumber": "string",
- "status": "ISSUED",
- "fop": {
- "type": "CARD",
- "card": {
- "id": null,
- "type": null,
- "company": null,
- "name": null,
- "address": null,
- "number": null,
- "expiryMonth": null,
- "expiryYear": null,
- "cvv": null,
- "label": null,
- "currency": null,
- "externalId": null,
- "vaultId": null,
- "expiry": null,
- "ownershipLabel": null
}, - "additionalInfo": "string",
- "accessType": {
- "accessType": null,
- "entityIds": [ ],
- "entities": [ ]
}, - "paymentMethod": "BREX_POINTS",
- "paymentMetadata": {
- "customPaymentMethodMetadata": { },
- "vendorProgramPaymentMetadata": null,
- "virtualCardMetadata": null,
- "cardMetadata": null
}, - "paymentSourceType": "CARD"
}, - "visibleToTraveler": true,
- "paymentTransactionInfo": {
- "paymentReference": "pi_2PAlaAIE$aaaaAaA0bLqk9AI",
- "gatewayInfo": {
- "stripeInfo": null
}, - "failureReason": {
- "reasonCode": null
}
}
}
], - "paymentInfo": [
- {
- "fop": {
- "type": "CARD",
- "card": {
- "id": null,
- "type": null,
- "company": null,
- "name": null,
- "address": null,
- "number": null,
- "expiryMonth": null,
- "expiryYear": null,
- "cvv": null,
- "label": null,
- "currency": null,
- "externalId": null,
- "vaultId": null,
- "expiry": null,
- "ownershipLabel": null
}, - "additionalInfo": "string",
- "accessType": {
- "accessType": null,
- "entityIds": [ ],
- "entities": [ ]
}, - "paymentMethod": "BREX_POINTS",
- "paymentMetadata": {
- "customPaymentMethodMetadata": { },
- "vendorProgramPaymentMetadata": null,
- "virtualCardMetadata": null,
- "cardMetadata": null
}, - "paymentSourceType": "CARD"
}, - "totalCharge": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "totalRefund": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "netCharge": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}
], - "bookingStatus": "PENDING_STATUS",
- "contactSupport": false,
- "travelerPnrVisibilityStatus": "VISIBLE",
- "shellPnrInfo": {
- "shellPnrCreateReasonType": "CONTENT_NOT_AVAILABLE",
- "createShellPnrReason": "Flight Missing",
- "pnrType": "AIR"
}, - "pnrCreationDetails": {
- "requestedByDetails": {
- "pnrRequestedBy": "Peter",
- "requestedByUserOrgId": {
- "organizationAgencyId": {
- "id": null
}, - "organizationId": {
- "id": null
}, - "userId": {
- "id": null
}, - "tmcInfo": {
- "id": null,
- "primaryServiceProviderTmc": null,
- "secondaryServiceProviderTmcs": [ ],
- "partnerTmcId": null
}, - "tmcBasicInfo": {
- "contractingTmc": null,
- "bookingTmc": null
}
}
}
}, - "approvalInfo": [
- {
- "approvalStatus": "APPROVAL_PENDING"
}
], - "cancellationRequestStatus": "CANCELLATION_IN_PROGRESS",
- "externalInfo": {
- "externalPnrId": "A2345",
- "externalPnrVersion": 1,
- "externalUrlMetadata": "exchange=a,cancel=b"
}, - "tripId": "123456789",
- "documents": [
- {
- "documentId": "f49d00fe-1eda-4304-ba79-a980f565281d",
- "documentMetadata": {
- "documentType": "VISA",
- "entityType": "PNR",
- "entityId": "123124",
- "entityMetadata": {
- "pnrMetadata": null,
- "invoiceMetadata": { },
- "travelType": null
}, - "name": "BoardingPass.pdf"
}
}
], - "freshnessInfo": {
- "latestVersionDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}, - "returnedVersionDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}
}, - "bookingEmailInfo": {
- "disableEmail": true
}, - "llfPnrInfo": {
- "totalFare": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}
}, - "pnrId": "123456789",
- "invoiceInfos": [
- {
- "invoiceNumber": "SPOT-0001",
- "productType": "PNR",
- "invoiceId": "2a5c0a73-1306-47f2-8210-7dfc812f4d0e"
}
], - "totalFareAmount": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}
}, - "dkNumber": "123456789",
- "savingsFare": {
- "fareAmount": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}
}, - "isTaxIncluded": false
}, - "tripUsageMetadata": {
- "tripUsageType": "STANDARD",
- "eventMetadata": {
- "eventId": "123456789"
}
}
}
}
], - "pendingManualFormPnrs": [
- {
- "pnrId": "6926658168",
- "data": {
- "version": 1,
- "createdVia": "OFFLINE",
- "initialVersionCreatedVia": "OFFLINE",
- "sourceInfo": {
- "sourcePnrId": "AEDAVF",
- "bookingSource": "United.com",
- "thirdParty": "United.com",
- "bookingDateTime": {
- "iso8601": "2017-07-21T17:32Z"
}, - "posDescriptor": "LA5K",
- "iataNumber": "426666"
}, - "invoiceDelayedBooking": false,
- "travelers": [
- {
- "travelerPersonalInfo": {
- "loyaltyInfos": [
- null
], - "travelPref": {
- "airPref": null,
- "preferredCurrency": null,
- "railCards": [ ],
- "railPref": null,
- "carPref": null,
- "hotelPref": null
}
}, - "user": {
- "addresses": [
- null
], - "dob": {
- "iso8601": null
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": null,
- "designation": null,
- "email": null,
- "name": null,
- "phoneNumber": null,
- "userOrgId": null
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}, - "paymentInfos": [
- null
], - "phoneNumbers": [
- null
], - "profilePicture": {
- "data": null,
- "dimensions": null,
- "url": null
}, - "nationality": "Indian",
- "title": "MR"
}, - "userBusinessInfo": {
- "department": {
- "id": null,
- "name": null,
- "externalId": null,
- "employeeCount": null
}, - "designation": "MANAGER",
- "email": "user@business.com",
- "employeeId": "101",
- "grade": {
- "employeeCount": null,
- "id": null,
- "name": null
}, - "legalEntityId": {
- "id": null
}, - "managerBasicInfo": {
- "userOrgId": null,
- "persona": null,
- "email": null,
- "name": null,
- "profilePicture": null,
- "tier": null,
- "phoneNumber": null,
- "employeeId": null,
- "isActive": null
}, - "office": {
- "address": null,
- "id": null,
- "name": null,
- "latlng": null,
- "taxId": null
}, - "organizationId": {
- "id": null
}, - "phoneNumbers": [
- null
], - "userCostCenter": {
- "employeeCount": null,
- "id": null,
- "name": null,
- "externalId": null
}, - "designatedApproverInfos": [
- null
], - "designatedApproverUserIds": [
- null
], - "authorizerEmail": "example@email.com"
}, - "userOrgId": {
- "organizationAgencyId": {
- "id": null
}, - "organizationId": {
- "id": null
}, - "userId": {
- "id": null
}, - "tmcInfo": {
- "id": null,
- "primaryServiceProviderTmc": null,
- "secondaryServiceProviderTmcs": [ ],
- "partnerTmcId": null
}, - "tmcBasicInfo": {
- "contractingTmc": null,
- "bookingTmc": null
}
}, - "persona": "EMPLOYEE",
- "isActive": true,
- "tier": "SEAT1A",
- "adhocUserInfo": {
- "profileOwner": {
- "userId": null
}, - "isSaved": false
}, - "externalId": "string"
}
], - "pnrTravelers": [
- {
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "personalInfo": {
- "addresses": [
- null
], - "dob": {
- "iso8601": null
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": null,
- "designation": null,
- "email": null,
- "name": null,
- "phoneNumber": null,
- "userOrgId": null
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}, - "phoneNumbers": [
- null
], - "profilePicture": {
- "data": null,
- "dimensions": null,
- "url": null
}, - "nationality": "Indian",
- "title": "MR",
- "preferredLanguage": "en-US",
- "preferredPronoun": "SHE_HER_HERS",
- "travelerName": {
- "family1": null,
- "family2": null,
- "given": null,
- "middle": null,
- "suffix": null,
- "preferred": null
}
}, - "loyalties": [
- {
- "appliedTo": [ ],
- "id": null,
- "issuedBy": null,
- "type": null
}
], - "persona": "EMPLOYEE",
- "businessInfo": {
- "legalEntity": {
- "id": null,
- "name": null,
- "ein": null,
- "externalId": null,
- "companySpecifiedAttributes": [ ]
}, - "companyId": {
- "id": null
}, - "companyInfo": {
- "id": null,
- "name": null,
- "externalId": null
}, - "workerType": "EMPLOYEE",
- "employeeId": "1234",
- "companySpecifiedAttributes": [
- null
], - "userCostCenter": {
- "employeeCount": null,
- "id": null,
- "name": null,
- "externalId": null
}, - "grade": {
- "employeeCount": null,
- "id": null,
- "name": null
}, - "office": {
- "address": null,
- "id": null,
- "name": null,
- "latlng": null,
- "taxId": null
}, - "department": {
- "id": null,
- "name": null,
- "externalId": null
}, - "accountingCode": "123"
}
}
], - "costOfGoodsSold": {
- "payments": [
- {
- "travelerIndices": [
- 0,
- 1
], - "userIds": [
- null
], - "amount": {
- "base": null,
- "tax": null
}, - "fop": {
- "type": null,
- "card": null,
- "additionalInfo": null,
- "accessType": null,
- "paymentMethod": null,
- "paymentMetadata": null,
- "paymentSourceType": null
}, - "paymentReference": "HAH2618716871",
- "paymentType": "FLIGHTS",
- "paymentThirdParty": "STRIPE",
- "paymentId": "string",
- "paymentGateway": "STRIPE",
- "isRefunded": false,
- "selectedPaymentSource": {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
}
]
}, - "costToCustomer": {
- "payments": [
- {
- "travelerIndices": [
- 0,
- 1
], - "userIds": [
- null
], - "amount": {
- "base": null,
- "tax": null
}, - "fop": {
- "type": null,
- "card": null,
- "additionalInfo": null,
- "accessType": null,
- "paymentMethod": null,
- "paymentMetadata": null,
- "paymentSourceType": null
}, - "paymentReference": "HAH2618716871",
- "paymentType": "FLIGHTS",
- "paymentThirdParty": "STRIPE",
- "paymentId": "string",
- "paymentGateway": "STRIPE",
- "isRefunded": false,
- "selectedPaymentSource": {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
}
]
}, - "isFinalized": false,
- "policyInfo": {
- "outOfPolicy": false,
- "approverName": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "reasonCode": "TIMING_OR_SCHEDULING",
- "reason": "Business class cheaper than economy",
- "appliedPolicyInfo": {
- "policies": [
- {
- "id": null,
- "version": null,
- "policyName": null,
- "approvalType": null,
- "policyType": null
}
], - "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
]
}
}, - "airPnr": {
- "legs": [
- {
- "flights": [
- null
], - "brandName": "BUSFLEX",
- "validatingAirlineCode": "AA",
- "legStatus": "PENDING_STATUS",
- "sortingPriority": 1,
- "travelerRestrictions": [
- { }
], - "fareOffers": [
- { }
], - "legId": "1",
- "rateType": "PUBLISHED",
- "legUpdates": {
- "connectionAlerts": [ ]
}, - "preferredTypes": [
- null
], - "preferences": [
- null
], - "scheduleChangeInfo": {
- "flightIndices": [ ],
- "disruptedFlightIndices": [ ]
}
}
], - "airPnrRemarks": [
- {
- "remarkString": "COMPLEATREMARK"
}
], - "travelerInfos": [
- {
- "airVendorCancellationInfo": {
- "airVendorCancellationObjects": [ ]
}, - "travelerIdx": 0,
- "userId": {
- "id": null
}, - "paxType": "ADULT",
- "tickets": [
- null
], - "boardingPass": [
- null
], - "booking": {
- "seats": [ ],
- "luggageDetails": [ ],
- "otherAncillaries": [ ],
- "itinerary": { },
- "otherCharges":