Trip API (v2)

Download OpenAPI description
Languages
Servers
Mock server
https://developer.spotnana.com/_mock/openapi/tripapi/
Staging URL
https://apis.spotnana.com/

Trips

APIs to manage trips and PNRs.

Operations

List trips

Request

This endpoint returns the trips and associated PNR's for an organisation, depending on the updated time and pnrType.

Bodyapplication/json
organizationIdobject(OrganizationId)required

Organization id for traveler.

organizationId.​idstringrequired
updatedAtobject(DateTimeOffset)

ISO8601 UTC Date Time

pnrTypestringrequired

Type of PNR

Enum"AIR""CAR""RAIL""HOTEL""LIMO""ALL"
customFieldIdsArray of objects(CustomFieldId)

List of custom field IDs to filter

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"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
tripsArray of objects(OrgTripInfo)
Response
application/json
{ "trips": [ {} ] }

Create trip

Request

This endpoint creates a trip object. A trip is a container object for all related PNRs associated with a trip.

Bodyapplication/json
tripNamestringrequired

Name of the trip.

tripDescriptionstring

Description of the trip.

userIdobject(UserId)

User identifier

registrarIdobject(UserId)

User identifier

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"
    }
  }'

Responses

Created

Bodyapplication/json
idstring
Response
application/json
{ "id": "string" }

Get trip

Request

This endpoint gets trip by ID.

Path
tripIdstringrequired

Identifier for trip.

Example: 2398199412
curl -i -X GET \
  'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
tripIdstringrequired

Spotnana trip Id

Example: "6926658168"
tripNamestringrequired

Name of the trip

Example: "JFK SFO Trip"
tripDescriptionstring

Trip description

Example: "JFK SFO Business Trip"
applicationIdstring(uuid)

Application id used for the trip.

startDateobject(DateModel)

Date in ISO 8601 standard.

endDateobject(DateModel)

Date in ISO 8601 standard.

Response
application/json
{ "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" } }

Update trip

Request

This endpoint updates trip by ID.

Path
tripIdstringrequired

Identifier for trip.

Example: 2398199412
Bodyapplication/json
tripIdstringrequired

Spotnana trip Id

Example: "6926658168"
tripNamestringrequired

Name of the trip

Example: "JFK SFO Trip"
tripDescriptionstring

Trip description

Example: "JFK SFO Business Trip"
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"
  }'

Responses

Updated Successfully

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Get trip details

Request

This endpoint gets trip details for a given trip ID.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
Query
refreshTypestring(RefreshType)

Refresh Type

Enum"REFRESH_TYPE_BLOCKING""REFRESH_TYPE_ASYNC""REFRESH_TYPE_DISABLED"
Example: refreshType=REFRESH_TYPE_BLOCKING
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>'

Responses

OK

Bodyapplication/json
basicTripInfoobject(BasicTripInfo)required

Basic trip info

basicTripInfo.​tripIdstringrequired

Spotnana trip Id

Example: "6926658168"
basicTripInfo.​tripNamestringrequired

Name of the trip

Example: "JFK SFO Trip"
basicTripInfo.​tripDescriptionstring

Trip description

Example: "JFK SFO Business Trip"
basicTripInfo.​applicationIdstring(uuid)

Application id used for the trip.

basicTripInfo.​startDateobject(DateModel)

Date in ISO 8601 standard.

basicTripInfo.​endDateobject(DateModel)

Date in ISO 8601 standard.

pnrsArray of objects(PnrDetailsResponseWithId)required
pnrs[].​pnrIdstring

Unique PNR ID

Example: "6926658168"
pnrs[].​dataobject(PnrData)

Pnr data with all information about a single booking containing one of Air, Hotel, Car, Rail, Limo or Miscellaneous PNR.

pendingShellPnrsArray of objects(PnrDetailsResponseWithId)
pendingManualFormPnrsArray of objects(PnrDetailsResponseWithId)
tripBookingStatusstring(UserFacingStatus)

User facing booking status

Enum"UNKNOWN_STATUS""PENDING_STATUS""CONFIRMED_STATUS""ACTIVE_STATUS""COMPLETED_STATUS""CANCELLED_STATUS""REFUNDED_STATUS""VOIDED_STATUS""PROCESSING_STATUS""UNCONFIRMED_STATUS"
eventSummaryobject(TravelerEventSummary)

