APIs to manage trips and PNRs.
curl -i -X POST \ https://developer.spotnana.com/_mock/openapi/tripapi/v2/list-organisation-trips \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "organizationId": { "id": "string" }, "updatedAt": { "iso8601": "2017-07-21T17:32Z" }, "pnrType": "AIR", "customFieldIds": [ { "type": "QUESTION", "externalId": "string" } ] }'
{ "trips": [ { … } ] }
curl -i -X POST \ https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "tripName": "string", "tripDescription": "string", "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "registrarId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }'
curl -i -X GET \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "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" } }
curl -i -X PUT \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "tripId": "6926658168", "tripName": "JFK SFO Trip", "tripDescription": "JFK SFO Business Trip" }'
{ "debugIdentifier": "string", "errorMessages": [ { … } ] }
curl -i -X GET \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/detail?refreshType=REFRESH_TYPE_BLOCKING' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
Basic trip info
User facing booking status
Payment info for a given trip. Fares of pending manual form and pending shell pnrs are not considered.
{ "basicTripInfo": { "tripId": "6926658168", "tripName": "JFK SFO Trip", "tripDescription": "JFK SFO Business Trip", "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5", "startDate": { … }, "endDate": { … } }, "pnrs": [ { … } ], "pendingShellPnrs": [ { … } ], "pendingManualFormPnrs": [ { … } ], "tripStatus": "CONFIRMED", "tripBookingStatus": "PENDING_STATUS", "eventSummary": { "id": "12345", "name": "My event", "description": "This is an event description", "startDateTime": { … }, "endDateTime": { … }, "location": { … }, "contacts": [ … ], "documents": [ … ], "bookingGuidelines": [ … ], "allowedBookingTypes": [ … ], "eventUserRsvp": { … }, "contactInfoList": [ … ], "companyId": { … }, "runningStatus": "UPCOMING", "status": "DRAFT", "isRemovedParticipant": true }, "simplePnrs": [ { … } ], "additionalInfo": { "vpayBillBack": "B" }, "tripPaymentInfo": { "totalFare": { … }, "totalFareAmount": { … }, "serviceFeeFareAmount": { … } } }
Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.
List of travelers on this pnr and their information. This is a required field.
Payment information about all goods sold. This is a required field for now.
The per booking answers collected from the traveler during checkout.
Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler
Status of in progress cancellation request CANCELLATION_IN_PROGRESS - Cancellation request is in progress via OBT CANCELLATION_BY_AGENT_REQUESTED - Cancellation request is in progress via agent
Information passed to the Spotnana email system that processes booking updates.
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "version": 1, "sourceInfo": { "sourcePnrId": "AEDAVF", "bookingSource": "United.com", "bookingDateTime": { "iso8601": "2017-07-21T17:32Z" }, "posDescriptor": "LA5K", "iataNumber": "426666" }, "invoiceDelayedBooking": false, "travelers": [ { "travelerPersonalInfo": { "loyaltyInfos": [ { "appliedTo": [ "TAJ" ], "id": "firstId", "issuedBy": "firstIssuedBy", "type": "AIR" } ], "travelPref": { "airPref": { "airlinePrefs": [ { "airlines": [] } ], "alliancePref": { "alliances": [ null ] }, "farePref": { "fareTypes": [ null ] }, "homeAirport": "NEW YORK", "mealPref": { "exclMealPrefs": [ null ], "inclMealPrefs": [ null ], "specialMealDescription": "Veg only meal" }, "numStopPref": { "numOfStops": 34 }, "seatAmenityPref": { "seatAmenityTypes": [ null ] }, "seatLocationPrefs": [ { "cabins": [] } ], "preferredAirports": [ {} ] }, "preferredCurrency": "USD", "railCards": [ { "cardNumber": "string", "expiryDate": {}, "name": "Veterans Railcard", "spotnanaCode": "VET", "vendor": "ATOC" } ], "railPref": { "preferredRailStations": [ {} ], "seatPreference": { "hasAccessibility": false, "seatTypes": [ null ], "seatLocations": [ null ], "deckLevels": [ null ], "seatDirections": [ null ] }, "travelClasses": [ "FIRST" ], "coachPreferences": [ "NON_SMOKING" ], "conditionalRates": [ "AAA" ] }, "carPref": { "vendors": [ {} ], "carTypes": [ "ECONOMY" ], "engineTypes": [ "PETROL" ], "transmissionTypes": [ "AUTOMATIC" ], "conditionalRates": [ "AAA" ] }, "hotelPref": { "hotelParentChains": [ {} ], "hotelBrands": [ {} ], "hotelAmenityTypes": [ "PARKING" ], "roomPreference": { "isMobilityAccessible": false, "bedCount": "ONE_BED", "roomType": "SMOKING", "mostImportantFact": "BED_COUNT", "roomLocation": "HIGH_FLOOR", "pillowType": "FOAM", "roomAmenityPrefs": [ null ] }, "conditionalRates": [ "AAA" ] } } }, "user": { "addresses": [ { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } } ], "dob": { "iso8601": "2017-07-21" }, "email": "example@email.com", "emergencyContactInfo": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "designation": "MANAGER", "email": "emergency-contact@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": {}, "primaryServiceProviderTmc": {}, "secondaryServiceProviderTmcs": [ null ], "partnerTmcId": {} }, "tmcBasicInfo": { "contractingTmc": {}, "bookingTmc": {} } } }, "emergencyContact": { "name": "John Smith", "email": "emergency-contact@email.com", "designation": "MANAGER", "relation": "SPOUSE", "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "preferredLanguage": "en-US" }, "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": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "paymentInfos": [ { "applicableTo": [ "HOTEL" ], "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "address": { "addressLines": [], "recipients": [] }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": {}, "ownershipLabel": "CENTRAL" }, "accessType": "UNKNOWN_TYPE", "access": { "accessType": "UNKNOWN_TYPE", "entityIds": [ null ], "entities": [ null ] } } ], "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": { "height": 120, "width": 240 }, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "nationality": "Indian", "title": "MR" }, "userBusinessInfo": { "department": { "id": { "id": "631ccbcf-9414-5fe0-c234-b324dfbe7422" }, "name": "IT Department", "externalId": "department-ext-id", "employeeCount": 57 }, "designation": "MANAGER", "email": "user@business.com", "employeeId": "101", "grade": { "employeeCount": 75, "id": { "id": "831ccbcb-1416-7fe2-e236-d324dfbe7424" }, "name": "Grade" }, "legalEntityId": { "id": "fc1ccbce-8413-4fe9-b233-a324dfbe7421" }, "managerBasicInfo": { "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": {}, "primaryServiceProviderTmc": {}, "secondaryServiceProviderTmcs": [ null ], "partnerTmcId": {} }, "tmcBasicInfo": { "contractingTmc": {}, "bookingTmc": {} } }, "persona": "EMPLOYEE", "email": "example@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": { "height": 120, "width": 240 }, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "tier": "SEAT1A", "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "employeeId": "string", "isActive": true }, "office": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "id": { "id": "531ccbce-8413-4fe9-b233-a324dfbe7421" }, "name": "Office", "latlng": { "latitude": 77.1025, "longitude": 28.7041 }, "taxId": "133232" }, "organizationId": { "id": "string" }, "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "userCostCenter": { "employeeCount": 120, "id": { "id": "731ccbca-0415-6fe1-d235-c324dfbe7423" }, "name": "CostCenter", "externalId": "external-id" }, "designatedApproverInfos": [ { "userOrgId": { "organizationAgencyId": {}, "organizationId": {}, "userId": {}, "tmcInfo": { "secondaryServiceProviderTmcs": [] }, "tmcBasicInfo": {} }, "persona": "EMPLOYEE", "email": "example@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "tier": "SEAT1A", "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "employeeId": "string", "isActive": true } ], "designatedApproverUserIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "authorizerEmail": "example@email.com" }, "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "primaryServiceProviderTmc": { "tmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "secondaryServiceProviderTmcs": [ { "tmcId": {}, "supplier": "SABRE", "travelType": "AIR" } ], "partnerTmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "tmcBasicInfo": { "contractingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } }, "bookingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } } } }, "persona": "EMPLOYEE", "isActive": true, "tier": "SEAT1A", "adhocUserInfo": { "profileOwner": { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }, "isSaved": false }, "externalId": "string" } ], "pnrTravelers": [ { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "travelerInfo": { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }, "personalInfo": { "addresses": [ { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } } ], "dob": { "iso8601": "2017-07-21" }, "email": "example@email.com", "emergencyContactInfo": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "designation": "MANAGER", "email": "emergency-contact@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": {}, "primaryServiceProviderTmc": {}, "secondaryServiceProviderTmcs": [ null ], "partnerTmcId": {} }, "tmcBasicInfo": { "contractingTmc": {}, "bookingTmc": {} } } }, "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": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": { "height": 120, "width": 240 }, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "nationality": "Indian", "title": "MR", "preferredLanguage": "en-US", "preferredPronoun": "SHE_HER_HERS", "travelerName": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "emergencyContact": { "name": "John Smith", "email": "emergency-contact@email.com", "designation": "MANAGER", "relation": "SPOUSE", "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "preferredLanguage": "en-US" } }, "loyalties": [ { "appliedTo": [ "TAJ" ], "id": "firstId", "issuedBy": "firstIssuedBy", "type": "AIR" } ], "persona": "EMPLOYEE", "businessInfo": { "legalEntity": { "id": "string", "name": "Spotnana India", "ein": "string", "externalId": "abcd", "companySpecifiedAttributes": [ { "fieldName": "businessId", "value": "ABCD" } ] }, "companyId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "companyInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "Spotnana", "externalId": "abcd" }, "workerType": "EMPLOYEE", "employeeId": "1234", "companySpecifiedAttributes": [ { "fixedColumnName": "contingentType", "value": "FSTV" } ], "userCostCenter": { "employeeCount": 120, "id": { "id": "731ccbca-0415-6fe1-d235-c324dfbe7423" }, "name": "CostCenter", "externalId": "external-id" }, "grade": { "employeeCount": 75, "id": { "id": "831ccbcb-1416-7fe2-e236-d324dfbe7424" }, "name": "Grade" }, "office": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "id": { "id": "531ccbce-8413-4fe9-b233-a324dfbe7421" }, "name": "Office", "latlng": { "latitude": 77.1025, "longitude": 28.7041 }, "taxId": "133232" }, "department": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "IT Department", "externalId": "department-ext-id" }, "accountingCode": "123" }, "tier": "SEAT1A" } ], "costOfGoodsSold": { "payments": [ { "travelerIndices": [ 0, 1 ], "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "amount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "fop": { "type": "CARD", "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "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": {} }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": { "tokenizedExpiry": {} }, "ownershipLabel": "CENTRAL" }, "additionalInfo": "string", "accessType": { "accessType": "UNKNOWN_TYPE", "entityIds": [ "string" ], "entities": [ {} ] }, "paymentMethod": "BREX_POINTS", "paymentMetadata": { "customPaymentMethodMetadata": { "brexBudgetMetadata": {} }, "vendorProgramPaymentMetadata": { "directBilling": {} }, "virtualCardMetadata": { "vendorInfo": {}, "cardInfo": {}, "paymentInstructionId": "1eb8b778-f0a6-4037-865c-4580982fa36e", "shouldReveal": false }, "cardMetadata": { "card": {}, "accessType": { "entityIds": [], "entities": [] }, "isLodgeCard": false, "bta": "Y" } }, "paymentSourceType": "CARD" }, "paymentReference": "HAH2618716871", "paymentType": "FLIGHTS", "paymentThirdParty": "STRIPE", "paymentId": "string", "paymentGateway": "STRIPE", "isRefunded": false, "selectedPaymentSource": { "paymentSourceId": "f49d00fe-1eda-4304-ba79-a980f565281d", "rawPaymentSource": { "type": "string", "cardDetails": { "company": "VISA", "token": "4111111111111111", "expiry": {} } }, "postPaymentRedirectionUrl": "https://mycompany.com/checkout?paymentSourceId=f49d00fe-1eda-4304-ba79-a980f565281d", "cvv": "string", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "networkTransactionId": "721107212171711" } ] }, "costToCustomer": { "payments": [ { "travelerIndices": [ 0, 1 ], "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "amount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "fop": { "type": "CARD", "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "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": {} }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": { "tokenizedExpiry": {} }, "ownershipLabel": "CENTRAL" }, "additionalInfo": "string", "accessType": { "accessType": "UNKNOWN_TYPE", "entityIds": [ "string" ], "entities": [ {} ] }, "paymentMethod": "BREX_POINTS", "paymentMetadata": { "customPaymentMethodMetadata": { "brexBudgetMetadata": {} }, "vendorProgramPaymentMetadata": { "directBilling": {} }, "virtualCardMetadata": { "vendorInfo": {}, "cardInfo": {}, "paymentInstructionId": "1eb8b778-f0a6-4037-865c-4580982fa36e", "shouldReveal": false }, "cardMetadata": { "card": {}, "accessType": { "entityIds": [], "entities": [] }, "isLodgeCard": false, "bta": "Y" } }, "paymentSourceType": "CARD" }, "paymentReference": "HAH2618716871", "paymentType": "FLIGHTS", "paymentThirdParty": "STRIPE", "paymentId": "string", "paymentGateway": "STRIPE", "isRefunded": false, "selectedPaymentSource": { "paymentSourceId": "f49d00fe-1eda-4304-ba79-a980f565281d", "rawPaymentSource": { "type": "string", "cardDetails": { "company": "VISA", "token": "4111111111111111", "expiry": {} } }, "postPaymentRedirectionUrl": "https://mycompany.com/checkout?paymentSourceId=f49d00fe-1eda-4304-ba79-a980f565281d", "cvv": "string", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "networkTransactionId": "721107212171711" } ] }, "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": "string", "version": "string", "policyName": "string", "approvalType": "SOFT_APPROVAL", "policyType": "GLOBAL" } ], "ruleResultInfos": [ { "violationInfos": [ { "predicateString": "string", "predicate": "UNKNOWN_PREDICATE_STRING", "expectedValue": {}, "actualValue": {} } ], "subViolationInfos": [ { "predicateString": "string", "predicate": "UNKNOWN_PREDICATE_STRING", "expectedValue": {}, "actualValue": {} } ], "actions": [ { "flag": {} } ] } ] } }, "airPnr": { "legs": [ { "flights": [ { "departureDateTime": { "iso8601": "2017-07-21T17:32" }, "arrivalDateTime": { "iso8601": "2017-07-21T17:32" }, "duration": { "iso8601": "PT19H55M" }, "flightId": "CjoKOGNsYXNzIERhdGVUaW1lTG9jYWwgewogICAgaXNvO", "origin": "SFO", "destination": "LHR", "departureGate": { "gate": "1A", "terminal": "1" }, "arrivalGate": { "gate": "1A", "terminal": "1" }, "marketing": { "num": "321", "airlineCode": "AA" }, "operating": { "num": "321", "airlineCode": "AA" }, "operatingAirlineName": "SKYWEST DBA UNITED EXPRESS", "hiddenStops": [ {} ], "vendorConfirmationNumber": "ABQTEJ", "cabin": "ECONOMY", "bookingCode": "A", "flightStatus": "CONFIRMED", "otherStatuses": [ {} ], "co2EmissionDetail": { "emissionValue": 10, "averageEmissionValue": 10, "flightDistanceKm": 10, "isApproximate": true }, "flightUpdates": { "previousDepartureDateTime": {}, "previousArrivalDateTime": {}, "previousDepartureGate": {}, "previousArrivalGate": {} }, "sourceStatus": "string", "equipment": { "code": "777", "type": "N", "name": "Boeing 737-800" }, "distance": { "length": 150, "unit": "MILE" }, "amenities": [ {} ] } ], "brandName": "BUSFLEX", "validatingAirlineCode": "AA", "legStatus": "PENDING_STATUS", "fareOffers": [ { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "baggagePolicy": { "checkedIn": [ null ], "carryOn": [ null ] }, "cancellationPolicy": { "description": "Non-refundable", "fee": { "otherCoinage": [] }, "assessmentType": "BENEFIT", "isCat16": true, "isConditional": true }, "exchangePolicy": { "description": "Change allowed for free", "fee": { "otherCoinage": [] }, "assessmentType": "BENEFIT", "isCat16": true, "isConditional": true } } ], "rateType": "PUBLISHED", "legUpdates": { "connectionAlerts": [ { "departingFlightIndex": 0, "minConnectionDuration": {}, "previousConnectionDuration": {}, "updatedConnectionDuration": {} } ] }, "scheduleChangeInfo": { "flightIndices": [ 1 ], "disruptedFlightIndices": [ 1 ], "possibleActions": [ "ACCEPT_BOOKING" ] } } ], "airPnrRemarks": [ { "remarkString": "COMPLEATREMARK" } ], "travelerInfos": [ { "airVendorCancellationInfo": { "airVendorCancellationObjects": [ { "vendorCancellationId": "string", "flightAndLegIndices": [ null ] } ] }, "createdMcos": [ { "airline": "string", "fare": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "mcoNumber": "string", "issuedDate": { "iso8601": "2017-07-21T17:32" } } ], "travelerIdx": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "paxType": "ADULT", "tickets": [ { "ticketNumber": "0017574214321", "ticketType": "UNKNOWN_TICKET_TYPE", "issuedDateTime": { "iso8601": "2017-07-21T17:32" }, "status": "ISSUED", "amount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "flightCoupons": [ {} ], "ancillaries": [ {} ], "validatingAirlineCode": "AA", "exchangePolicy": { "exchangePenalty": { "otherCoinage": [] }, "isExchangeable": true, "isCat16": true, "isConditional": true }, "exchangeInfo": { "originalTicketNumber": "0017574214321", "penalty": { "otherCoinage": [] }, "addCollectAmount": {}, "originalTicketDetails": {} }, "refundPolicy": { "refundPenalty": { "otherCoinage": [] }, "isRefundable": true, "isRefundableByObt": true, "isCat16": true, "isConditional": true }, "refundInfo": { "refundAmount": {}, "refundDate": {}, "penalty": {}, "refundTaxBreakdown": { "tax": [] } }, "llfInfo": { "llf": { "otherCoinage": [] }, "reasonCode": "TIMING_OR_SCHEDULING", "reason": "Want a stop in London" }, "taxBreakdown": { "tax": [ {} ] }, "commission": { "amount": { "otherCoinage": [] }, "percent": 10 }, "iataNumber": "string", "fareCalculation": "string", "updateDateTime": { "iso8601": "2017-07-21T17:32" }, "paymentDetails": [ {} ], "ticketSettlement": "ARC_TICKET", "ticketCtc": { "cost": [ {} ] }, "publishedFare": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "merchantFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "airlineFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "vendorCancellationId": "2108528068", "conjunctionTicketSuffix": [ "37" ], "createdUnusedCredit": { "sourcePnr": "MC5ONS", "spotnanaPnr": "2345678", "ticketNumber": "5267779139217", "airlineCode": "AA", "airlineInfo": {}, "totalFare": { "otherCoinage": [] }, "issueDate": {}, "expiryDate": {}, "usedDate": {}, "departureDate": {}, "segmentsAvailable": "UNKNOWN", "passengerName": {}, "departureCountry": "USA", "arrivalCountry": "USA", "ticketType": "TICKET_TYPE_UNKNOWN", "pcc": "string", "status": "STATUS_UNKNOWN", "source": "SABRE", "tripId": "1234567", "redeemVia": "REDEEM_VIA_OBT", "sourceOfTruth": "SPOTNANA", "owningPcc": "string" }, "ticketScheduleChangeInformation": { "possibleActions": [ null ], "refundInfo": {} }, "pcc": "ABCD", "savingsFare": { "fareAmount": {}, "isTaxIncluded": false }, "preBookAnswers": { "answers": [ null ], "preBookQuestionResponseId": "string" } } ], "boardingPass": [ { "legIndex": 0, "flightIndex": 0, "boardingPriority": "A", "boardingZone": "16" } ], "booking": { "seats": [ { "legIdx": 0, "flightIdx": 0, "amount": { "otherCoinage": [] }, "number": "32A", "status": "CONFIRMED", "sourceStatus": "HK" } ], "luggageDetails": [ { "legIdx": 0, "amount": { "otherCoinage": [] }, "weightKg": 40, "numBags": 2, "status": "CONFIRMED" } ], "otherAncillaries": [ { "type": "EARLY_BIRD", "legIndex": 0, "flightIndex": 0, "fare": {}, "status": "CONFIRMED", "flightIds": [ null ] } ], "otherCharges": [ { "amount": { "otherCoinage": [] }, "type": "Meal" } ] }, "appliedCredits": [ { "creditId": "0017574214321", "creditAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "fareDifference": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "penalty": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "specialServiceRequestInfos": [ { "code": "string", "customText": "string", "flightIndex": 0, "legIndex": 0, "status": "SPECIAL_SERVICE_REQUEST_STATUS_UNKNOWN" } ] } ], "automatedCancellationInfo": { "supportedCancellations": [ { "cancelType": "VOID", "maxCancellationDateTime": { "iso8601": "2017-07-21T17:32Z" }, "totalFare": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "penalty": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "merchantFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ] }, "automatedExchangeInfo": { "supportedExchanges": [ { "legInfos": [ { "legIdx": 1 } ] } ] }, "bookingMetadata": { "fareStatistics": { "statisticsItems": [ { "statisticType": "MINIMUM", "totalFare": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } } } ] } }, "otherServiceInfos": [ { "customText": "Wheelchair access", "flightIndexes": [ { "flightIndex": 0, "legIndex": 1 } ] } ], "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "newPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "priceDrop": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "penaltyPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "disruptedFlightDetails": [ { "departureDateTime": { "iso8601": "2017-07-21T17:32" }, "arrivalDateTime": { "iso8601": "2017-07-21T17:32" }, "cabin": "ECONOMY", "originAirportCode": "SFO", "destinationAirportCode": "LHR", "marketing": { "num": "321", "airlineCode": "AA" }, "operating": { "num": "321", "airlineCode": "AA" } } ] }, "hotelPnr": { "checkInDateTime": { "iso8601": "2017-07-21T17:32" }, "checkOutDateTime": { "iso8601": "2017-07-21T17:32" }, "hotelInfo": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "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": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "masterChainCode": "EM", "brandName": "Marriott Hotel Brands", "amenities": [ { "type": "ECO_FRIENDLY", "additionalInfo": "Complimentary in-room coffee or tea", "complimentary": true } ], "additionalAmenities": [ "Room service", "Wifi" ], "imageSets": [ { "category": "UNKNOWN_CATEGORY", "imageGroup": { "caption": "Exterior", "images": [ {} ] } } ], "descriptions": [ { "type": "", "value": "" } ], "thirdPartyHotelCodes": [ { "hotelCode": "string", "hotelCodeType": "SABRE_CSL" } ] }, "numberOfRooms": 1, "payment": { "paymentType": "PREPAID", "description": "string" }, "pnrStatus": "CONFIRMED", "room": { "bedCount": 1, "bedType": "SINGLE", "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "rateInfo": { "nightlyRate": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "totalRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "overallPenaltyCharged": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "publishedNightlyRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "prepaidRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "postpaidRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "rateCode": "SIG", "nightlyRates": [ { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ {} ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "commission": { "amount": { "otherCoinage": [] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": {}, "refundTaxAmount": {}, "refundDate": {}, "penalty": {}, "refundVoucher": {} } } ] }, "roomName": "Standard Twin Room (City View)", "imageSets": [ { "category": "UNKNOWN_CATEGORY", "imageGroup": { "caption": "Exterior", "images": [ {} ] } } ], "meals": { "mealsIncluded": [ "BREAKFAST" ], "mealPlan": "ENGLISH_BREAKFAST" }, "roomAmenities": [ { "additionalInfo": "string", "isComplimentary": true, "roomAmenityType": "WEB_ENABLED" } ], "amenities": [ { "additionalInfo": "string", "complimentary": true, "type": "WEB_ENABLED" } ], "additionalAmenities": [ "string" ], "guaranteeType": "GUARANTEE", "additionalDetails": [ { "additionalDetailType": "ADDITIONAL_DETAIL_TYPE_UNKNOWN", "text": "string" } ], "roomInfo": { "roomType": "ROOM", "typeClassDescription": "string", "roomView": { "type": "UNKNOWN", "roomClass": [ "PRESIDENTIAL" ] }, "roomTypeCode": "1QN" }, "co2EmissionDetail": { "co2EmissionValue": 10.5 }, "rateMetadata": { "negotiatedRateType": "CORPORATE_RATE", "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } } }, "vendorConfirmationNumber": "2108528068", "travelerInfos": [ { "travelerIdx": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "loyaltyInfos": [ { "appliedTo": [ "TAJ" ], "id": "firstId", "issuedBy": "firstIssuedBy", "type": "AIR" } ] } ], "sortingPriority": 0, "vendorReferenceId": "AWKHGS", "vendorCancellationId": "AWKHGS", "preferredType": [ "NOT_PREFERRED" ], "preferences": [ { "preferredType": "NOT_PREFERRED", "blockedReason": "string", "label": "string" } ], "occupancy": [ { "numAdults": 1, "numChildren": 1, "childAges": [ 10 ], "numInfants": 1 } ], "sourceStatus": "string", "rebookReference": { "cancelledPnrIds": [ "1234567890" ], "rebookedPnrId": "1234567890", "hotelRateAssuranceMetadata": { "selfReportedSavings": { "amount": 510, "currencyCode": "GBP" }, "actualSavings": { "amount": 510, "currencyCode": "GBP" } }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "carInfo": { "carSpec": { "airConditioning": "AC_AVAILABLE", "amenities": { "numDoors": 4, "numLargeBags": 2, "numSeatBelts": 5, "numSeats": 5, "numSmallBags": 5 }, "type": "ECONOMY", "displayName": "Economy", "engineType": "PETROL", "imageGroups": [ { "caption": "Exterior", "images": [ {} ] } ], "transmission": "MANUAL_4WD" }, "dropOffLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ { "min": {}, "max": {} } ] } }, "mileageAllowance": { "length": 150, "unit": "MILE" }, "pickupLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ { "min": {}, "max": {} } ] } }, "vendor": { "code": "ZE", "name": "HERTZ", "email": "abc@xyz.com", "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" } }, "carTypeCode": "EBMR", "extraMileageCharge": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "preferredType": [ "NOT_PREFERRED" ], "preferences": [ { "preferredType": "NOT_PREFERRED", "blockedReason": "string", "label": "string" } ], "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "vendorConfirmationNumber": "2108528068", "sortingPriority": 0, "corporateId": "8371", "rateType": "PUBLISHED", "sourceStatus": "string", "vendorCancellationId": "2108528068", "originalCarSearchInfo": { "pickup": { "location": { "airportCode": "SFO", "cityCode": "JFK", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "datetime": { "iso8601": "2017-07-21T17:32" }, "searchQuery": "London" }, "dropOff": { "location": { "airportCode": "SFO", "cityCode": "JFK", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "datetime": { "iso8601": "2017-07-21T17:32" }, "searchQuery": "London" } }, "rateMetadata": { "negotiatedRateType": "CORPORATE_RATE", "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } } } }, "railPnr": { "inwardJourney": { "journeyStatus": "CONFIRMED", "legs": [ 0 ], "co2EmissionDetails": { "co2EmissionKilograms": 10, "isApproximate": true }, "sortingPriority": 0, "fareComposition": "DIRECT_SPLIT", "userFacingStatus": "PENDING_STATUS" }, "legInfos": [ { "allocatedSpaces": [ { "coachNumber": "B", "travelerIdx": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "seatNumber": "32", "additionalProperties": [ "Window" ] } ], "travelerRailInfo": [ { "travelerIndex": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "railCard": { "cardNumber": "string", "expiryDate": {}, "name": "Veterans Railcard", "spotnanaCode": "VET", "vendor": "ATOC" }, "loyaltyDetails": { "loyaltyProgram": "string", "loyaltyNumber": "string" } } ], "amenities": [ { "description": "Seat Reservation", "name": "Seat Reservation", "price": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "quantity": 1, "type": "WIFI" } ], "arriveAt": { "iso8601": "2017-07-21T17:32Z" }, "departAt": { "iso8601": "2017-07-21T17:32Z" }, "arriveAtLocal": { "iso8601": "2017-07-21T17:32" }, "departAtLocal": { "iso8601": "2017-07-21T17:32" }, "destination": "Liverpool Lime Street", "distance": { "length": 150, "unit": "MILE" }, "duration": { "iso8601": "PT19H55M" }, "fareType": "Anytime Return", "origin": "London Euston", "travelClass": "FIRST", "vehicle": { "carrierName": "Deutsche Bahn", "timetableId": "ICE 373", "transportName": "TGV", "type": "TRAIN" }, "originInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ { "stationReferenceId": "https://et2-trainlineapi.ttlnonprod.com/stations/op~U~6e6165d9-1be0-4a52-b461-57f18d756c4c", "inventoryName": "Atoc" } ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "destinationInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ { "stationReferenceId": "https://et2-trainlineapi.ttlnonprod.com/stations/op~U~6e6165d9-1be0-4a52-b461-57f18d756c4c", "inventoryName": "Atoc" } ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "railFareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ { "description": "Your journey must be on the date, or the day after the date, specified on the ticket.", "name": "VALIDITY" } ], "fareSummary": "Any time of day, return within 1 month." }, "ticketNumber": "345675333", "carrierConfirmationNumber": "QP123AF", "seatPreferenceSelection": { "carriageType": "Quiet", "deckType": "Upstairs", "direction": "Backward facing", "facilities": [ "Near luggage rack" ], "positionType": "Window", "seatLocationType": "Sit close to", "seatType": "Family" }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "rateMetadata": { "negotiatedRateType": "CORPORATE_RATE", "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } } }, "passengerInfos": [ { "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "primaryServiceProviderTmc": { "tmcId": {} }, "secondaryServiceProviderTmcs": [ {} ], "partnerTmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "tmcBasicInfo": { "contractingTmc": { "id": {}, "name": "string", "logo": {} }, "bookingTmc": { "id": {}, "name": "string", "logo": {} } } }, "passengerType": "ADULT" } ], "paymentMode": "PRE_PAID", "sections": [ { "fares": [ { "appliedPromotions": [ { "conditions": [] } ], "destinationInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": {}, "localCode": "EUS1444", "sourceRefInfos": [ null ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "fareLegs": [ {} ], "fareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ null ], "fareSummary": "Any time of day, return within 1 month." }, "originInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": {}, "localCode": "EUS1444", "sourceRefInfos": [ null ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "passengerRefs": [ 1 ], "rate": { "base": { "otherCoinage": [] }, "extras": [ {} ], "refund": { "otherCoinage": [] }, "tax": { "otherCoinage": [] }, "commission": {}, "includesCommission": false, "taxBreakdown": { "tax": [] }, "transactionDate": {}, "refundInfo": {} }, "routeRestriction": "Travel is allowed via any permitted route." } ], "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "sectionStatus": "CONFIRMED", "vendorConfirmations": [ { "passengerRefs": [ 1 ], "vendorConfirmationId": "XY179358" } ], "vendorName": "ATOC", "userFacingStatus": "PENDING_STATUS" } ], "tickets": [ { "issuedDateTime": { "iso8601": "2017-07-21T17:32Z" }, "ticketNumber": "0840010000072", "legs": [ 1 ], "passengerRefs": [ 1 ] } ], "ticketDetails": [ { "deliveryOption": "ELECTRONIC_TICKET", "eticketMetadata": { "description": "Rail e-ticket", "eticketData": "string", "type": "PDF" }, "reference": "string", "deliveryStatus": "FULFILLED" } ], "type": "RETURN", "vendorConfirmationNumber": "ABQTEJ", "itineraryId": "abcde", "ancillaries": [ { "travelCard": { "fareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ {} ], "fareSummary": "Any time of day, return within 1 month." }, "rateInfo": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "fees": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "railCardDiscount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "total": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "refundVoucher": { "amount": {} }, "rateDifference": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "totalRateDifference": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "includesCommission": false }, "travelCardKey": "CilvcH5VfmZmMjU0MjVhLTQ1ZGYtNDRlZi1iYjFmLWRhZTYxMDFkMDhiORIkYjJiMTdkZmYtNDgwNy00YzgyLWI2YWEtMWM5Yjc0ZTEzOWZi", "vendorName": "ATOC", "zoneValidity": "London Travelcard Zones 1-4" }, "type": "TRAVEL_CARD" } ], "termsAndConditions": { "conditions": [ { "url": "https://www.amtrak.com/terms-and-conditions.html", "text": "Amtrak" } ] }, "exchangeInfo": { "exchangeType": "AMEND_RESERVATION", "relatedSectionInfo": { "newSectionIndexes": [ 0 ], "oldSectionIndexes": [ 0 ] } }, "previousItinerary": { "type": "RETURN", "outwardJourney": { "journeyStatus": "CONFIRMED", "legs": [ 0 ], "co2EmissionDetails": { "co2EmissionKilograms": 10, "isApproximate": true }, "sortingPriority": 0, "fareComposition": "DIRECT_SPLIT", "userFacingStatus": "PENDING_STATUS" }, "inwardJourney": { "journeyStatus": "CONFIRMED", "legs": [ 0 ], "co2EmissionDetails": { "co2EmissionKilograms": 10, "isApproximate": true }, "sortingPriority": 0, "fareComposition": "DIRECT_SPLIT", "userFacingStatus": "PENDING_STATUS" }, "legInfos": [ { "allocatedSpaces": [ { "coachNumber": "B", "travelerIdx": 0, "userId": {}, "seatNumber": "32", "additionalProperties": [ null ] } ], "travelerRailInfo": [ { "travelerIndex": 0, "userId": {}, "railCard": {}, "loyaltyDetails": {} } ], "amenities": [ { "description": "Seat Reservation", "name": "Seat Reservation", "price": { "otherCoinage": [] }, "quantity": 1, "type": "WIFI" } ], "arriveAt": { "iso8601": "2017-07-21T17:32Z" }, "departAt": { "iso8601": "2017-07-21T17:32Z" }, "arriveAtLocal": { "iso8601": "2017-07-21T17:32" }, "departAtLocal": { "iso8601": "2017-07-21T17:32" }, "destination": "Liverpool Lime Street", "distance": { "length": 150, "unit": "MILE" }, "duration": { "iso8601": "PT19H55M" }, "fareType": "Anytime Return", "origin": "London Euston", "travelClass": "FIRST", "vehicle": { "carrierName": "Deutsche Bahn", "timetableId": "ICE 373", "transportName": "TGV", "type": "TRAIN" }, "originInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ {} ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "destinationInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ {} ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "railFareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ {} ], "fareSummary": "Any time of day, return within 1 month." }, "ticketNumber": "345675333", "carrierConfirmationNumber": "QP123AF", "seatPreferenceSelection": { "carriageType": "Quiet", "deckType": "Upstairs", "direction": "Backward facing", "facilities": [ "Near luggage rack" ], "positionType": "Window", "seatLocationType": "Sit close to", "seatType": "Family" }, "legId": "9a766905-b5e9-43f7-b985-0738ff692324", "vendorName": "ATOC", "co2EmissionGramsPerPassenger": 10903 } ], "sections": [ { "fares": [ { "appliedPromotions": [ null ], "destinationInfo": { "sourceRefInfos": [] }, "fareLegs": [ null ], "fareType": { "fareDetails": [] }, "originInfo": { "sourceRefInfos": [] }, "passengerRefs": [ null ], "rate": { "extras": [], "commission": {}, "taxBreakdown": {}, "refundInfo": {} }, "routeRestriction": "Travel is allowed via any permitted route." } ], "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ {} ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "commission": { "amount": { "otherCoinage": [] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": {}, "refundTaxAmount": {}, "refundDate": {}, "penalty": {}, "refundVoucher": {} } }, "sectionStatus": "CONFIRMED", "vendorConfirmations": [ { "passengerRefs": [ null ], "vendorConfirmationId": "XY179358" } ], "vendorName": "ATOC", "userFacingStatus": "PENDING_STATUS" } ], "deliveryOption": "ELECTRONIC_TICKET", "sourceReference": "string", "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "otherCoinage": [] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } } } }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "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" }, "driverInstructions": "string" }, "legs": [ { "dropOffDateTime": { "iso8601": "2017-07-21T17:32" }, "dropOffLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ {} ] } }, "dropOffNotes": "string", "pickupDateTime": { "iso8601": "2017-07-21T17:32" }, "pickupLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ {} ] } }, "pickupNotes": "string", "sortingPriority": 0 } ], "limoDetails": { "carType": "STANDARD_CAR", "electricVehicle": "YES", "vendorName": "NATIONAL", "limoVendorInfo": { "code": "ZE", "name": "HERTZ", "email": "mail@mail.com" }, "bookingNotes": "string" }, "paymentType": "PREPAID", "pnrStatus": "CONFIRMED", "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "startDateTime": { "iso8601": "2017-07-21T17:32" }, "vendorConfirmationNumber": "2108528068", "sortingPriority": 10, "sourceStatus": "string" }, "additionalMetadata": {}, "preBookAnswers": { "answers": [ { "entityId": "string", "userInput": "string", "itemIds": [ 0 ], "answers": [ { "item": "string", "value": "string", "description": "string" } ], "customFieldType": "QUESTION", "questionDisplayText": "string", "question": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "questionFormat": "CHECKBOX", "optionInfo": { "source": "MANUAL", "sourceMetadata": { "companyConfig": {} }, "totalNumOptions": 0, "options": [ {} ] }, "isRequired": true, "isDisabled": true, "includeInItinerary": true, "customFieldLocations": [ "POLICY_APPROVAL_EMAIL" ], "matchConditions": { "travelerConditions": { "workerTypes": [ null ], "countries": [ null ], "legalEntities": [ null ], "departments": [ null ], "costCenters": [ null ], "offices": [ null ] }, "travelTypes": [ "AIR" ], "travelRegionTypes": [ "DOMESTIC" ], "tripUsageTypes": [ "STANDARD" ] }, "questionType": { "preSearchQuestionType": "PURPOSE_OF_TRIP", "preCheckoutQuestionType": "OOP_REASON_CODE" } } } ], "preBookQuestionResponseId": "string" }, "customFields": [ { "id": "string", "type": "QUESTION", "description": "GLOBAL OFFSITE 2022" } ], "totalFare": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "bookingStatus": "PENDING_STATUS", "travelerPnrVisibilityStatus": "VISIBLE", "shellPnrInfo": { "shellPnrCreateReasonType": "CONTENT_NOT_AVAILABLE", "createShellPnrReason": "Flight Missing", "pnrType": "AIR" }, "pnrCreationDetails": { "requestedByDetails": { "pnrRequestedBy": "Peter", "requestedByUserOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "primaryServiceProviderTmc": { "tmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "secondaryServiceProviderTmcs": [ { "tmcId": {}, "supplier": "SABRE", "travelType": "AIR" } ], "partnerTmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "tmcBasicInfo": { "contractingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } }, "bookingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } } } } } }, "approvalInfo": [ { "approvalStatus": "APPROVAL_PENDING", "approvalType": "SOFT_APPROVAL" } ], "cancellationRequestStatus": "CANCELLATION_IN_PROGRESS", "externalInfo": { "externalPnrId": "A2345", "externalPnrVersion": 1, "externalUrlMetadata": "exchange=a,cancel=b" }, "tripId": "123456789", "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": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "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": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "dkNumber": "123456789", "savingsFare": { "fareAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "isTaxIncluded": false }, "tripUsageMetadata": { "tripUsageType": "STANDARD", "eventMetadata": { "eventId": "123456789" } } }'
curl -i -X GET \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.
Indicates the source of creation of PNR, like SHELL, OBT, etc.
Indicates the source of creation of PNR, like SHELL, OBT, etc.
List of travelers on this pnr and their information. This is a required field.
Payment information about all goods sold. This is a required field for now.
Indicates if finalize action has been performed on the pnr.
The per booking answers collected from the traveler during checkout.
Money object containing details such as the amount, the currency code, and the converted amount.
User facing booking status
Set to true if there might be an issue in the PNR for which the user should be warned to contact TMC support.
Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler
Status of in progress cancellation request CANCELLATION_IN_PROGRESS - Cancellation request is in progress via OBT CANCELLATION_BY_AGENT_REQUESTED - Cancellation request is in progress via agent
Information about the freshness of the data set in this PNR object. This field is only set when the PNR returned is not the latest PNR available.
Information passed to the Spotnana email system that processes booking updates.
{ "version": 1, "createdVia": "OFFLINE", "initialVersionCreatedVia": "OFFLINE", "sourceInfo": { "sourcePnrId": "AEDAVF", "bookingSource": "United.com", "thirdParty": "United.com", "bookingDateTime": { … }, "posDescriptor": "LA5K", "iataNumber": "426666" }, "invoiceDelayedBooking": false, "travelers": [ { … } ], "pnrTravelers": [ { … } ], "costOfGoodsSold": { "payments": [ … ] }, "costToCustomer": { "payments": [ … ] }, "isFinalized": false, "policyInfo": { "outOfPolicy": false, "approverName": { … }, "reasonCode": "TIMING_OR_SCHEDULING", "reason": "Business class cheaper than economy", "appliedPolicyInfo": { … } }, "airPnr": { "legs": [ … ], "airPnrRemarks": [ … ], "travelerInfos": [ … ], "automatedCancellationInfo": { … }, "automatedExchangeInfo": { … }, "bookingMetadata": { … }, "otherServiceInfos": [ … ], "holdDeadline": { … }, "airPriceOptimizationMetadata": { … }, "disruptedFlightDetails": [ … ] }, "hotelPnr": { "checkInDateTime": { … }, "checkOutDateTime": { … }, "hotelInfo": { … }, "numberOfRooms": 1, "payment": { … }, "pnrStatus": "CONFIRMED", "room": { … }, "vendorConfirmationNumber": "2108528068", "travelerInfos": [ … ], "sortingPriority": 0, "vendorReferenceId": "AWKHGS", "vendorCancellationId": "AWKHGS", "preferredType": [ … ], "preferences": [ … ], "occupancy": [ … ], "sourceStatus": "string", "rebookReference": { … }, "hotelSpecialRequests": { … } }, "carPnr": { "cancellationPolicy": { … }, "carInfo": { … }, "dropOffDateTime": { … }, "paymentType": "PREPAID", "pickupDateTime": { … }, "pnrStatus": "CONFIRMED", "rate": { … }, "vendorConfirmationNumber": "2108528068", "sortingPriority": 0, "corporateId": "8371", "rateType": "PUBLISHED", "sourceStatus": "string", "vendorCancellationId": "2108528068", "originalCarSearchInfo": { … }, "rateMetadata": { … } }, "railPnr": { "inwardJourney": { … }, "legInfos": [ … ], "outwardJourney": { … }, "rate": { … }, "rateMetadata": { … }, "passengerInfos": [ … ], "paymentMode": "PRE_PAID", "sections": [ … ], "tickets": [ … ], "ticketDetails": [ … ], "type": "RETURN", "vendorConfirmationNumber": "ABQTEJ", "itineraryId": "abcde", "ancillaries": [ … ], "termsAndConditions": { … }, "exchangeInfo": { … }, "previousItinerary": { … } }, "limoPnr": { "cancellationPolicy": { … }, "driver": { … }, "legs": [ … ], "limoDetails": { … }, "paymentType": "PREPAID", "pnrStatus": "CONFIRMED", "rate": { … }, "vendorConfirmationNumber": "2108528068", "sourceStatus": "string" }, "miscPnr": { "description": "Any text info", "endDateTime": { … }, "pnrStatus": "CONFIRMED", "rate": { … }, "startDateTime": { … }, "vendorConfirmationNumber": "2108528068", "sortingPriority": 10, "sourceStatus": "string" }, "additionalMetadata": { "airportInfo": [ … ], "airlineInfo": [ … ] }, "preBookAnswers": { "answers": [ … ], "preBookQuestionResponseId": "string" }, "customFields": [ { … } ], "bookingHistory": [ { … } ], "totalFare": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ … ] }, "serviceFees": [ { … } ], "paymentInfo": [ { … } ], "bookingStatus": "PENDING_STATUS", "contactSupport": false, "travelerPnrVisibilityStatus": "VISIBLE", "shellPnrInfo": { "shellPnrCreateReasonType": "CONTENT_NOT_AVAILABLE", "createShellPnrReason": "Flight Missing", "pnrType": "AIR" }, "pnrCreationDetails": { "requestedByDetails": { … } }, "approvalInfo": [ { … } ], "cancellationRequestStatus": "CANCELLATION_IN_PROGRESS", "externalInfo": { "externalPnrId": "A2345", "externalPnrVersion": 1, "externalUrlMetadata": "exchange=a,cancel=b" }, "tripId": "123456789", "documents": [ { … } ], "freshnessInfo": { "latestVersionDateTime": { … }, "returnedVersionDateTime": { … } }, "bookingEmailInfo": { "disableEmail": true }, "llfPnrInfo": { "totalFare": { … } }, "pnrId": "123456789", "invoiceInfos": [ { … } ], "totalFareAmount": { "base": { … }, "tax": { … } }, "dkNumber": "123456789", "savingsFare": { "fareAmount": { … }, "isTaxIncluded": false }, "tripUsageMetadata": { "tripUsageType": "STANDARD", "eventMetadata": { … } } }
Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.
List of travelers on this pnr and their information. This is a required field.
Payment information about all goods sold. This is a required field for now.
The per booking answers collected from the traveler during checkout.
Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler
Status of in progress cancellation request CANCELLATION_IN_PROGRESS - Cancellation request is in progress via OBT CANCELLATION_BY_AGENT_REQUESTED - Cancellation request is in progress via agent
Information passed to the Spotnana email system that processes booking updates.
curl -i -X PUT \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "version": 1, "sourceInfo": { "sourcePnrId": "AEDAVF", "bookingSource": "United.com", "bookingDateTime": { "iso8601": "2017-07-21T17:32Z" }, "posDescriptor": "LA5K", "iataNumber": "426666" }, "invoiceDelayedBooking": false, "travelers": [ { "travelerPersonalInfo": { "loyaltyInfos": [ { "appliedTo": [ "TAJ" ], "id": "firstId", "issuedBy": "firstIssuedBy", "type": "AIR" } ], "travelPref": { "airPref": { "airlinePrefs": [ { "airlines": [] } ], "alliancePref": { "alliances": [ null ] }, "farePref": { "fareTypes": [ null ] }, "homeAirport": "NEW YORK", "mealPref": { "exclMealPrefs": [ null ], "inclMealPrefs": [ null ], "specialMealDescription": "Veg only meal" }, "numStopPref": { "numOfStops": 34 }, "seatAmenityPref": { "seatAmenityTypes": [ null ] }, "seatLocationPrefs": [ { "cabins": [] } ], "preferredAirports": [ {} ] }, "preferredCurrency": "USD", "railCards": [ { "cardNumber": "string", "expiryDate": {}, "name": "Veterans Railcard", "spotnanaCode": "VET", "vendor": "ATOC" } ], "railPref": { "preferredRailStations": [ {} ], "seatPreference": { "hasAccessibility": false, "seatTypes": [ null ], "seatLocations": [ null ], "deckLevels": [ null ], "seatDirections": [ null ] }, "travelClasses": [ "FIRST" ], "coachPreferences": [ "NON_SMOKING" ], "conditionalRates": [ "AAA" ] }, "carPref": { "vendors": [ {} ], "carTypes": [ "ECONOMY" ], "engineTypes": [ "PETROL" ], "transmissionTypes": [ "AUTOMATIC" ], "conditionalRates": [ "AAA" ] }, "hotelPref": { "hotelParentChains": [ {} ], "hotelBrands": [ {} ], "hotelAmenityTypes": [ "PARKING" ], "roomPreference": { "isMobilityAccessible": false, "bedCount": "ONE_BED", "roomType": "SMOKING", "mostImportantFact": "BED_COUNT", "roomLocation": "HIGH_FLOOR", "pillowType": "FOAM", "roomAmenityPrefs": [ null ] }, "conditionalRates": [ "AAA" ] } } }, "user": { "addresses": [ { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } } ], "dob": { "iso8601": "2017-07-21" }, "email": "example@email.com", "emergencyContactInfo": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "designation": "MANAGER", "email": "emergency-contact@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": {}, "primaryServiceProviderTmc": {}, "secondaryServiceProviderTmcs": [ null ], "partnerTmcId": {} }, "tmcBasicInfo": { "contractingTmc": {}, "bookingTmc": {} } } }, "emergencyContact": { "name": "John Smith", "email": "emergency-contact@email.com", "designation": "MANAGER", "relation": "SPOUSE", "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "preferredLanguage": "en-US" }, "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": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "paymentInfos": [ { "applicableTo": [ "HOTEL" ], "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "address": { "addressLines": [], "recipients": [] }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": {}, "ownershipLabel": "CENTRAL" }, "accessType": "UNKNOWN_TYPE", "access": { "accessType": "UNKNOWN_TYPE", "entityIds": [ null ], "entities": [ null ] } } ], "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": { "height": 120, "width": 240 }, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "nationality": "Indian", "title": "MR" }, "userBusinessInfo": { "department": { "id": { "id": "631ccbcf-9414-5fe0-c234-b324dfbe7422" }, "name": "IT Department", "externalId": "department-ext-id", "employeeCount": 57 }, "designation": "MANAGER", "email": "user@business.com", "employeeId": "101", "grade": { "employeeCount": 75, "id": { "id": "831ccbcb-1416-7fe2-e236-d324dfbe7424" }, "name": "Grade" }, "legalEntityId": { "id": "fc1ccbce-8413-4fe9-b233-a324dfbe7421" }, "managerBasicInfo": { "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": {}, "primaryServiceProviderTmc": {}, "secondaryServiceProviderTmcs": [ null ], "partnerTmcId": {} }, "tmcBasicInfo": { "contractingTmc": {}, "bookingTmc": {} } }, "persona": "EMPLOYEE", "email": "example@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": { "height": 120, "width": 240 }, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "tier": "SEAT1A", "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "employeeId": "string", "isActive": true }, "office": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "id": { "id": "531ccbce-8413-4fe9-b233-a324dfbe7421" }, "name": "Office", "latlng": { "latitude": 77.1025, "longitude": 28.7041 }, "taxId": "133232" }, "organizationId": { "id": "string" }, "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "userCostCenter": { "employeeCount": 120, "id": { "id": "731ccbca-0415-6fe1-d235-c324dfbe7423" }, "name": "CostCenter", "externalId": "external-id" }, "designatedApproverInfos": [ { "userOrgId": { "organizationAgencyId": {}, "organizationId": {}, "userId": {}, "tmcInfo": { "secondaryServiceProviderTmcs": [] }, "tmcBasicInfo": {} }, "persona": "EMPLOYEE", "email": "example@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "tier": "SEAT1A", "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "employeeId": "string", "isActive": true } ], "designatedApproverUserIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "authorizerEmail": "example@email.com" }, "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "primaryServiceProviderTmc": { "tmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "secondaryServiceProviderTmcs": [ { "tmcId": {}, "supplier": "SABRE", "travelType": "AIR" } ], "partnerTmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "tmcBasicInfo": { "contractingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } }, "bookingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } } } }, "persona": "EMPLOYEE", "isActive": true, "tier": "SEAT1A", "adhocUserInfo": { "profileOwner": { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }, "isSaved": false }, "externalId": "string" } ], "pnrTravelers": [ { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "travelerInfo": { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }, "personalInfo": { "addresses": [ { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } } ], "dob": { "iso8601": "2017-07-21" }, "email": "example@email.com", "emergencyContactInfo": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "designation": "MANAGER", "email": "emergency-contact@email.com", "name": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "phoneNumber": { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" }, "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": {}, "primaryServiceProviderTmc": {}, "secondaryServiceProviderTmcs": [ null ], "partnerTmcId": {} }, "tmcBasicInfo": { "contractingTmc": {}, "bookingTmc": {} } } }, "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": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "profilePicture": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": { "height": 120, "width": 240 }, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" }, "nationality": "Indian", "title": "MR", "preferredLanguage": "en-US", "preferredPronoun": "SHE_HER_HERS", "travelerName": { "family1": "Gandas", "family2": "FamilyTwo", "given": "Vichitr", "middle": "Kumar", "suffix": "SR", "preferred": "Don" }, "emergencyContact": { "name": "John Smith", "email": "emergency-contact@email.com", "designation": "MANAGER", "relation": "SPOUSE", "phoneNumbers": [ { "countryCode": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "preferredLanguage": "en-US" } }, "loyalties": [ { "appliedTo": [ "TAJ" ], "id": "firstId", "issuedBy": "firstIssuedBy", "type": "AIR" } ], "persona": "EMPLOYEE", "businessInfo": { "legalEntity": { "id": "string", "name": "Spotnana India", "ein": "string", "externalId": "abcd", "companySpecifiedAttributes": [ { "fieldName": "businessId", "value": "ABCD" } ] }, "companyId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "companyInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "Spotnana", "externalId": "abcd" }, "workerType": "EMPLOYEE", "employeeId": "1234", "companySpecifiedAttributes": [ { "fixedColumnName": "contingentType", "value": "FSTV" } ], "userCostCenter": { "employeeCount": 120, "id": { "id": "731ccbca-0415-6fe1-d235-c324dfbe7423" }, "name": "CostCenter", "externalId": "external-id" }, "grade": { "employeeCount": 75, "id": { "id": "831ccbcb-1416-7fe2-e236-d324dfbe7424" }, "name": "Grade" }, "office": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "id": { "id": "531ccbce-8413-4fe9-b233-a324dfbe7421" }, "name": "Office", "latlng": { "latitude": 77.1025, "longitude": 28.7041 }, "taxId": "133232" }, "department": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "IT Department", "externalId": "department-ext-id" }, "accountingCode": "123" }, "tier": "SEAT1A" } ], "costOfGoodsSold": { "payments": [ { "travelerIndices": [ 0, 1 ], "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "amount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "fop": { "type": "CARD", "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "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": {} }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": { "tokenizedExpiry": {} }, "ownershipLabel": "CENTRAL" }, "additionalInfo": "string", "accessType": { "accessType": "UNKNOWN_TYPE", "entityIds": [ "string" ], "entities": [ {} ] }, "paymentMethod": "BREX_POINTS", "paymentMetadata": { "customPaymentMethodMetadata": { "brexBudgetMetadata": {} }, "vendorProgramPaymentMetadata": { "directBilling": {} }, "virtualCardMetadata": { "vendorInfo": {}, "cardInfo": {}, "paymentInstructionId": "1eb8b778-f0a6-4037-865c-4580982fa36e", "shouldReveal": false }, "cardMetadata": { "card": {}, "accessType": { "entityIds": [], "entities": [] }, "isLodgeCard": false, "bta": "Y" } }, "paymentSourceType": "CARD" }, "paymentReference": "HAH2618716871", "paymentType": "FLIGHTS", "paymentThirdParty": "STRIPE", "paymentId": "string", "paymentGateway": "STRIPE", "isRefunded": false, "selectedPaymentSource": { "paymentSourceId": "f49d00fe-1eda-4304-ba79-a980f565281d", "rawPaymentSource": { "type": "string", "cardDetails": { "company": "VISA", "token": "4111111111111111", "expiry": {} } }, "postPaymentRedirectionUrl": "https://mycompany.com/checkout?paymentSourceId=f49d00fe-1eda-4304-ba79-a980f565281d", "cvv": "string", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "networkTransactionId": "721107212171711" } ] }, "costToCustomer": { "payments": [ { "travelerIndices": [ 0, 1 ], "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "amount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "fop": { "type": "CARD", "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "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": {} }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": { "tokenizedExpiry": {} }, "ownershipLabel": "CENTRAL" }, "additionalInfo": "string", "accessType": { "accessType": "UNKNOWN_TYPE", "entityIds": [ "string" ], "entities": [ {} ] }, "paymentMethod": "BREX_POINTS", "paymentMetadata": { "customPaymentMethodMetadata": { "brexBudgetMetadata": {} }, "vendorProgramPaymentMetadata": { "directBilling": {} }, "virtualCardMetadata": { "vendorInfo": {}, "cardInfo": {}, "paymentInstructionId": "1eb8b778-f0a6-4037-865c-4580982fa36e", "shouldReveal": false }, "cardMetadata": { "card": {}, "accessType": { "entityIds": [], "entities": [] }, "isLodgeCard": false, "bta": "Y" } }, "paymentSourceType": "CARD" }, "paymentReference": "HAH2618716871", "paymentType": "FLIGHTS", "paymentThirdParty": "STRIPE", "paymentId": "string", "paymentGateway": "STRIPE", "isRefunded": false, "selectedPaymentSource": { "paymentSourceId": "f49d00fe-1eda-4304-ba79-a980f565281d", "rawPaymentSource": { "type": "string", "cardDetails": { "company": "VISA", "token": "4111111111111111", "expiry": {} } }, "postPaymentRedirectionUrl": "https://mycompany.com/checkout?paymentSourceId=f49d00fe-1eda-4304-ba79-a980f565281d", "cvv": "string", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "networkTransactionId": "721107212171711" } ] }, "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": "string", "version": "string", "policyName": "string", "approvalType": "SOFT_APPROVAL", "policyType": "GLOBAL" } ], "ruleResultInfos": [ { "violationInfos": [ { "predicateString": "string", "predicate": "UNKNOWN_PREDICATE_STRING", "expectedValue": {}, "actualValue": {} } ], "subViolationInfos": [ { "predicateString": "string", "predicate": "UNKNOWN_PREDICATE_STRING", "expectedValue": {}, "actualValue": {} } ], "actions": [ { "flag": {} } ] } ] } }, "airPnr": { "legs": [ { "flights": [ { "departureDateTime": { "iso8601": "2017-07-21T17:32" }, "arrivalDateTime": { "iso8601": "2017-07-21T17:32" }, "duration": { "iso8601": "PT19H55M" }, "flightId": "CjoKOGNsYXNzIERhdGVUaW1lTG9jYWwgewogICAgaXNvO", "origin": "SFO", "destination": "LHR", "departureGate": { "gate": "1A", "terminal": "1" }, "arrivalGate": { "gate": "1A", "terminal": "1" }, "marketing": { "num": "321", "airlineCode": "AA" }, "operating": { "num": "321", "airlineCode": "AA" }, "operatingAirlineName": "SKYWEST DBA UNITED EXPRESS", "hiddenStops": [ {} ], "vendorConfirmationNumber": "ABQTEJ", "cabin": "ECONOMY", "bookingCode": "A", "flightStatus": "CONFIRMED", "otherStatuses": [ {} ], "co2EmissionDetail": { "emissionValue": 10, "averageEmissionValue": 10, "flightDistanceKm": 10, "isApproximate": true }, "flightUpdates": { "previousDepartureDateTime": {}, "previousArrivalDateTime": {}, "previousDepartureGate": {}, "previousArrivalGate": {} }, "sourceStatus": "string", "equipment": { "code": "777", "type": "N", "name": "Boeing 737-800" }, "distance": { "length": 150, "unit": "MILE" }, "amenities": [ {} ] } ], "brandName": "BUSFLEX", "validatingAirlineCode": "AA", "legStatus": "PENDING_STATUS", "fareOffers": [ { "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "baggagePolicy": { "checkedIn": [ null ], "carryOn": [ null ] }, "cancellationPolicy": { "description": "Non-refundable", "fee": { "otherCoinage": [] }, "assessmentType": "BENEFIT", "isCat16": true, "isConditional": true }, "exchangePolicy": { "description": "Change allowed for free", "fee": { "otherCoinage": [] }, "assessmentType": "BENEFIT", "isCat16": true, "isConditional": true } } ], "rateType": "PUBLISHED", "legUpdates": { "connectionAlerts": [ { "departingFlightIndex": 0, "minConnectionDuration": {}, "previousConnectionDuration": {}, "updatedConnectionDuration": {} } ] }, "scheduleChangeInfo": { "flightIndices": [ 1 ], "disruptedFlightIndices": [ 1 ], "possibleActions": [ "ACCEPT_BOOKING" ] } } ], "airPnrRemarks": [ { "remarkString": "COMPLEATREMARK" } ], "travelerInfos": [ { "airVendorCancellationInfo": { "airVendorCancellationObjects": [ { "vendorCancellationId": "string", "flightAndLegIndices": [ null ] } ] }, "createdMcos": [ { "airline": "string", "fare": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "mcoNumber": "string", "issuedDate": { "iso8601": "2017-07-21T17:32" } } ], "travelerIdx": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "paxType": "ADULT", "tickets": [ { "ticketNumber": "0017574214321", "ticketType": "UNKNOWN_TICKET_TYPE", "issuedDateTime": { "iso8601": "2017-07-21T17:32" }, "status": "ISSUED", "amount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "flightCoupons": [ {} ], "ancillaries": [ {} ], "validatingAirlineCode": "AA", "exchangePolicy": { "exchangePenalty": { "otherCoinage": [] }, "isExchangeable": true, "isCat16": true, "isConditional": true }, "exchangeInfo": { "originalTicketNumber": "0017574214321", "penalty": { "otherCoinage": [] }, "addCollectAmount": {}, "originalTicketDetails": {} }, "refundPolicy": { "refundPenalty": { "otherCoinage": [] }, "isRefundable": true, "isRefundableByObt": true, "isCat16": true, "isConditional": true }, "refundInfo": { "refundAmount": {}, "refundDate": {}, "penalty": {}, "refundTaxBreakdown": { "tax": [] } }, "llfInfo": { "llf": { "otherCoinage": [] }, "reasonCode": "TIMING_OR_SCHEDULING", "reason": "Want a stop in London" }, "taxBreakdown": { "tax": [ {} ] }, "commission": { "amount": { "otherCoinage": [] }, "percent": 10 }, "iataNumber": "string", "fareCalculation": "string", "updateDateTime": { "iso8601": "2017-07-21T17:32" }, "paymentDetails": [ {} ], "ticketSettlement": "ARC_TICKET", "ticketCtc": { "cost": [ {} ] }, "publishedFare": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "merchantFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "airlineFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "vendorCancellationId": "2108528068", "conjunctionTicketSuffix": [ "37" ], "createdUnusedCredit": { "sourcePnr": "MC5ONS", "spotnanaPnr": "2345678", "ticketNumber": "5267779139217", "airlineCode": "AA", "airlineInfo": {}, "totalFare": { "otherCoinage": [] }, "issueDate": {}, "expiryDate": {}, "usedDate": {}, "departureDate": {}, "segmentsAvailable": "UNKNOWN", "passengerName": {}, "departureCountry": "USA", "arrivalCountry": "USA", "ticketType": "TICKET_TYPE_UNKNOWN", "pcc": "string", "status": "STATUS_UNKNOWN", "source": "SABRE", "tripId": "1234567", "redeemVia": "REDEEM_VIA_OBT", "sourceOfTruth": "SPOTNANA", "owningPcc": "string" }, "ticketScheduleChangeInformation": { "possibleActions": [ null ], "refundInfo": {} }, "pcc": "ABCD", "savingsFare": { "fareAmount": {}, "isTaxIncluded": false }, "preBookAnswers": { "answers": [ null ], "preBookQuestionResponseId": "string" } } ], "boardingPass": [ { "legIndex": 0, "flightIndex": 0, "boardingPriority": "A", "boardingZone": "16" } ], "booking": { "seats": [ { "legIdx": 0, "flightIdx": 0, "amount": { "otherCoinage": [] }, "number": "32A", "status": "CONFIRMED", "sourceStatus": "HK" } ], "luggageDetails": [ { "legIdx": 0, "amount": { "otherCoinage": [] }, "weightKg": 40, "numBags": 2, "status": "CONFIRMED" } ], "otherAncillaries": [ { "type": "EARLY_BIRD", "legIndex": 0, "flightIndex": 0, "fare": {}, "status": "CONFIRMED", "flightIds": [ null ] } ], "otherCharges": [ { "amount": { "otherCoinage": [] }, "type": "Meal" } ] }, "appliedCredits": [ { "creditId": "0017574214321", "creditAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "fareDifference": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "penalty": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "specialServiceRequestInfos": [ { "code": "string", "customText": "string", "flightIndex": 0, "legIndex": 0, "status": "SPECIAL_SERVICE_REQUEST_STATUS_UNKNOWN" } ] } ], "automatedCancellationInfo": { "supportedCancellations": [ { "cancelType": "VOID", "maxCancellationDateTime": { "iso8601": "2017-07-21T17:32Z" }, "totalFare": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "penalty": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "merchantFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ] }, "automatedExchangeInfo": { "supportedExchanges": [ { "legInfos": [ { "legIdx": 1 } ] } ] }, "bookingMetadata": { "fareStatistics": { "statisticsItems": [ { "statisticType": "MINIMUM", "totalFare": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } } } ] } }, "otherServiceInfos": [ { "customText": "Wheelchair access", "flightIndexes": [ { "flightIndex": 0, "legIndex": 1 } ] } ], "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "newPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "priceDrop": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "penaltyPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "disruptedFlightDetails": [ { "departureDateTime": { "iso8601": "2017-07-21T17:32" }, "arrivalDateTime": { "iso8601": "2017-07-21T17:32" }, "cabin": "ECONOMY", "originAirportCode": "SFO", "destinationAirportCode": "LHR", "marketing": { "num": "321", "airlineCode": "AA" }, "operating": { "num": "321", "airlineCode": "AA" } } ] }, "hotelPnr": { "checkInDateTime": { "iso8601": "2017-07-21T17:32" }, "checkOutDateTime": { "iso8601": "2017-07-21T17:32" }, "hotelInfo": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "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": 91, "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN", "extension": "222", "isoCountryCode": "IN", "italianLeadingZero": true, "nationalNumber": 8150, "numberOfLeadingZeros": 1, "preferredDomesticCarrierCode": "7", "rawInput": "77777", "type": "MOBILE" } ], "masterChainCode": "EM", "brandName": "Marriott Hotel Brands", "amenities": [ { "type": "ECO_FRIENDLY", "additionalInfo": "Complimentary in-room coffee or tea", "complimentary": true } ], "additionalAmenities": [ "Room service", "Wifi" ], "imageSets": [ { "category": "UNKNOWN_CATEGORY", "imageGroup": { "caption": "Exterior", "images": [ {} ] } } ], "descriptions": [ { "type": "", "value": "" } ], "thirdPartyHotelCodes": [ { "hotelCode": "string", "hotelCodeType": "SABRE_CSL" } ] }, "numberOfRooms": 1, "payment": { "paymentType": "PREPAID", "description": "string" }, "pnrStatus": "CONFIRMED", "room": { "bedCount": 1, "bedType": "SINGLE", "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "rateInfo": { "nightlyRate": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "totalRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "overallPenaltyCharged": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "publishedNightlyRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "prepaidRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "postpaidRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "rateCode": "SIG", "nightlyRates": [ { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ {} ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "commission": { "amount": { "otherCoinage": [] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": {}, "refundTaxAmount": {}, "refundDate": {}, "penalty": {}, "refundVoucher": {} } } ] }, "roomName": "Standard Twin Room (City View)", "imageSets": [ { "category": "UNKNOWN_CATEGORY", "imageGroup": { "caption": "Exterior", "images": [ {} ] } } ], "meals": { "mealsIncluded": [ "BREAKFAST" ], "mealPlan": "ENGLISH_BREAKFAST" }, "roomAmenities": [ { "additionalInfo": "string", "isComplimentary": true, "roomAmenityType": "WEB_ENABLED" } ], "amenities": [ { "additionalInfo": "string", "complimentary": true, "type": "WEB_ENABLED" } ], "additionalAmenities": [ "string" ], "guaranteeType": "GUARANTEE", "additionalDetails": [ { "additionalDetailType": "ADDITIONAL_DETAIL_TYPE_UNKNOWN", "text": "string" } ], "roomInfo": { "roomType": "ROOM", "typeClassDescription": "string", "roomView": { "type": "UNKNOWN", "roomClass": [ "PRESIDENTIAL" ] }, "roomTypeCode": "1QN" }, "co2EmissionDetail": { "co2EmissionValue": 10.5 }, "rateMetadata": { "negotiatedRateType": "CORPORATE_RATE", "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } } }, "vendorConfirmationNumber": "2108528068", "travelerInfos": [ { "travelerIdx": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "loyaltyInfos": [ { "appliedTo": [ "TAJ" ], "id": "firstId", "issuedBy": "firstIssuedBy", "type": "AIR" } ] } ], "sortingPriority": 0, "vendorReferenceId": "AWKHGS", "vendorCancellationId": "AWKHGS", "preferredType": [ "NOT_PREFERRED" ], "preferences": [ { "preferredType": "NOT_PREFERRED", "blockedReason": "string", "label": "string" } ], "occupancy": [ { "numAdults": 1, "numChildren": 1, "childAges": [ 10 ], "numInfants": 1 } ], "sourceStatus": "string", "rebookReference": { "cancelledPnrIds": [ "1234567890" ], "rebookedPnrId": "1234567890", "hotelRateAssuranceMetadata": { "selfReportedSavings": { "amount": 510, "currencyCode": "GBP" }, "actualSavings": { "amount": 510, "currencyCode": "GBP" } }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "carInfo": { "carSpec": { "airConditioning": "AC_AVAILABLE", "amenities": { "numDoors": 4, "numLargeBags": 2, "numSeatBelts": 5, "numSeats": 5, "numSmallBags": 5 }, "type": "ECONOMY", "displayName": "Economy", "engineType": "PETROL", "imageGroups": [ { "caption": "Exterior", "images": [ {} ] } ], "transmission": "MANUAL_4WD" }, "dropOffLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ { "min": {}, "max": {} } ] } }, "mileageAllowance": { "length": 150, "unit": "MILE" }, "pickupLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ { "min": {}, "max": {} } ] } }, "vendor": { "code": "ZE", "name": "HERTZ", "email": "abc@xyz.com", "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" } }, "carTypeCode": "EBMR", "extraMileageCharge": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "preferredType": [ "NOT_PREFERRED" ], "preferences": [ { "preferredType": "NOT_PREFERRED", "blockedReason": "string", "label": "string" } ], "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "vendorConfirmationNumber": "2108528068", "sortingPriority": 0, "corporateId": "8371", "rateType": "PUBLISHED", "sourceStatus": "string", "vendorCancellationId": "2108528068", "originalCarSearchInfo": { "pickup": { "location": { "airportCode": "SFO", "cityCode": "JFK", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "datetime": { "iso8601": "2017-07-21T17:32" }, "searchQuery": "London" }, "dropOff": { "location": { "airportCode": "SFO", "cityCode": "JFK", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "datetime": { "iso8601": "2017-07-21T17:32" }, "searchQuery": "London" } }, "rateMetadata": { "negotiatedRateType": "CORPORATE_RATE", "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } } } }, "railPnr": { "inwardJourney": { "journeyStatus": "CONFIRMED", "legs": [ 0 ], "co2EmissionDetails": { "co2EmissionKilograms": 10, "isApproximate": true }, "sortingPriority": 0, "fareComposition": "DIRECT_SPLIT", "userFacingStatus": "PENDING_STATUS" }, "legInfos": [ { "allocatedSpaces": [ { "coachNumber": "B", "travelerIdx": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "seatNumber": "32", "additionalProperties": [ "Window" ] } ], "travelerRailInfo": [ { "travelerIndex": 0, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "railCard": { "cardNumber": "string", "expiryDate": {}, "name": "Veterans Railcard", "spotnanaCode": "VET", "vendor": "ATOC" }, "loyaltyDetails": { "loyaltyProgram": "string", "loyaltyNumber": "string" } } ], "amenities": [ { "description": "Seat Reservation", "name": "Seat Reservation", "price": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "quantity": 1, "type": "WIFI" } ], "arriveAt": { "iso8601": "2017-07-21T17:32Z" }, "departAt": { "iso8601": "2017-07-21T17:32Z" }, "arriveAtLocal": { "iso8601": "2017-07-21T17:32" }, "departAtLocal": { "iso8601": "2017-07-21T17:32" }, "destination": "Liverpool Lime Street", "distance": { "length": 150, "unit": "MILE" }, "duration": { "iso8601": "PT19H55M" }, "fareType": "Anytime Return", "origin": "London Euston", "travelClass": "FIRST", "vehicle": { "carrierName": "Deutsche Bahn", "timetableId": "ICE 373", "transportName": "TGV", "type": "TRAIN" }, "originInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ { "stationReferenceId": "https://et2-trainlineapi.ttlnonprod.com/stations/op~U~6e6165d9-1be0-4a52-b461-57f18d756c4c", "inventoryName": "Atoc" } ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "destinationInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ { "stationReferenceId": "https://et2-trainlineapi.ttlnonprod.com/stations/op~U~6e6165d9-1be0-4a52-b461-57f18d756c4c", "inventoryName": "Atoc" } ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "railFareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ { "description": "Your journey must be on the date, or the day after the date, specified on the ticket.", "name": "VALIDITY" } ], "fareSummary": "Any time of day, return within 1 month." }, "ticketNumber": "345675333", "carrierConfirmationNumber": "QP123AF", "seatPreferenceSelection": { "carriageType": "Quiet", "deckType": "Upstairs", "direction": "Backward facing", "facilities": [ "Near luggage rack" ], "positionType": "Window", "seatLocationType": "Sit close to", "seatType": "Family" }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "rateMetadata": { "negotiatedRateType": "CORPORATE_RATE", "publishedRate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } } }, "passengerInfos": [ { "userOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "primaryServiceProviderTmc": { "tmcId": {} }, "secondaryServiceProviderTmcs": [ {} ], "partnerTmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "tmcBasicInfo": { "contractingTmc": { "id": {}, "name": "string", "logo": {} }, "bookingTmc": { "id": {}, "name": "string", "logo": {} } } }, "passengerType": "ADULT" } ], "paymentMode": "PRE_PAID", "sections": [ { "fares": [ { "appliedPromotions": [ { "conditions": [] } ], "destinationInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": {}, "localCode": "EUS1444", "sourceRefInfos": [ null ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "fareLegs": [ {} ], "fareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ null ], "fareSummary": "Any time of day, return within 1 month." }, "originInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": {}, "localCode": "EUS1444", "sourceRefInfos": [ null ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "passengerRefs": [ 1 ], "rate": { "base": { "otherCoinage": [] }, "extras": [ {} ], "refund": { "otherCoinage": [] }, "tax": { "otherCoinage": [] }, "commission": {}, "includesCommission": false, "taxBreakdown": { "tax": [] }, "transactionDate": {}, "refundInfo": {} }, "routeRestriction": "Travel is allowed via any permitted route." } ], "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "otherCoinage": [] } } ], "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": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundTaxAmount": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "otherCoinage": [] }, "tax": { "otherCoinage": [] } }, "refundVoucher": { "amount": {} } } }, "sectionStatus": "CONFIRMED", "vendorConfirmations": [ { "passengerRefs": [ 1 ], "vendorConfirmationId": "XY179358" } ], "vendorName": "ATOC", "userFacingStatus": "PENDING_STATUS" } ], "tickets": [ { "issuedDateTime": { "iso8601": "2017-07-21T17:32Z" }, "ticketNumber": "0840010000072", "legs": [ 1 ], "passengerRefs": [ 1 ] } ], "ticketDetails": [ { "deliveryOption": "ELECTRONIC_TICKET", "eticketMetadata": { "description": "Rail e-ticket", "eticketData": "string", "type": "PDF" }, "reference": "string", "deliveryStatus": "FULFILLED" } ], "type": "RETURN", "vendorConfirmationNumber": "ABQTEJ", "itineraryId": "abcde", "ancillaries": [ { "travelCard": { "fareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ {} ], "fareSummary": "Any time of day, return within 1 month." }, "rateInfo": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "fees": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "railCardDiscount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "total": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "refundVoucher": { "amount": {} }, "rateDifference": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "totalRateDifference": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "includesCommission": false }, "travelCardKey": "CilvcH5VfmZmMjU0MjVhLTQ1ZGYtNDRlZi1iYjFmLWRhZTYxMDFkMDhiORIkYjJiMTdkZmYtNDgwNy00YzgyLWI2YWEtMWM5Yjc0ZTEzOWZi", "vendorName": "ATOC", "zoneValidity": "London Travelcard Zones 1-4" }, "type": "TRAVEL_CARD" } ], "termsAndConditions": { "conditions": [ { "url": "https://www.amtrak.com/terms-and-conditions.html", "text": "Amtrak" } ] }, "exchangeInfo": { "exchangeType": "AMEND_RESERVATION", "relatedSectionInfo": { "newSectionIndexes": [ 0 ], "oldSectionIndexes": [ 0 ] } }, "previousItinerary": { "type": "RETURN", "outwardJourney": { "journeyStatus": "CONFIRMED", "legs": [ 0 ], "co2EmissionDetails": { "co2EmissionKilograms": 10, "isApproximate": true }, "sortingPriority": 0, "fareComposition": "DIRECT_SPLIT", "userFacingStatus": "PENDING_STATUS" }, "inwardJourney": { "journeyStatus": "CONFIRMED", "legs": [ 0 ], "co2EmissionDetails": { "co2EmissionKilograms": 10, "isApproximate": true }, "sortingPriority": 0, "fareComposition": "DIRECT_SPLIT", "userFacingStatus": "PENDING_STATUS" }, "legInfos": [ { "allocatedSpaces": [ { "coachNumber": "B", "travelerIdx": 0, "userId": {}, "seatNumber": "32", "additionalProperties": [ null ] } ], "travelerRailInfo": [ { "travelerIndex": 0, "userId": {}, "railCard": {}, "loyaltyDetails": {} } ], "amenities": [ { "description": "Seat Reservation", "name": "Seat Reservation", "price": { "otherCoinage": [] }, "quantity": 1, "type": "WIFI" } ], "arriveAt": { "iso8601": "2017-07-21T17:32Z" }, "departAt": { "iso8601": "2017-07-21T17:32Z" }, "arriveAtLocal": { "iso8601": "2017-07-21T17:32" }, "departAtLocal": { "iso8601": "2017-07-21T17:32" }, "destination": "Liverpool Lime Street", "distance": { "length": 150, "unit": "MILE" }, "duration": { "iso8601": "PT19H55M" }, "fareType": "Anytime Return", "origin": "London Euston", "travelClass": "FIRST", "vehicle": { "carrierName": "Deutsche Bahn", "timetableId": "ICE 373", "transportName": "TGV", "type": "TRAIN" }, "originInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ {} ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "destinationInfo": { "name": "string", "code": "string", "cityCode": "LON", "timeZone": "Europe/London", "countryCode": "GB", "latLong": { "latitude": 77.1025, "longitude": 28.7041 }, "localCode": "EUS1444", "sourceRefInfos": [ {} ], "stationType": "METRO", "cityName": "LONDON", "stateCode": "MA", "continentCode": "EU" }, "railFareType": { "description": "Anytime Return (1st Class)", "fareDetails": [ {} ], "fareSummary": "Any time of day, return within 1 month." }, "ticketNumber": "345675333", "carrierConfirmationNumber": "QP123AF", "seatPreferenceSelection": { "carriageType": "Quiet", "deckType": "Upstairs", "direction": "Backward facing", "facilities": [ "Near luggage rack" ], "positionType": "Window", "seatLocationType": "Sit close to", "seatType": "Family" }, "legId": "9a766905-b5e9-43f7-b985-0738ff692324", "vendorName": "ATOC", "co2EmissionGramsPerPassenger": 10903 } ], "sections": [ { "fares": [ { "appliedPromotions": [ null ], "destinationInfo": { "sourceRefInfos": [] }, "fareLegs": [ null ], "fareType": { "fareDetails": [] }, "originInfo": { "sourceRefInfos": [] }, "passengerRefs": [ null ], "rate": { "extras": [], "commission": {}, "taxBreakdown": {}, "refundInfo": {} }, "routeRestriction": "Travel is allowed via any permitted route." } ], "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "extras": [ {} ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "commission": { "amount": { "otherCoinage": [] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ {} ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": {}, "refundTaxAmount": {}, "refundDate": {}, "penalty": {}, "refundVoucher": {} } }, "sectionStatus": "CONFIRMED", "vendorConfirmations": [ { "passengerRefs": [ null ], "vendorConfirmationId": "XY179358" } ], "vendorName": "ATOC", "userFacingStatus": "PENDING_STATUS" } ], "deliveryOption": "ELECTRONIC_TICKET", "sourceReference": "string", "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "otherCoinage": [] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } } } }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "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" }, "driverInstructions": "string" }, "legs": [ { "dropOffDateTime": { "iso8601": "2017-07-21T17:32" }, "dropOffLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ {} ] } }, "dropOffNotes": "string", "pickupDateTime": { "iso8601": "2017-07-21T17:32" }, "pickupLocation": { "address": { "addressLines": [ "Golden Gate Bridge" ], "administrativeArea": "CA", "administrativeAreaName": "California", "description": "San Francisco Home", "isDefault": true, "languageCode": "en", "locality": "San Francisco", "locationCode": "LAX", "organization": "Spotnana", "postalCode": "94130", "continentCode": "AF", "recipients": [ "string" ], "regionCode": "US", "regionName": "America", "revision": 1, "sortingCode": "Jamaica", "sublocality": "string", "timezone": "America/Los_Angeles", "coordinates": { "latitude": 77.1025, "longitude": 28.7041 } }, "coordinates": { "latitude": 77.1025, "longitude": 28.7041 }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "contactInfo": { "phone": [ "123 456-7890" ], "fax": [ "123 456-7890" ], "email": [ "user@business.com" ] }, "operatingSchedule": { "interval": [ {} ] } }, "pickupNotes": "string", "sortingPriority": 0 } ], "limoDetails": { "carType": "STANDARD_CAR", "electricVehicle": "YES", "vendorName": "NATIONAL", "limoVendorInfo": { "code": "ZE", "name": "HERTZ", "email": "mail@mail.com" }, "bookingNotes": "string" }, "paymentType": "PREPAID", "pnrStatus": "CONFIRMED", "rate": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "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": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "extras": [ { "type": "SERVICE_CHARGE", "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } } ], "refund": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "commission": { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "percent": 10 }, "includesCommission": false, "taxBreakdown": { "tax": [ { "amount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "taxCode": "string" } ] }, "transactionDate": { "iso8601": "2017-07-21" }, "refundInfo": { "refundAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundTaxAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundDate": { "iso8601": "2017-07-21" }, "penalty": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "refundVoucher": { "amount": { "amount": 510, "currencyCode": "GBP" } } } }, "startDateTime": { "iso8601": "2017-07-21T17:32" }, "vendorConfirmationNumber": "2108528068", "sortingPriority": 10, "sourceStatus": "string" }, "additionalMetadata": {}, "preBookAnswers": { "answers": [ { "entityId": "string", "userInput": "string", "itemIds": [ 0 ], "answers": [ { "item": "string", "value": "string", "description": "string" } ], "customFieldType": "QUESTION", "questionDisplayText": "string", "question": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "questionFormat": "CHECKBOX", "optionInfo": { "source": "MANUAL", "sourceMetadata": { "companyConfig": {} }, "totalNumOptions": 0, "options": [ {} ] }, "isRequired": true, "isDisabled": true, "includeInItinerary": true, "customFieldLocations": [ "POLICY_APPROVAL_EMAIL" ], "matchConditions": { "travelerConditions": { "workerTypes": [ null ], "countries": [ null ], "legalEntities": [ null ], "departments": [ null ], "costCenters": [ null ], "offices": [ null ] }, "travelTypes": [ "AIR" ], "travelRegionTypes": [ "DOMESTIC" ], "tripUsageTypes": [ "STANDARD" ] }, "questionType": { "preSearchQuestionType": "PURPOSE_OF_TRIP", "preCheckoutQuestionType": "OOP_REASON_CODE" } } } ], "preBookQuestionResponseId": "string" }, "customFields": [ { "id": "string", "type": "QUESTION", "description": "GLOBAL OFFSITE 2022" } ], "totalFare": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "bookingStatus": "PENDING_STATUS", "travelerPnrVisibilityStatus": "VISIBLE", "shellPnrInfo": { "shellPnrCreateReasonType": "CONTENT_NOT_AVAILABLE", "createShellPnrReason": "Flight Missing", "pnrType": "AIR" }, "pnrCreationDetails": { "requestedByDetails": { "pnrRequestedBy": "Peter", "requestedByUserOrgId": { "organizationAgencyId": { "id": "string" }, "organizationId": { "id": "string" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tmcInfo": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "primaryServiceProviderTmc": { "tmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "secondaryServiceProviderTmcs": [ { "tmcId": {}, "supplier": "SABRE", "travelType": "AIR" } ], "partnerTmcId": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" } }, "tmcBasicInfo": { "contractingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } }, "bookingTmc": { "id": { "id": "f49d00fe-1eda-4304-ba79-a980f565281d" }, "name": "string", "logo": { "data": "6935813e12584abda0e43d71cd2ea260", "dimensions": {}, "url": "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" } } } } } }, "approvalInfo": [ { "approvalStatus": "APPROVAL_PENDING", "approvalType": "SOFT_APPROVAL" } ], "cancellationRequestStatus": "CANCELLATION_IN_PROGRESS", "externalInfo": { "externalPnrId": "A2345", "externalPnrVersion": 1, "externalUrlMetadata": "exchange=a,cancel=b" }, "tripId": "123456789", "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": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "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": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "dkNumber": "123456789", "savingsFare": { "fareAmount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } }, "isTaxIncluded": false }, "tripUsageMetadata": { "tripUsageType": "STANDARD", "eventMetadata": { "eventId": "123456789" } } }'
{ "debugIdentifier": "string", "errorMessages": [ { … } ] }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}/remarks' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "remarks": [ { "sabre": { "type": "GENERAL", "text": "PREF ALLIANCES 1-ONE WORLD/AA", "legIndex": 1, "flightIndex": 0 } } ] }'
{ "processedRemarks": [ { … } ], "ignoredRemarks": [ { … } ] }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}/finalize' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "preBookAnswers": { "answers": [ { "entityId": "string", "userInput": "string", "itemIds": [ 0 ], "answers": [ { "item": "string", "value": "string", "description": "string" } ], "customFieldType": "QUESTION", "questionDisplayText": "string", "question": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "questionFormat": "CHECKBOX", "optionInfo": { "source": "MANUAL", "sourceMetadata": { "companyConfig": {} }, "totalNumOptions": 0, "options": [ {} ] }, "isRequired": true, "isDisabled": true, "includeInItinerary": true, "customFieldLocations": [ "POLICY_APPROVAL_EMAIL" ], "matchConditions": { "travelerConditions": { "workerTypes": [ null ], "countries": [ null ], "legalEntities": [ null ], "departments": [ null ], "costCenters": [ null ], "offices": [ null ] }, "travelTypes": [ "AIR" ], "travelRegionTypes": [ "DOMESTIC" ], "tripUsageTypes": [ "STANDARD" ] }, "questionType": { "preSearchQuestionType": "PURPOSE_OF_TRIP", "preCheckoutQuestionType": "OOP_REASON_CODE" } } } ], "preBookQuestionResponseId": "string" }, "finalizeIntent": { "airPriceOptimizationMetadata": { "oldTickets": [ "0111234567890" ], "newTickets": [ "0111234567890" ], "oldPnrId": "6789533589", "newPnrId": "6789533589", "oldPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "newPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "priceDrop": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] }, "penaltyPrice": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ { "coinageCode": "BREX_POINTS", "amount": 1000, "conversionRate": 0.01, "preferredCurrencyConversionRate": 0.01 } ] } } }, "finalizeMetadata": { "isMandatoryTicketing": true, "mandatorySkipTicketing": true } }'
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}/suspend' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "reason": "AIR_PRICE_OPTIMIZATION" }'
curl -i -X DELETE \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "debugIdentifier": "string", "errorMessages": [ { … } ] }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/users/{userId}/list' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "paginationRequestParams": { "offset": 0, "limit": 100 }, "includePnrSummaries": true, "tripFilters": [ { "filterType": "string", "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ], "sortOptions": [ { "sortField": "START_DATE", "sortOrder": "DESC" } ] }'
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ { … } ], "failedTripSummaries": [ { … } ] }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/companies/{companyId}/list' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "paginationRequestParams": { "offset": 0, "limit": 100 }, "includePnrSummaries": true, "tripFilters": [ { "filterType": "string", "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ], "sortOptions": [ { "sortField": "START_DATE", "sortOrder": "DESC" } ] }'
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ { … } ], "failedTripSummaries": [ { … } ] }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/arrangers/{arrangerId}/list' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "paginationRequestParams": { "offset": 0, "limit": 100 }, "includePnrSummaries": true, "tripFilters": [ { "filterType": "string", "userIds": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ] } ], "sortOptions": [ { "sortField": "START_DATE", "sortOrder": "DESC" } ] }'
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ { … } ], "failedTripSummaries": [ { … } ] }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}/pnrs/{pnrId}/download-invoice' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": "6935813e12584abda0e43d71cd2ea260" }
Type of cancellation to be performed. For the NO_REFUND, FULL_REFUND and FULL_CREDIT cancellation types, if no cancellationDetails are provided, we assume the entire PNR is being canceled. If the cancellation type is FULL_CREDIT, we will also assume the credits created will have 0 penalty and an expiry date of 1 year from the issue date of the ticket.
List of object to be cancelled and their associated refund details.
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}/cancel' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "cancellationType": "FULL_REFUND", "cancellationDetails": [ { "cancelObjectDetail": { "cancelObjectType": "PNR", "cancelObjectId": "string", "vendorCancellationId": "string" }, "refundInfo": [ { "refundType": "CREDIT", "amount": { "base": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] }, "tax": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ {} ] } }, "fop": { "type": "CARD", "card": { "id": "34d536b6-f8ff-11eb-9a61-0242ac180002", "type": "CREDIT", "company": "VISA", "name": "Harrison Schwartz", "address": { "addressLines": [], "recipients": [] }, "number": "4111111111111111", "expiryMonth": 1, "expiryYear": 2010, "cvv": "012", "label": "Label amex", "currency": "USD", "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40", "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002", "expiry": {}, "ownershipLabel": "CENTRAL" }, "additionalInfo": "string", "accessType": { "accessType": "UNKNOWN_TYPE", "entityIds": [ null ], "entities": [ null ] }, "paymentMethod": "BREX_POINTS", "paymentMetadata": { "customPaymentMethodMetadata": { "brexBudgetMetadata": {} }, "vendorProgramPaymentMetadata": {}, "virtualCardMetadata": {}, "cardMetadata": {} }, "paymentSourceType": "CARD" }, "expiryDate": { "iso8601": "2017-07-21" } } ] } ], "bookingEmailInfo": { "disableEmail": true } }'
curl -i -X GET \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}/booker-email/{bookerEmailId}/partner-info' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "tripId": "6926658168", "partnerInfo": { "partnerInfoType": "BUDGET", "partnerInfoDetails": { … } } }
curl -i -X GET \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}/pnrs/{pnrId}/cancellation-details' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "pnrId": "1234567890", "tripId": "2345678901", "cancellationDetails": { "air": { … } } }
curl -i -X GET \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/pnrs?externalId=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "pnrId": "1234567890", "tripId": "1234567890" }
curl -i -X POST \ 'https://developer.spotnana.com/_mock/openapi/tripapi/v2/pnrs/{pnrId}/process-approval' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "approvalId": "test-approval-id", "approvalType": "APPROVED" }'