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)Deprecated

List of custom field IDs to filter. This field is not in use and has been deprecated.

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"
        },
        "tier": "SEAT1A"
      }
    ],
    "costOfGoodsSold": {
      "payments": [
        {
          "travelerIndices": [
            0,
            1
          ],
          "userIds": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
            }
          ],
          "amount": {
            "base": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            },
            "tax": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "fop": {
            "type": "CARD",
            "card": {
              "id": "34d536b6-f8ff-11eb-9a61-0242ac180002",
              "type": "CREDIT",
              "company": "VISA",
              "name": "Harrison Schwartz",
              "address": {
                "addressLines": [
                  null
                ],
                "administrativeArea": "CA",
                "administrativeAreaName": "California",
                "description": "San Francisco Home",
                "isDefault": true,
                "languageCode": "en",
                "locality": "San Francisco",
                "locationCode": "LAX",
                "organization": "Spotnana",
                "postalCode": "94130",
                "continentCode": "AF",
                "recipients": [
                  null
                ],
                "regionCode": "US",
                "regionName": "America",
                "revision": 1,
                "sortingCode": "Jamaica",
                "sublocality": "string",
                "timezone": "America/Los_Angeles",
                "coordinates": {}
              },
              "number": "4111111111111111",
              "expiryMonth": 1,
              "expiryYear": 2010,
              "cvv": "012",
              "label": "Label amex",
              "currency": "USD",
              "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40",
              "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002",
              "expiry": {
                "tokenizedExpiry": {}
              },
              "ownershipLabel": "CENTRAL"
            },
            "additionalInfo": "string",
            "accessType": {
              "accessType": "UNKNOWN_TYPE",
              "entityIds": [
                "string"
              ],
              "entities": [
                {}
              ]
            },
            "paymentMethod": "BREX_POINTS",
            "paymentMetadata": {
              "customPaymentMethodMetadata": {
                "brexBudgetMetadata": {}
              },
              "vendorProgramPaymentMetadata": {
                "directBilling": {}
              },
              "virtualCardMetadata": {
                "vendorInfo": {},
                "cardInfo": {},
                "paymentInstructionId": "1eb8b778-f0a6-4037-865c-4580982fa36e",
                "shouldReveal": false
              },
              "cardMetadata": {
                "card": {},
                "accessType": {
                  "entityIds": [],
                  "entities": []
                },
                "isLodgeCard": false,
                "bta": "Y"
              }
            },
            "paymentSourceType": "CARD"
          },
          "paymentReference": "HAH2618716871",
          "paymentType": "FLIGHTS",
          "paymentThirdParty": "STRIPE",
          "paymentId": "string",
          "paymentGateway": "STRIPE",
          "isRefunded": false,
          "selectedPaymentSource": {
            "paymentSourceId": "f49d00fe-1eda-4304-ba79-a980f565281d",
            "rawPaymentSource": {
              "type": "string",
              "cardDetails": {
                "company": "VISA",
                "token": "4111111111111111",
                "expiry": {}
              }
            },
            "postPaymentRedirectionUrl": "https://mycompany.com/checkout?paymentSourceId=f49d00fe-1eda-4304-ba79-a980f565281d",
            "cvv": "string",
            "amount": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "networkTransactionId": "721107212171711"
        }
      ]
    },
    "costToCustomer": {
      "payments": [
        {
          "travelerIndices": [
            0,
            1
          ],
          "userIds": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
            }
          ],
          "amount": {
            "base": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            },
            "tax": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "fop": {
            "type": "CARD",
            "card": {
              "id": "34d536b6-f8ff-11eb-9a61-0242ac180002",
              "type": "CREDIT",
              "company": "VISA",
              "name": "Harrison Schwartz",
              "address": {
                "addressLines": [
                  null
                ],
                "administrativeArea": "CA",
                "administrativeAreaName": "California",
                "description": "San Francisco Home",
                "isDefault": true,
                "languageCode": "en",
                "locality": "San Francisco",
                "locationCode": "LAX",
                "organization": "Spotnana",
                "postalCode": "94130",
                "continentCode": "AF",
                "recipients": [
                  null
                ],
                "regionCode": "US",
                "regionName": "America",
                "revision": 1,
                "sortingCode": "Jamaica",
                "sublocality": "string",
                "timezone": "America/Los_Angeles",
                "coordinates": {}
              },
              "number": "4111111111111111",
              "expiryMonth": 1,
              "expiryYear": 2010,
              "cvv": "012",
              "label": "Label amex",
              "currency": "USD",
              "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40",
              "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002",
              "expiry": {
                "tokenizedExpiry": {}
              },
              "ownershipLabel": "CENTRAL"
            },
            "additionalInfo": "string",
            "accessType": {
              "accessType": "UNKNOWN_TYPE",
              "entityIds": [
                "string"
              ],
              "entities": [
                {}
              ]
            },
            "paymentMethod": "BREX_POINTS",
            "paymentMetadata": {
              "customPaymentMethodMetadata": {
                "brexBudgetMetadata": {}
              },
              "vendorProgramPaymentMetadata": {
                "directBilling": {}
              },
              "virtualCardMetadata": {
                "vendorInfo": {},
                "cardInfo": {},
                "paymentInstructionId": "1eb8b778-f0a6-4037-865c-4580982fa36e",
                "shouldReveal": false
              },
              "cardMetadata": {
                "card": {},
                "accessType": {
                  "entityIds": [],
                  "entities": []
                },
                "isLodgeCard": false,
                "bta": "Y"
              }
            },
            "paymentSourceType": "CARD"
          },
          "paymentReference": "HAH2618716871",
          "paymentType": "FLIGHTS",
          "paymentThirdParty": "STRIPE",
          "paymentId": "string",
          "paymentGateway": "STRIPE",
          "isRefunded": false,
          "selectedPaymentSource": {
            "paymentSourceId": "f49d00fe-1eda-4304-ba79-a980f565281d",
            "rawPaymentSource": {
              "type": "string",
              "cardDetails": {
                "company": "VISA",
                "token": "4111111111111111",
                "expiry": {}
              }
            },
            "postPaymentRedirectionUrl": "https://mycompany.com/checkout?paymentSourceId=f49d00fe-1eda-4304-ba79-a980f565281d",
            "cvv": "string",
            "amount": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "networkTransactionId": "721107212171711"
        }
      ]
    },
    "policyInfo": {
      "outOfPolicy": false,
      "approverName": {
        "family1": "Gandas",
        "family2": "FamilyTwo",
        "given": "Vichitr",
        "middle": "Kumar",
        "suffix": "SR",
        "preferred": "Don"
      },
      "reasonCode": "TIMING_OR_SCHEDULING",
      "reason": "Business class cheaper than economy",
      "appliedPolicyInfo": {
        "policies": [
          {
            "id": "string",
            "version": "string",
            "policyName": "string",
            "approvalType": "SOFT_APPROVAL",
            "policyType": "GLOBAL"
          }
        ],
        "ruleResultInfos": [
          {
            "violationInfos": [
              {
                "predicateString": "string",
                "predicate": "UNKNOWN_PREDICATE_STRING",
                "expectedValue": {},
                "actualValue": {}
              }
            ],
            "subViolationInfos": [
              {
                "predicateString": "string",
                "predicate": "UNKNOWN_PREDICATE_STRING",
                "expectedValue": {},
                "actualValue": {}
              }
            ],
            "actions": [
              {
                "flag": {}
              }
            ]
          }
        ]
      }
    },
    "airPnr": {
      "legs": [
        {
          "flights": [
            {
              "departureDateTime": {
                "iso8601": "2017-07-21T17:32"
              },
              "arrivalDateTime": {
                "iso8601": "2017-07-21T17:32"
              },
              "duration": {
                "iso8601": "PT19H55M"
              },
              "flightId": "CjoKOGNsYXNzIERhdGVUaW1lTG9jYWwgewogICAgaXNvO",
              "origin": "SFO",
              "destination": "LHR",
              "departureGate": {
                "gate": "1A",
                "terminal": "1"
              },
              "arrivalGate": {
                "gate": "1A",
                "terminal": "1"
              },
              "marketing": {
                "num": "321",
                "airlineCode": "AA"
              },
              "operating": {
                "num": "321",
                "airlineCode": "AA"
              },
              "operatingAirlineName": "SKYWEST DBA UNITED EXPRESS",
              "hiddenStops": [
                {}
              ],
              "vendorConfirmationNumber": "ABQTEJ",
              "cabin": "ECONOMY",
              "bookingCode": "A",
              "flightStatus": "CONFIRMED",
              "otherStatuses": [
                {}
              ],
              "co2EmissionDetail": {
                "emissionValue": 10,
                "averageEmissionValue": 10,
                "flightDistanceKm": 10,
                "isApproximate": true
              },
              "flightUpdates": {
                "previousDepartureDateTime": {},
                "previousArrivalDateTime": {},
                "previousDepartureGate": {},
                "previousArrivalGate": {}
              },
              "sourceStatus": "string",
              "equipment": {
                "code": "777",
                "type": "N",
                "name": "Boeing 737-800"
              },
              "distance": {
                "length": 150,
                "unit": "MILE"
              },
              "amenities": [
                {}
              ]
            }
          ],
          "brandName": "BUSFLEX",
          "validatingAirlineCode": "AA",
          "legStatus": "PENDING_STATUS",
          "fareOffers": [
            {
              "userId": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
              },
              "baggagePolicy": {
                "checkedIn": [
                  null
                ],
                "carryOn": [
                  null
                ]
              },
              "cancellationPolicy": {
                "description": "Non-refundable",
                "fee": {
                  "otherCoinage": []
                },
                "assessmentType": "BENEFIT",
                "isCat16": true,
                "isConditional": true
              },
              "exchangePolicy": {
                "description": "Change allowed for free",
                "fee": {
                  "otherCoinage": []
                },
                "assessmentType": "BENEFIT",
                "isCat16": true,
                "isConditional": true
              }
            }
          ],
          "rateType": "PUBLISHED",
          "legUpdates": {
            "connectionAlerts": [
              {
                "departingFlightIndex": 0,
                "minConnectionDuration": {},
                "previousConnectionDuration": {},
                "updatedConnectionDuration": {}
              }
            ]
          },
          "scheduleChangeInfo": {
            "flightIndices": [
              1
            ],
            "disruptedFlightIndices": [
              1
            ],
            "possibleActions": [
              "ACCEPT_BOOKING"
            ]
          }
        }
      ],
      "airPnrRemarks": [
        {
          "remarkString": "COMPLEATREMARK"
        }
      ],
      "travelerInfos": [
        {
          "airVendorCancellationInfo": {
            "airVendorCancellationObjects": [
              {
                "vendorCancellationId": "string",
                "flightAndLegIndices": [
                  null
                ]
              }
            ]
          },
          "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
        },
        "rateMetadata": {
          "negotiatedRateType": "CORPORATE_RATE",
          "publishedRate": {
            "base": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            },
            "tax": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          }
        }
      },
      "vendorConfirmationNumber": "2108528068",
      "travelerInfos": [
        {
          "travelerIdx": 0,
          "userId": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
          },
          "loyaltyInfos": [
            {
              "appliedTo": [
                "TAJ"
              ],
              "id": "firstId",
              "issuedBy": "firstIssuedBy",
              "type": "AIR"
            }
          ]
        }
      ],
      "sortingPriority": 0,
      "vendorReferenceId": "AWKHGS",
      "vendorCancellationId": "AWKHGS",
      "preferredType": [
        "NOT_PREFERRED"
      ],
      "preferences": [
        {
          "preferredType": "NOT_PREFERRED",
          "blockedReason": "string",
          "label": "string"
        }
      ],
      "occupancy": [
        {
          "numAdults": 1,
          "numChildren": 1,
          "childAges": [
            10
          ],
          "numInfants": 1
        }
      ],
      "sourceStatus": "string",
      "rebookReference": {
        "cancelledPnrIds": [
          "1234567890"
        ],
        "rebookedPnrId": "1234567890",
        "hotelRateAssuranceMetadata": {
          "selfReportedSavings": {
            "amount": 510,
            "currencyCode": "GBP"
          },
          "actualSavings": {
            "amount": 510,
            "currencyCode": "GBP"
          }
        },
        "rebookType": "RATE_ASSURANCE"
      },
      "hotelSpecialRequests": {
        "roomLocations": [
          "HIGH_FLOOR"
        ],
        "roomFeatures": [
          "FEATHER_FREE_ROOM"
        ],
        "checkIn": "LATE_CHECK_IN",
        "checkInTime": {
          "iso8601": "17:32"
        },
        "flightNumber": "AC1234",
        "additionalNote": "Extra pillows and blankets for added comfort during the stay.",
        "accessibleFeatures": [
          "MOBILITY_ACCESSIBLE_ROOM_WITH_TUB"
        ]
      }
    },
    "carPnr": {
      "cancellationPolicy": {
        "policy": "NON_REFUNDABLE",
        "deadline": {
          "iso8601": "2017-07-21T17:32"
        },
        "deadlineUtc": {
          "iso8601": "2017-07-21T17:32Z"
        },
        "amount": {
          "amount": 510,
          "currencyCode": "GBP",
          "convertedAmount": 715.42,
          "convertedCurrency": "USD",
          "otherCoinage": [
            {
              "coinageCode": "BREX_POINTS",
              "amount": 1000,
              "conversionRate": 0.01,
              "preferredCurrencyConversionRate": 0.01
            }
          ]
        }
      },
      "carInfo": {
        "carSpec": {
          "airConditioning": "AC_AVAILABLE",
          "amenities": {
            "numDoors": 4,
            "numLargeBags": 2,
            "numSeatBelts": 5,
            "numSeats": 5,
            "numSmallBags": 5
          },
          "type": "ECONOMY",
          "displayName": "Economy",
          "engineType": "PETROL",
          "imageGroups": [
            {
              "caption": "Exterior",
              "images": [
                {}
              ]
            }
          ],
          "transmission": "MANUAL_4WD"
        },
        "dropOffLocation": {
          "address": {
            "addressLines": [
              "Golden Gate Bridge"
            ],
            "administrativeArea": "CA",
            "administrativeAreaName": "California",
            "description": "San Francisco Home",
            "isDefault": true,
            "languageCode": "en",
            "locality": "San Francisco",
            "locationCode": "LAX",
            "organization": "Spotnana",
            "postalCode": "94130",
            "continentCode": "AF",
            "recipients": [
              "string"
            ],
            "regionCode": "US",
            "regionName": "America",
            "revision": 1,
            "sortingCode": "Jamaica",
            "sublocality": "string",
            "timezone": "America/Los_Angeles",
            "coordinates": {
              "latitude": 77.1025,
              "longitude": 28.7041
            }
          },
          "coordinates": {
            "latitude": 77.1025,
            "longitude": 28.7041
          },
          "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE",
          "contactInfo": {
            "phone": [
              "123 456-7890"
            ],
            "fax": [
              "123 456-7890"
            ],
            "email": [
              "user@business.com"
            ]
          },
          "operatingSchedule": {
            "interval": [
              {
                "min": {},
                "max": {}
              }
            ]
          }
        },
        "mileageAllowance": {
          "length": 150,
          "unit": "MILE"
        },
        "pickupLocation": {
          "address": {
            "addressLines": [
              "Golden Gate Bridge"
            ],
            "administrativeArea": "CA",
            "administrativeAreaName": "California",
            "description": "San Francisco Home",
            "isDefault": true,
            "languageCode": "en",
            "locality": "San Francisco",
            "locationCode": "LAX",
            "organization": "Spotnana",
            "postalCode": "94130",
            "continentCode": "AF",
            "recipients": [
              "string"
            ],
            "regionCode": "US",
            "regionName": "America",
            "revision": 1,
            "sortingCode": "Jamaica",
            "sublocality": "string",
            "timezone": "America/Los_Angeles",
            "coordinates": {
              "latitude": 77.1025,
              "longitude": 28.7041
            }
          },
          "coordinates": {
            "latitude": 77.1025,
            "longitude": 28.7041
          },
          "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE",
          "contactInfo": {
            "phone": [
              "123 456-7890"
            ],
            "fax": [
              "123 456-7890"
            ],
            "email": [
              "user@business.com"
            ]
          },
          "operatingSchedule": {
            "interval": [
              {
                "min": {},
                "max": {}
              }
            ]
          }
        },
        "vendor": {
          "code": "ZE",
          "name": "HERTZ",
          "email": "abc@xyz.com",
          "phone": {
            "countryCode": 91,
            "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
            "extension": "222",
            "isoCountryCode": "IN",
            "italianLeadingZero": true,
            "nationalNumber": 8150,
            "numberOfLeadingZeros": 1,
            "preferredDomesticCarrierCode": "7",
            "rawInput": "77777",
            "type": "MOBILE"
          }
        },
        "carTypeCode": "EBMR",
        "extraMileageCharge": {
          "amount": 510,
          "currencyCode": "GBP",
          "convertedAmount": 715.42,
          "convertedCurrency": "USD",
          "otherCoinage": [
            {
              "coinageCode": "BREX_POINTS",
              "amount": 1000,
              "conversionRate": 0.01,
              "preferredCurrencyConversionRate": 0.01
            }
          ]
        },
        "preferredType": [
          "NOT_PREFERRED"
        ],
        "preferences": [
          {
            "preferredType": "NOT_PREFERRED",
            "blockedReason": "string",
            "label": "string"
          }
        ],
        "co2EmissionDetail": {
          "co2EmissionValue": 0.01
        }
      },
      "dropOffDateTime": {
        "iso8601": "2017-07-21T17:32"
      },
      "paymentType": "PREPAID",
      "pickupDateTime": {
        "iso8601": "2017-07-21T17:32"
      },
      "pnrStatus": "CONFIRMED",
      "rate": {
        "base": {
          "amount": 510,
          "currencyCode": "GBP",
          "convertedAmount": 715.42,
          "convertedCurrency": "USD",
          "otherCoinage": [
            {
              "coinageCode": "BREX_POINTS",
              "amount": 1000,
              "conversionRate": 0.01,
              "preferredCurrencyConversionRate": 0.01
            }
          ]
        },
        "extras": [
          {
            "type": "SERVICE_CHARGE",
            "amount": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          }
        ],
        "refund": {
          "amount": 510,
          "currencyCode": "GBP",
          "convertedAmount": 715.42,
          "convertedCurrency": "USD",
          "otherCoinage": [
            {
              "coinageCode": "BREX_POINTS",
              "amount": 1000,
              "conversionRate": 0.01,
              "preferredCurrencyConversionRate": 0.01
            }
          ]
        },
        "tax": {
          "amount": 510,
          "currencyCode": "GBP",
          "convertedAmount": 715.42,
          "convertedCurrency": "USD",
          "otherCoinage": [
            {
              "coinageCode": "BREX_POINTS",
              "amount": 1000,
              "conversionRate": 0.01,
              "preferredCurrencyConversionRate": 0.01
            }
          ]
        },
        "commission": {
          "amount": {
            "amount": 510,
            "currencyCode": "GBP",
            "convertedAmount": 715.42,
            "convertedCurrency": "USD",
            "otherCoinage": [
              {
                "coinageCode": "BREX_POINTS",
                "amount": 1000,
                "conversionRate": 0.01,
                "preferredCurrencyConversionRate": 0.01
              }
            ]
          },
          "percent": 10
        },
        "includesCommission": false,
        "taxBreakdown": {
          "tax": [
            {
              "amount": {
                "amount": 510,
                "currencyCode": "GBP",
                "convertedAmount": 715.42,
                "convertedCurrency": "USD",
                "otherCoinage": [
                  {}
                ]
              },
              "taxCode": "string"
            }
          ]
        },
        "transactionDate": {
          "iso8601": "2017-07-21"
        },
        "refundInfo": {
          "refundAmount": {
            "base": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            },
            "tax": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "refundTaxAmount": {
            "base": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            },
            "tax": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "refundDate": {
            "iso8601": "2017-07-21"
          },
          "penalty": {
            "base": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            },
            "tax": {
              "amount": 510,
              "currencyCode": "GBP",
              "convertedAmount": 715.42,
              "convertedCurrency": "USD",
              "otherCoinage": [
                {}
              ]
            }
          },
          "refundVoucher": {
            "amount": {
              "amount": 510,
              "currencyCode": "GBP"
            }
          }
        }
      },
      "vendorConfirmationNumber": "2108528068",
      "sortingPriority": 0,
      "corporateId": "8371",
      "rateType": "PUBLISHED",
      "sourceStatus": "string",
      "vendorCancellationId": "2108528068",
      "originalCarSearchInfo": {
        "pickup": {
          "location": {
            "airportCode": "SFO",
            "cityCode": "JFK",
            "coordinates": {
              "latitude": 77.1025,
              "longitude": 28.7041
            }
          },
          "datetime": {
            "iso8601": "2017-07-21T17:32"
          },
          "searchQuery": "London"
        },
        "dropOff": {
          "location": {
            "airportCode": "SFO",
            "cityCode": "JFK",
            "coordinates": {
              "latitude": 77.1025,
              "longitude": 28.7041
            }
          },
          "datetime": {
            "iso8601": "2017-07-21T17:32"
          },
          "searchQuery": "London"
        }
      },
      "rateMetadata": {
        "negotiatedRateType": "CORPORATE_RATE",
        "publishedRate": {
          "base": {
            "amount": 510,
            "currencyCode": "GBP",
            "convertedAmount": 715.42,
            "convertedCurrency": "USD",
            "otherCoinage": [
              {
                "coinageCode": "BREX_POINTS",
                "amount": 1000,
                "conversionRate": 0.01,
                "preferredCurrencyConversionRate": 0.01
              }
            ]
          },
          "tax": {
            "amount": 510,
            "currencyCode": "GBP",
            "convertedAmount": 715.42,
            "convertedCurrency": "USD",
            "otherCoinage": [
              {
                "coinageCode": "BREX_POINTS",
                "amount": 1000,
                "conversionRate": 0.01,
                "preferredCurrencyConversionRate": 0.01
              }
            ]
          }
        }
      }
    },
    "railPnr": {
      "inwardJourney": {
        "journeyStatus": "CONFIRMED",
        "legs": [
          0
        ],
        "co2EmissionDetails": {
          "co2EmissionKilograms": 10,
          "isApproximate": true
        },
        "sortingPriority": 0,
        "fareComposition": "DIRECT_SPLIT",
        "userFacingStatus": "PENDING_STATUS"
      },
      "legInfos": [
        {
          "allocatedSpaces": [
            {
              "coachNumber": "B",
              "travelerIdx": 0,
              "userId": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
              },
              "seatNumber": "32",
              "additionalProperties": [
                "Window"
              ]
            }
          ],
          "travelerRailInfo": [
            {
              "travelerIndex": 0,
              "userId": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
              },
              "railCard": {
                "cardNumber": "string",
                "expiryDate": {},
                "name": "Veterans Railcard",
                "spotnanaCode": "VET",
                "vendor": "ATOC"
              },
              "loyaltyDetails": {
                "loyaltyProgram": "string",
                "loyaltyNumber": "string"
              }
            }
          ],
          "amenities": [
            {
              "description": "Seat Reservation",
              "name": "Seat Reservation",
              "price": {
                "amount": 510,
                "currencyCode": "GBP",
                "convertedAmount": 715.42,
                "convertedCurrency": "USD",
                "otherCoinage": [
                  {}
                ]
              },
              "quantity": 1,
              "type": "WIFI"
            }
          ],
          "arriveAt": {
            "iso8601": "2017-07-21T17:32Z"
          },
          "departAt": {
            "iso8601": "2017-07-21T17:32Z"
          },
          "arriveAtLocal": {
            "iso8601": "2017-07-21T17:32"
          },
          "departAtLocal": {
            "iso8601": "2017-07-21T17:32"
          },
          "destination": "Liverpool Lime Street",
          "distance": {
            "length": 150,
            "unit": "MILE"
          },
          "duration": {
            "iso8601": "PT19H55M"
          },
          "fareType": "Anytime Return",
          "origin": "London Euston",
          "travelClass": "FIRST",
          "vehicle": {
            "carrierName": "Deutsche Bahn",
            "timetableId": "ICE 373",
            "transportName": "TGV",
            "type": "TRAIN"
          },
          "originInfo": {
            "name": "string",
            "code": "string",
            "cityCode": "LON",
            "timeZone": "Europe/London",
            "countryCode": "GB",
            "latLong": {
              "latitude": 77.1025,
              "longitude": 28.7041
            },
            "localCode": "EUS1444",
            "sourceRefInfos": [
              {
                "stationReferenceId": "https://et2-trainlineapi.ttlnonprod.com/stations/op~U~6e6165d9-1be0-4a52-b461-57f18d756c4c",
                "inventoryName": "Atoc"
              }
            ],
            "stationType": "METRO",
            "cityName": "LONDON",
            "stateCode": "MA",
            "continentCode": "EU"
          },
          "destinationInfo": {
            "name": "string",
            "code": "string",
            "cityCode": "LON",
            "timeZone": "Europe/London",
            "countryCode": "GB",
            "latLong": {
              "latitude": 77.1025,
              "longitude": 28.7041
            },
            "localCode": "EUS1444",
            "sourceRefInfos": [
              {
                "stationReferenceId": "https://et2-trainlineapi.ttlnonprod.com/stations/op~U~6e6165d9-1be0-4a52-b461-57f18d756c4c",
                "inventoryName": "Atoc"
              }
            ],
            "stationType": "METRO",
            "cityName": "LONDON",
            "stateCode": "MA",
            "continentCode": "EU"
          },
          "railFareType": {
            "description": "Anytime Return (1st Class)",
            "fareDetails": [
              {
                "description": "Your journey must be on the date, or the day after the date, specified on the ticket.",
                "name": "VALIDITY"
              }
            ],
            "fareSummary": "Any time of day, return within 1 month."
          },
          "ticketNumber": "345675333",
          "carrierConfirmationNumber": "QP123AF",
          "seatPreferenceSelection": {
            "carriageType": "Quiet",
            "deckType": "Upstairs",
            "direction": "Backward facing",
            "facilities": [
              "Near luggage rack"
            ],
            "positionType": "Window",
            "seatLocationType": "Sit close to",
            "seatType": "Family"
          },
          "legId": "9a766905-b5e9-43f7-b985-0738ff692324",
          "vendorName": "ATOC",
          "co2EmissionGramsPerPassenger": 10903
        }
      ],
      "outwardJourney": {
        "journeyStatus": "CONFIRMED",
        "legs": [
          0
        ],
        "co2EmissionDetails": {
          "co2EmissionKilograms": 10,
          "isApproximate": true
        },
        "sortingPriority": 0,
        "fareComposition": "DIRECT_SPLIT",
        "userFacingStatus": "PENDING_STATUS"
      },
      "rate": {
        "base": {
          "amount": 510,
          "curren