Event summary for a traveler

simplePnrsArray of objects(SimplePnr)
additionalInfoobject(TripAdditionalInfo)

Additional information about the trip

tripPaymentInfoobject(TripPaymentInfo)

Payment info for a given trip. Fares of pending manual form and pending shell pnrs are not considered.

tripStatusstring(PnrBookingStatus)Deprecated

User facing status for this booking

Enum"PENDING""CONFIRMED""ACTIVE""COMPLETED""CANCELLED""REFUNDED""VOIDED""PROCESSING""UNCONFIRMED""AIRLINE_CONTROL"
Response
application/json
{ "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": {} } }

Create PNR

Request

This endpoint creates a PNR. A PNR represents a booking in spotnana. This could be Air/Hotel/Car/Rail booking. This endpoint is used to creare PNR document for a booking that is created outside Spotnana platform and its details are to be put in Spotnana.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
Bodyapplication/json
versioninteger(int32)

Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.

Example: 1
sourceInfoobject(SourceInfo)

Information about the source of booking

invoiceDelayedBookingboolean

True if the billing is delayed

Example: false
pnrTravelersArray of objects(PnrTraveler)non-empty

List of travelers on this pnr and their information. This is a required field.

costOfGoodsSoldobject(COGS)

Payment information about all goods sold. This is a required field for now.

costToCustomerobject(CTC)

Cost of services, charged to customer

policyInfoobject(PolicyInfo)

Policy related info for this booking

airPnrobject(Air)

Air PNR information

hotelPnrobject(Hotel)

Hotel PNR information

carPnrobject(Car)

Car PNR information

railPnrobject(Rail)

Rail PNR information

limoPnrobject(LimoInfo)

Limo info

miscPnrobject(MiscInfo)

Misc info

additionalMetadataobject

Any addtional metadata associated with the booking

preBookAnswersobject(PreBookAnswers)

The per booking answers collected from the traveler during checkout.

customFieldsArray of objects(CustomField)

List of all the Custom Fields associated with this Pnr

travelerPnrVisibilityStatusstring

Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler

Enum"VISIBLE""HIDDEN"
shellPnrInfoobject(ShellPnrInfo)

Information about shell pnr

pnrCreationDetailsobject(PnrCreationDetails)

Information about pnr creation

approvalInfoArray of objects(ApprovalInfo)

Approval related information for the PNR

cancellationRequestStatusstring(CancellationRequestStatus)

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

Enum"CANCELLATION_IN_PROGRESS""CANCELLATION_BY_AGENT_REQUESTED"
externalInfoobject

PNR related external information

tripIdstring

Spotnana trip ID to which the PNR belongs to

Example: "123456789"
bookingEmailInfoobject

Information passed to the Spotnana email system that processes booking updates.

llfPnrInfoobject(LLFPnrInfo)

Lowest logical fare info at pnr level

pnrIdstring

Spotnana PNR ID

Example: "123456789"
invoiceInfosArray of objects(InvoiceInfo)

Invoice related information for the PNR

totalFareAmountobject(FareAmount)

Fare amount including base fare and tax.

dkNumberstring

DK number attached to the PNR.

Example: "123456789"
tripUsageMetadataobject(TripUsageMetadata)

Usage metadata associated with the trip entity.

travelersArray of objects(Traveler)non-emptyDeprecated
savingsFareobject(SavingsFare)Deprecated

Total savings present.

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"
        }
      }
    ],
    "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"
              }
            }
          ],
          "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
                ]
              }
            ]
          },
          "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": {}
              },
              "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"
        },
        "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
        },
        "savingsInfo": {
          "tmcNegotiatedRate": {
            "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": {}
              }
            }
          },
          "corporateNegotiatedRate": {
            "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": {}
              }
            }
          }
        }
      },
      "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"
        }
      }
    },
    "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"
              },
              "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": []
                },
                "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"
      }
    ],
    "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"
      }
    }
  }'

Responses

Created

Bodyapplication/json
idstring
Response
application/json
{ "id": "string" }

Get PNR

Request

This endpoint gets PNR for a given trip ID and PNR ID.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
pnrIdstringrequired

Pnr Id

Example: 6926658168
curl -i -X GET \
  'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/pnrs/{pnrId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
versioninteger(int32)

Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.

Example: 1
createdViastring(CreatedVia)read-only

Indicates the source of creation of PNR, like SHELL, OBT, etc.

Enum"OFFLINE""OBT""SHELL""PASSIVE""API"
initialVersionCreatedViastring(CreatedVia)read-only

Indicates the source of creation of PNR, like SHELL, OBT, etc.

Enum"OFFLINE""OBT""SHELL""PASSIVE""API"
sourceInfoobject(SourceInfo)

Information about the source of booking

invoiceDelayedBookingboolean

True if the billing is delayed

Example: false
pnrTravelersArray of objects(PnrTraveler)non-empty

List of travelers on this pnr and their information. This is a required field.

costOfGoodsSoldobject(COGS)

Payment information about all goods sold. This is a required field for now.

costToCustomerobject(CTC)

Cost of services, charged to customer

isFinalizedbooleanread-only

Indicates if finalize action has been performed on the pnr.

Example: false
policyInfoobject(PolicyInfo)

Policy related info for this booking

airPnrobject(Air)

Air PNR information

hotelPnrobject(Hotel)

Hotel PNR information

carPnrobject(Car)

Car PNR information

railPnrobject(Rail)

Rail PNR information

limoPnrobject(LimoInfo)

Limo info

miscPnrobject(MiscInfo)

Misc info

additionalMetadataobject

Any addtional metadata associated with the booking

preBookAnswersobject(PreBookAnswers)

The per booking answers collected from the traveler during checkout.

customFieldsArray of objects(CustomField)

List of all the Custom Fields associated with this Pnr

bookingHistoryArray of objects(BookingHistory)read-only

Change Log associated with a PNR/Booking

totalFareobject(Money)read-only

Money object containing details such as the amount, the currency code, and the converted amount.

serviceFeesArray of objects(ServiceFee)read-only

The service fees associated with this pnr.

paymentInfoArray of objects(PaymentInfo)read-only

FOP fare breakup for all payments

bookingStatusstring(UserFacingStatus)read-only

User facing booking status

Enum"UNKNOWN_STATUS""PENDING_STATUS""CONFIRMED_STATUS""ACTIVE_STATUS""COMPLETED_STATUS""CANCELLED_STATUS""REFUNDED_STATUS""VOIDED_STATUS""PROCESSING_STATUS""UNCONFIRMED_STATUS"
contactSupportbooleanread-only

Set to true if there might be an issue in the PNR for which the user should be warned to contact TMC support.

Example: false
travelerPnrVisibilityStatusstring

Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler

Enum"VISIBLE""HIDDEN"
shellPnrInfoobject(ShellPnrInfo)

Information about shell pnr

pnrCreationDetailsobject(PnrCreationDetails)

Information about pnr creation

approvalInfoArray of objects(ApprovalInfo)

Approval related information for the PNR

cancellationRequestStatusstring(CancellationRequestStatus)

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

Enum"CANCELLATION_IN_PROGRESS""CANCELLATION_BY_AGENT_REQUESTED"
externalInfoobject

PNR related external information

tripIdstring

Spotnana trip ID to which the PNR belongs to

Example: "123456789"
documentsArray of objects(Document)read-only
freshnessInfoobject(FreshnessInfo)read-only

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.

bookingEmailInfoobject

Information passed to the Spotnana email system that processes booking updates.

llfPnrInfoobject(LLFPnrInfo)

Lowest logical fare info at pnr level

pnrIdstring

Spotnana PNR ID

Example: "123456789"
invoiceInfosArray of objects(InvoiceInfo)

Invoice related information for the PNR

totalFareAmountobject(FareAmount)

Fare amount including base fare and tax.

dkNumberstring

DK number attached to the PNR.

Example: "123456789"
tripUsageMetadataobject(TripUsageMetadata)

Usage metadata associated with the trip entity.

travelersArray of objects(Traveler)non-emptyDeprecated
savingsFareobject(SavingsFare)Deprecated

Total savings present.

Response
application/json
{ "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": {} }, "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": {} } }

Update PNR

Request

This endpoint updates PNR by ID.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
pnrIdstringrequired

Pnr Id

Example: 6926658168
Bodyapplication/json
versioninteger(int32)

Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.

Example: 1
sourceInfoobject(SourceInfo)

Information about the source of booking

invoiceDelayedBookingboolean

True if the billing is delayed

Example: false
pnrTravelersArray of objects(PnrTraveler)non-empty

List of travelers on this pnr and their information. This is a required field.

costOfGoodsSoldobject(COGS)

Payment information about all goods sold. This is a required field for now.

costToCustomerobject(CTC)

Cost of services, charged to customer

policyInfoobject(PolicyInfo)

Policy related info for this booking

airPnrobject(Air)

Air PNR information

hotelPnrobject(Hotel)

Hotel PNR information

carPnrobject(Car)

Car PNR information

railPnrobject(Rail)

Rail PNR information

limoPnrobject(LimoInfo)

Limo info

miscPnrobject(MiscInfo)

Misc info

additionalMetadataobject

Any addtional metadata associated with the booking

preBookAnswersobject(PreBookAnswers)

The per booking answers collected from the traveler during checkout.

customFieldsArray of objects(CustomField)

List of all the Custom Fields associated with this Pnr

travelerPnrVisibilityStatusstring

Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler

Enum"VISIBLE""HIDDEN"
shellPnrInfoobject(ShellPnrInfo)

Information about shell pnr

pnrCreationDetailsobject(PnrCreationDetails)

Information about pnr creation

approvalInfoArray of objects(ApprovalInfo)

Approval related information for the PNR

cancellationRequestStatusstring(CancellationRequestStatus)

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

Enum"CANCELLATION_IN_PROGRESS""CANCELLATION_BY_AGENT_REQUESTED"
externalInfoobject

PNR related external information

tripIdstring

Spotnana trip ID to which the PNR belongs to

Example: "123456789"
bookingEmailInfoobject

Information passed to the Spotnana email system that processes booking updates.

llfPnrInfoobject(LLFPnrInfo)

Lowest logical fare info at pnr level

pnrIdstring

Spotnana PNR ID

Example: "123456789"
invoiceInfosArray of objects(InvoiceInfo)

Invoice related information for the PNR

totalFareAmountobject(FareAmount)

Fare amount including base fare and tax.

dkNumberstring

DK number attached to the PNR.

Example: "123456789"
tripUsageMetadataobject(TripUsageMetadata)

Usage metadata associated with the trip entity.

travelersArray of objects(Traveler)non-emptyDeprecated
savingsFareobject(SavingsFare)Deprecated

Total savings present.

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"
        }
      }
    ],
    "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"
              }
            }
          ],
          "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
                ]
              }
            ]
          },
          "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": {}
              },
              "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"
        },
        "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
        },
        "savingsInfo": {
          "tmcNegotiatedRate": {
            "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": {}
              }
            }
          },
          "corporateNegotiatedRate": {
            "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": {}
              }
            }
          }
        }
      },
      "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"
        }
      }
    },
    "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"
              },
              "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": []
                },
                "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"
      }
    ],
    "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"
      }
    }
  }'

Responses

Updated Successfully

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Add Remark

Request

This endpoint provided adding third party remarks to the given PNR.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
pnrIdstringrequired

PNR ID

Example: 6926658168
Bodyapplication/jsonrequired
remarksArray of SabrePnrRemarkWrapper (object)(ThirdPartyPnrRemark)required

The list of remarks to be added to the give PNR.

One of:

Third party remarks to the given PNR

remarks[].​sabreobject(SabrePnrRemark)

Sabre Remark

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
        }
      }
    ]
  }'

Responses

OK

Bodyapplication/json
processedRemarksArray of SabrePnrRemarkWrapper (object)(ThirdPartyPnrRemark)

The list of remarks added to the given PNR.

ignoredRemarksArray of SabrePnrRemarkWrapper (object)(ThirdPartyPnrRemark)

The list of remarks ignored.

Response
application/json
{ "processedRemarks": [ {} ], "ignoredRemarks": [ {} ] }

Finalize the given pnr.

Request

This endpoint changes the metadata of PNR to finalized and triggers supplier actions if required.

Path
tripIdstringrequired

Trip Id

Example: 6926658168
pnrIdstringrequired

Pnr Id

Example: 6926658168
Bodyapplication/json
preBookAnswersobject(PreBookAnswers)
finalizeIntentFinalizeIntent (object) or FinalizeIntent (object) or FinalizeIntent (object)(FinalizeIntent)
One of:

Wrapper for AirPriceOptimizationMetadata.

finalizeMetadataobject(FinalizeMetadata)

Metadata information related to finalize request

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
    }
  }'

Responses

OK

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Suspend the given pnr.

Request

This endpoint suspends the PNR, transitioning it into a read-only state. Once suspended, updates via OBT will be restricted. This API serves various use cases, such as price optimization and rebooking.

Path
tripIdstringrequired

Trip Id

Example: 6926658168
pnrIdstringrequired

Pnr Id

Example: 6926658168
Bodyapplication/jsonrequired
reasonstringrequired

Reason for suspending the pnr

Enum"AIR_PRICE_OPTIMIZATION""EXCHANGE"
Example: "AIR_PRICE_OPTIMIZATION"
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"
  }'

Responses

OK

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Delete trip

Request

This endpoint deletes a trip by ID.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
curl -i -X DELETE \
  'https://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Deleted Successfully

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Get Trip Summaries list for the user

Request

This endpoint gets trip Summaries list for the user

Path
userIdstring(uuid)required

Identifier for the user whose trip summaries are requested.

Example: 4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
paginationRequestParamsobject(OffsetBasedPaginationRequestParams)required

Pagination parameters for requests.

paginationRequestParams.​offsetinteger(int32)>= 0

Offset indicates the start index in the list. Server would return results starting from this index. The value starts from 0.

Default 0
paginationRequestParams.​limitinteger(int32)>= 1

Maximum number of results to be to fetched.

Default 100
includePnrSummariesboolean

Boolean flag to include PNR summaries in the response

Example: true
tripFiltersArray of objects(TripFilters)

Filter for the list trip summary request.

sortOptionsArray of objects(TripSortOptions)

Sort options for the list trip summary request

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"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
paginationResponseParamsobject(OffsetBasedPaginationResponseParams)required

Pagination parameters for response.

paginationResponseParams.​totalNumResultsinteger(int32)required

Total number of results.

tripSummariesArray of objects(TripSummary)

List of Trip summaries

failedTripSummariesArray of objects(TripSummary)

List of Trip summaries

Response
application/json
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ {} ], "failedTripSummaries": [ {} ] }

Get Trip Summaries list for the company.

Request

This endpoint gets trip Summaries list for the company.

Path
companyIdstring(uuid)required

Identifier for the company whose trip summaries are requested.

Example: 4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
paginationRequestParamsobject(OffsetBasedPaginationRequestParams)required

Pagination parameters for requests.

paginationRequestParams.​offsetinteger(int32)>= 0

Offset indicates the start index in the list. Server would return results starting from this index. The value starts from 0.

Default 0
paginationRequestParams.​limitinteger(int32)>= 1

Maximum number of results to be to fetched.

Default 100
includePnrSummariesboolean

Boolean flag to include PNR summaries in the response

Example: true
tripFiltersArray of objects(TripFilters)

Filter for the list trip summary request.

sortOptionsArray of objects(TripSortOptions)

Sort options for the list trip summary request

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"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
paginationResponseParamsobject(OffsetBasedPaginationResponseParams)required

Pagination parameters for response.

paginationResponseParams.​totalNumResultsinteger(int32)required

Total number of results.

tripSummariesArray of objects(TripSummary)

List of Trip summaries

failedTripSummariesArray of objects(TripSummary)

List of Trip summaries

Response
application/json
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ {} ], "failedTripSummaries": [ {} ] }

Get Trip Summaries list for the travel arranger managed traveler.

Request

This endpoint gets trip Summaries list for the arranger managed traveler.

Path
arrangerIdstring(uuid)required

Identifier for the arranger whose managed travelers trip summaries are requested.

Example: 4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
paginationRequestParamsobject(OffsetBasedPaginationRequestParams)required

Pagination parameters for requests.

paginationRequestParams.​offsetinteger(int32)>= 0

Offset indicates the start index in the list. Server would return results starting from this index. The value starts from 0.

Default 0
paginationRequestParams.​limitinteger(int32)>= 1

Maximum number of results to be to fetched.

Default 100
includePnrSummariesboolean

Boolean flag to include PNR summaries in the response

Example: true
tripFiltersArray of objects(TripFilters)

Filter for the list trip summary request.

sortOptionsArray of objects(TripSortOptions)

Sort options for the list trip summary request

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"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
paginationResponseParamsobject(OffsetBasedPaginationResponseParams)required

Pagination parameters for response.

paginationResponseParams.​totalNumResultsinteger(int32)required

Total number of results.

tripSummariesArray of objects(TripSummary)

List of Trip summaries

failedTripSummariesArray of objects(TripSummary)

List of Trip summaries

Response
application/json
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ {} ], "failedTripSummaries": [ {} ] }

Download PNR invoice

Request

This endpoint downloads invoice on demand for a given trip ID and PNR ID.

Path
tripIdstringrequired

Trip Id

Example: 6926658168
pnrIdstringrequired

Pnr Id

Example: 2643222286
curl -i -X POST \
  'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}/pnrs/{pnrId}/download-invoice' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
datastring(byte)
Example: "6935813e12584abda0e43d71cd2ea260"
Response
application/json
{ "data": "6935813e12584abda0e43d71cd2ea260" }

Cancel PNR

Request

This endpoint cancels PNR or part of PNR object.In case of partial PNR cancel we can cancel journey/ticket.

Path
tripIdstringrequired

Trip ID

Example: 6926658168
pnrIdstringrequired

PNR ID

Example: 6926658168
Bodyapplication/jsonrequired
cancellationTypestring

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.

Enum"NO_REFUND""FULL_REFUND""PARTIAL_REFUND""FULL_CREDIT"
Example: "FULL_REFUND"
cancellationDetailsArray of objects(CancelDetail)

List of object to be cancelled and their associated refund details.

bookingEmailInfoobject

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/{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
    }
  }'

Responses

OK

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Get trip partner info

Request

This endpoint provides info related to partner for the trip.

Path
tripIdstringrequired

Identifier for trip.

Example: 2398199412
bookerEmailIdstringrequired

Booker Email Id for whom budget info will be fetched.

Example: akanksha@spotnana.com
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>'

Responses

OK

Bodyapplication/json
tripIdstringrequired

Spotnana trip Id

Example: "6926658168"
partnerInfoobject(TripPartnerInfo)required

Partner info such as budget info for a given trip Id.

partnerInfo.​partnerInfoTypestring(TripPartnerInfoType)required

Trip Partner Info type.

Value"BUDGET"
partnerInfo.​partnerInfoDetailsTripPartnerInfoDetailsWrapper (object)(TripPartnerInfoDetails)required
One of:

Trip budget info wrapper

partnerInfo.​partnerInfoDetails.​tripBudgetInfoobject(TripBudgetInfo)

Trip budget Info

Response
application/json
{ "tripId": "6926658168", "partnerInfo": { "partnerInfoType": "BUDGET", "partnerInfoDetails": {} } }

Get cancellation details

Request

This endpoint gets cancellation details for a given trip ID and PNR ID.

Path
tripIdstringrequired

Trip ID.

Example: 1234567890
pnrIdstringrequired

PNR ID.

Example: 6926658168
curl -i -X GET \
  'https://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}/pnrs/{pnrId}/cancellation-details' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
pnrIdstringrequired

PNR ID for the booking.

Example: "1234567890"
tripIdstringrequired

Trip ID for the booking.

Example: "2345678901"
cancellationDetailsCancellationDetails (object) or CancellationDetails (object)(CancellationDetails)
One of:

Wrapper for AirCancellationDetails

Response
application/json
{ "pnrId": "1234567890", "tripId": "2345678901", "cancellationDetails": { "air": {} } }

Get PNR by external Id

Request

This endpoint gets PNR Id and Trip Id for a given external Id.

Query
externalIdstringrequired

External ID

Example: externalId=external-pnr-id
curl -i -X GET \
  'https://developer.spotnana.com/_mock/openapi/tripapi/v2/pnrs?externalId=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
pnrIdstringrequired

Spotnana PNR Id mapped with external Id

Example: "1234567890"
tripIdstringrequired

Spotnana trip Id mapped with external Id

Example: "1234567890"
Response
application/json
{ "pnrId": "1234567890", "tripId": "1234567890" }

Process the PNR approval

Request

This endpoint process a PNR approval to approved or declined

Path
pnrIdstringrequired

Pnr Id

Example: 6926658168
Bodyapplication/jsonrequired
approvalIdstring

Serialised Id containing approval related info

Example: "test-approval-id"
approvalTypestringrequired

Approval response APPROVED or DECLINED

Enum"APPROVED""DECLINED"
Example: "APPROVED"
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"
  }'

Responses

OK

Response
application/json
{ "debugIdentifier": "string", "errorMessages": [ {} ] }

Invoicing

Operations