# Create user

This endpoint is used to create user profiles in Spotnana. This is typically used by
partner companies to onboard user profiles of their customer organizations.

Endpoint: POST /v2/users
Version: v2
Security: Bearer

## Security:

  - `Bearer` (unknown)
    http bearer

## Request fields (application/json):

  - `personalInfo` (object)
    User details.

  - `personalInfo.addresses` (array)

  - `personalInfo.addresses.addressLines` (array, required)
    Address lines

  - `personalInfo.addresses.administrativeArea` (string)
    Code of administrative area. For example: DL for Delhi, India.
Highest administrative subdivision which is used for postal
addresses of a country or region.
For example, this can be a state, a province, an oblast, or a prefecture.
Specifically, for Spain this is the province and not the autonomous
community (e.g. "Barcelona" and not "Catalonia").
Many countries don't use an administrative area in postal addresses. E.g.
in Switzerland this should be left unpopulated.
    Example: CA

  - `personalInfo.addresses.administrativeAreaName` (string)
    Name of administrative area. This is full name corresponding to administrativeArea. 
Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo.
    Example: California

  - `personalInfo.addresses.description` (string)
    Address description
    Example: San Francisco Home

  - `personalInfo.addresses.isDefault` (boolean)
    Whether this address is default address in case multiple addresses are specified.
    Example: true

  - `personalInfo.addresses.languageCode` (string)
    BCP-47 language code of the contents of this address (if known). This is often the UI 
language of the input form or is expected to match one of the languages used in the 
address' country/region, or their transliterated equivalents.
This can affect formatting in certain countries, but is not critical to the correctness 
of the data and will never affect any validation or other non-formatting related operations.
Examples: "zh-Hant", "ja", "ja-Latn", "en".
    Example: en

  - `personalInfo.addresses.locality` (string)
    Generally refers to the city/town portion of the address.
    Example: San Francisco

  - `personalInfo.addresses.locationCode` (string)
    IATA 3-letter location code. See https://www.iata.org/en/services/codes.
    Example: LAX

  - `personalInfo.addresses.organization` (string)
    The name of the organization at the address.
    Example: Spotnana

  - `personalInfo.addresses.postalCode` (string)
    Postal code of the address. This is a required field when setting for a user/legal entity/company etc.
    Example: 94130

  - `personalInfo.addresses.continentCode` (string)
    2 letter continent code of the continent this address falls in.
    Example: AF

  - `personalInfo.addresses.recipients` (array)
    The recipient at the address.

  - `personalInfo.addresses.regionCode` (string, required)
    Region code of the country/region of the address.
    Example: US

  - `personalInfo.addresses.regionName` (string)
    Region name of the country/region of the address.
    Example: America

  - `personalInfo.addresses.revision` (integer)
    Example: 1

  - `personalInfo.addresses.sortingCode` (string)
    Additional, country-specific, sorting code. This is not used
in most regions. Where it is used, the value is either a string like
"CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
alone, representing the "sector code" (Jamaica), "delivery area indicator"
(Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
    Example: Jamaica

  - `personalInfo.addresses.sublocality` (string)
    Sublocality of the address. This can be neighborhoods, boroughs, districts.

  - `personalInfo.addresses.timezone` (string)
    Time zone of the address.
    Example: America/Los_Angeles

  - `personalInfo.addresses.coordinates` (object)
    Latitude and Longitude for a Location

  - `personalInfo.addresses.coordinates.latitude` (number, required)
    Latitude of the Location
    Example: 77.1025

  - `personalInfo.addresses.coordinates.longitude` (number, required)
    Longitude of the Location
    Example: 28.7041

  - `personalInfo.dob` (object)
    Date in ISO 8601 standard.

  - `personalInfo.dob.iso8601` (string, required)
    Example: 2017-07-21

  - `personalInfo.email` (string)
    Example: example@email.com

  - `personalInfo.emergencyContactInfo` (object)
    Emergency contact information.

  - `personalInfo.emergencyContactInfo.designation` (string)
    Example: MANAGER

  - `personalInfo.emergencyContactInfo.email` (string, required)
    Example: emergency-contact@email.com

  - `personalInfo.emergencyContactInfo.name` (object)
    Full name containing first, middle, last (family) names, and suffix.

  - `personalInfo.emergencyContactInfo.name.family1` (string, required)
    Last (family) name.
    Example: Gandas

  - `personalInfo.emergencyContactInfo.name.family2` (string)
    Example: FamilyTwo

  - `personalInfo.emergencyContactInfo.name.given` (string, required)
    First (given) name.
    Example: Vichitr

  - `personalInfo.emergencyContactInfo.name.middle` (string)
    Middle name.
    Example: Kumar

  - `personalInfo.emergencyContactInfo.name.suffix` (string)
    Suffix for name
    Enum: "NAME_SUFFIX_UNKNOWN", "SR", "JR", "MD", "PHD", "II", "III", "IV", "DO", "ATTY", "V", "VI", "ESQ", "DC", "DDS", "VM", "JD", "SECOND", "THIRD"

  - `personalInfo.emergencyContactInfo.name.preferred` (string)
    Informal preferred name added by traveler. This is not used on any PNR or tickets
    Example: Don

  - `personalInfo.emergencyContactInfo.phoneNumber` (object)
    Properly formatted phone number.

  - `personalInfo.emergencyContactInfo.phoneNumber.countryCode` (integer)
    two digit country code
    Example: 91

  - `personalInfo.emergencyContactInfo.phoneNumber.countryCodeSource` (string)
    Enum: "UNSPECIFIED", "FROM_NUMBER_WITH_PLUS_SIGN", "FROM_NUMBER_WITH_IDD", "FROM_NUMBER_WITHOUT_PLUS_SIGN", "FROM_DEFAULT_COUNTRY"

  - `personalInfo.emergencyContactInfo.phoneNumber.extension` (string)
    phone number extension
    Example: 222

  - `personalInfo.emergencyContactInfo.phoneNumber.isoCountryCode` (string)
    ISO alpha-2 code
    Example: IN

  - `personalInfo.emergencyContactInfo.phoneNumber.italianLeadingZero` (boolean)
    Example: true

  - `personalInfo.emergencyContactInfo.phoneNumber.nationalNumber` (integer)
    Example: 8150

  - `personalInfo.emergencyContactInfo.phoneNumber.numberOfLeadingZeros` (integer)
    Example: 1

  - `personalInfo.emergencyContactInfo.phoneNumber.preferredDomesticCarrierCode` (string)
    Example: 7

  - `personalInfo.emergencyContactInfo.phoneNumber.rawInput` (string)
    Example: 77777

  - `personalInfo.emergencyContactInfo.phoneNumber.type` (string)
    Enum: "UNKNOWN_TYPE", "MOBILE", "LANDLINE"

  - `personalInfo.emergencyContactInfo.userOrgId` (object)
    User and user's organization information.

  - `personalInfo.emergencyContactInfo.userOrgId.organizationAgencyId` (object)
    Agency id for the organization.

  - `personalInfo.emergencyContactInfo.userOrgId.organizationAgencyId.id` (string, required)

  - `personalInfo.emergencyContactInfo.userOrgId.organizationId` (object, required)
    Organization id for traveler.

  - `personalInfo.emergencyContactInfo.userOrgId.organizationId.id` (string, required)

  - `personalInfo.emergencyContactInfo.userOrgId.userId` (object, required)
    User identifier

  - `personalInfo.emergencyContactInfo.userOrgId.userId.id` (string, required)

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo` (object)
    TMC config information.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.id` (object, required)
    Company ID

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.id.id` (string, required)
    Example: f49d00fe-1eda-4304-ba79-a980f565281d

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.primaryServiceProviderTmc` (object, required)
    Primary service provider TMC info

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs` (array)
    Secondary service provider TMCs for the TMC.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs.supplier` (string, required)
    Supplier type like Sabre, TravelFusion etc.
    Enum: "SABRE", "AMADEUS", "TRAVEL_FUSION", "FARELOGIX_NDC", "ATPCO_NDC", "TRAINLINE", "AVIA", "QBR", "BCD", "QANTAS_HOTELS", "SOUTHWEST", "EXPEDIA", "HOTEL_HUB", "NDC", "MARRIOTT", "CLEARTRIP", "KYTE", "GROUNDSPAN", "SABRE_NDC", "BOOKING_COM", "CARTRAWLER", "PREMIER_INN", "TRAVELODGE", "ENTERPRISE", "HYATT", "HILTON", "NATIONAL", "ALAMO", "HERTZ", "DOLLAR", "THRIFTY", "FIREFLY", "EUROSTAR", "AVIS", "BUDGET", "AMADEUS_NDC", "SIXT"

  - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs.travelType` (string, required)
    Travel Type
    Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL"

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo` (object)
    TMC related basic information.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc` (object, required)
    Basic information about a company.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.name` (string)

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo` (object)
    An image with meta data. Either the `data` or `url` property must be supplied to load the image.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.data` (string)
    Example: 6935813e12584abda0e43d71cd2ea260

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.dimensions` (object)
    Image dimensions ie width and height.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.dimensions.height` (integer)
    Example: 120

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.dimensions.width` (integer)
    Example: 240

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.url` (string)
    Example: 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

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.metadata` (object)
    Metadata associated with an image.

  - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo.metadata.variant` (string)
    Image variant.
    Enum: "LIGHT", "DARK"

  - `personalInfo.gender` (string)
    Enum: "MALE", "FEMALE", "UNSPECIFIED", "UNDISCLOSED", "GENDER_REDACTED"

  - `personalInfo.identityDocs` (array)
    List of user identity documents.
    Example: [{"passport":{"docId":"PASSPORTID","expiryDate":{"iso8601":"2017-07-21"},"issueCountry":"IN","issuedDate":{"iso8601":"2017-07-21"},"nationalityCountry":"IN","type":"REGULAR"}},{"ktn":{"number":"123456…

  - `personalInfo.identityDocs.passport` (object)
    Passport details.

  - `personalInfo.identityDocs.passport.docId` (string, required)
    Example: PassportID

  - `personalInfo.identityDocs.passport.issueCountry` (string, required)
    Example: IN

  - `personalInfo.identityDocs.passport.nationalityCountry` (string, required)
    Example: IN

  - `personalInfo.identityDocs.passport.type` (string)
    Enum: "UNKNOWN", "REGULAR"

  - `personalInfo.identityDocs.immigrationDoc` (object)
    Immigration document details.

  - `personalInfo.identityDocs.immigrationDoc.authorizedStayDuration` (object)
    Represents a duration of time with specific units of time.

  - `personalInfo.identityDocs.immigrationDoc.authorizedStayDuration.iso8601` (string)
    Durations define the amount of intervening time in a time interval and are represented by the
format P[n]Y[n]M[n]DT[n]H[n]M[n]S.
The [n] is replaced by the value for each of the date and time elements that follow the [n].
Leading zeros are not required. The capital letters P, Y, M, W, D, T, H, M, and S are
designators for each of the date and time elements and are not replaced. P is the duration
designator (for period) placed at the start of the duration representation.
Y is the year designator.
M is the month designator.
W is the week designator.
D is the day designator.
T is the time designator.
H is the hour designator.
M is the minute designator.
S is the second designator and can include decimal digits with arbitrary precision.
    Example: PT19H55M

  - `personalInfo.identityDocs.immigrationDoc.docId` (string, required)
    The ID of the immigration document.
    Example: ImmigrationDocumentID

  - `personalInfo.identityDocs.immigrationDoc.issueCountry` (string, required)
    The country that issued the immigration document.
    Example: IN

  - `personalInfo.identityDocs.immigrationDoc.nationalityCountry` (string)
    Example: IN

  - `personalInfo.identityDocs.immigrationDoc.type` (string)
    Enum: "UNKNOWN", "VISA"

  - `personalInfo.identityDocs.redress` (object)
    Redress details

  - `personalInfo.identityDocs.redress.number` (string, required)
    Example: 12345

  - `personalInfo.identityDocs.redress.issueCountry` (string, required)
    Example: US

  - `personalInfo.identityDocs.ktn` (object)
    Information about the Known Traveler Number (KTN).

  - `personalInfo.identityDocs.ktn.number` (string, required)
    Example: 12345

  - `personalInfo.identityDocs.ktn.issueCountry` (string, required)
    Example: US

  - `personalInfo.identityDocs.nationalDoc` (object)
    National Document Id details.

  - `personalInfo.identityDocs.nationalDoc.docId` (string, required)
    Unique id identifying the national document.
    Example: NationalDocId

  - `personalInfo.identityDocs.nationalDoc.issueCountry` (string, required)
    IS0 2 letter country code of the country issuing this id.
    Example: IN

  - `personalInfo.identityDocs.nationalDoc.type` (string)
    Enum: "DNI", "NIE", "CPF", "MTP", "CIN", "NID"

  - `personalInfo.phoneNumbers` (array)

  - `personalInfo.nationality` (string)
    Nationality of user
    Example: Indian

  - `personalInfo.title` (string)
    Enum: "TITLE_UNKNOWN", "MR", "MS", "MRS", "MX", "MASTER", "MISS", "DR", "PROFESSOR", "CAPTAIN", "REVEREND", "HONOURABLE", "SIR", "LADY", "AMBASSADOR", "LORD", "BRIGADIER", "SENATOR", "DAME", "JUSTICE", "UK", "TITLE_REDACTED"

  - `personalInfo.preferredLanguage` (string)
    Language preferred by user.
    Example: en-US

  - `personalInfo.preferredPronoun` (string)
    Enum: "SHE_HER_HERS", "HE_HIM_HIS", "THEY_THEM_THEIRS"

  - `personalInfo.emergencyContact` (object)
    Emergency contact information.

  - `personalInfo.emergencyContact.name` (string, required)
    Full name of contact.
    Example: John Smith

  - `personalInfo.emergencyContact.email` (string)
    Email address of contact.
    Example: emergency-contact@email.com

  - `personalInfo.emergencyContact.designation` (string)
    Job title of contact.
    Example: MANAGER

  - `personalInfo.emergencyContact.relation` (string)
    Relation of contact to user.
    Enum: "RELATION_UNKNOWN", "SPOUSE", "PARENT", "SIBLING", "CHILD", "FRIEND", "RELATIVE", "COLLEAGUE", "OTHER"

  - `personalInfo.emergencyContact.phoneNumbers` (array, required)
    Phone numbers of contact.

  - `personalInfo.emergencyContact.preferredLanguage` (string)
    Language preferred by user.
    Example: en-US

  - `businessInfo` (object)
    User business information.

  - `businessInfo.departmentRef` (object)
    Reference of an entity

  - `businessInfo.departmentRef.id` (string, required)
    Example: b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3

  - `businessInfo.departmentRef.name` (string)
    Example: Name

  - `businessInfo.designation` (string)
    Example: MANAGER

  - `businessInfo.email` (string)
    Example: user@business.com

  - `businessInfo.employeeId` (string)
    Unique employee id. Can use email if a company don't use employee ids.
    Example: 101

  - `businessInfo.phoneNumbers` (array)

  - `businessInfo.countryCode` (string)
    alpha-2 or alpha-3 ISO country code.
    Example: USA

  - `businessInfo.workerType` (string)
    The type of worker.
    Enum: "EMPLOYEE", "CONTINGENT", "SEASONAL", "INTERN", "GUEST"

  - `businessInfo.accountingCode` (string)
    Code used for accounting.
    Example: 123

  - `businessInfo.companySpecifiedAttributes` (array)

  - `businessInfo.companySpecifiedAttributes.fixedColumnName` (string, required)
    Example: contingentType

  - `businessInfo.companySpecifiedAttributes.value` (string, required)
    Example: FSTV

  - `businessInfo.designatedApproverRefs` (array)
    A list of references for designated approvers.

  - `businessInfo.authorizerEmail` (string)
    Email address to be used as approval authorizer, when a manager is not present.
    Example: example@email.com

  - `persona` (string, required)
    Persona of the user
    Enum: "UNKNOWN_PERSONA", "EMPLOYEE", "GUEST", "PERSONAL", "RELATIVE", "ADHOC"

  - `relativeOf` (object)
    Link to primary traveler

  - `relativeOf.relation` (string)
    Enum: "SPOUSE", "CHILD", "FRIEND", "PARENT", "OTHER"

  - `billingCurrency` (string)
    Preferred billing currency of the user
    Example: INR

  - `tier` (string)
    Tier of User.
Note: In default UI, BASIC is displayed as Standard, and SEAT1A is displayed as VIP.
Display names for other tiers are driven by the company tier configuration.
    Enum: "BASIC", "SEAT1A", "TIER_2", "TIER_3", "TIER_4", "TIER_5", "TIER_6", "TIER_7", "TIER_8", "TIER_9", "TIER_10", "TIER_11", "TIER_12", "TIER_13", "TIER_14", "TIER_15", "TIER_16", "TIER_17", "TIER_18", "TIER_19", "TIER_20", "TIER_21", "TIER_22", "TIER_23", "TIER_24", "TIER_25", "TIER_26", "TIER_27", "TIER_28", "TIER_29", "TIER_30", "TIER_31"

  - `stealthType` (string)
    Stealth type.
    Enum: "STEALTH_TYPE_1", "STEALTH_TYPE_2", "STEALTH_TYPE_3"

  - `externalId` (string)
    A partner-assigned user identifier. This value must be unique for all travelers within a PNR.

  - `travelPreferences` (object)
    User's travel preferences

  - `travelPreferences.preferences` (object)
    Travel preferences.

  - `travelPreferences.preferences.airPref` (object)
    Travel preferences related to air travel.

  - `travelPreferences.preferences.airPref.airlinePrefs` (array)

  - `travelPreferences.preferences.airPref.airlinePrefs.airlines` (array)

  - `travelPreferences.preferences.airPref.airlinePrefs.flightType` (string)
    Enum: "UNKNOWN_FLIGHT_TYPE", "DOMESTIC", "INTERNATIONAL", "ALL"

  - `travelPreferences.preferences.airPref.alliancePref` (object)
    Alliance preferences.

  - `travelPreferences.preferences.airPref.alliancePref.alliances` (array, required)

  - `travelPreferences.preferences.airPref.farePref` (object)
    Fare preferences.

  - `travelPreferences.preferences.airPref.farePref.fareTypes` (array, required)

  - `travelPreferences.preferences.airPref.homeAirport` (string)
    Example: NEW YORK

  - `travelPreferences.preferences.airPref.mealPref` (object)
    Meal preferences.

  - `travelPreferences.preferences.airPref.mealPref.exclMealPrefs` (array)

  - `travelPreferences.preferences.airPref.mealPref.inclMealPrefs` (array)

  - `travelPreferences.preferences.airPref.mealPref.specialMealDescription` (string)
    Example: Veg only meal

  - `travelPreferences.preferences.airPref.numStopPref` (object)
    Preferred number of stops.

  - `travelPreferences.preferences.airPref.numStopPref.numOfStops` (integer, required)
    Example: 34

  - `travelPreferences.preferences.airPref.seatAmenityPref` (object)
    Seat amenity preference.

  - `travelPreferences.preferences.airPref.seatAmenityPref.seatAmenityTypes` (array, required)

  - `travelPreferences.preferences.airPref.seatLocationPrefs` (array)

  - `travelPreferences.preferences.airPref.seatLocationPrefs.cabins` (array)

  - `travelPreferences.preferences.airPref.seatLocationPrefs.isBulkHeadPref` (boolean)
    Example: false

  - `travelPreferences.preferences.airPref.seatLocationPrefs.maxFlightDurationInHours` (integer)
    Example: 3

  - `travelPreferences.preferences.airPref.seatLocationPrefs.position` (string)
    Enum: "UNKNOWN_POSITION", "AISLE", "WINDOW", "AISLE_OR_WINDOW"

  - `travelPreferences.preferences.airPref.preferredAirports` (array)
    A list of user preferred airports.

  - `travelPreferences.preferences.airPref.preferredAirports.airportName` (string)
    Airport name.
    Example: San Francisco International Airport

  - `travelPreferences.preferences.airPref.preferredAirports.airportCode` (string, required)
    IATA airport code.
    Example: SFO

  - `travelPreferences.preferences.airPref.preferredAirports.label` (string, required)
    The label of preferred airport or rail station.
    Enum: "HOME", "WORK", "OTHER"

  - `travelPreferences.preferences.preferredCurrency` (string)
    Example: USD

  - `travelPreferences.preferences.railCards` (array)

  - `travelPreferences.preferences.railCards.cardNumber` (string)
    Number of card

  - `travelPreferences.preferences.railCards.name` (string, required)
    Name of the Rail Card.
    Example: Veterans Railcard

  - `travelPreferences.preferences.railCards.spotnanaCode` (string, required)
    Unique Spotnana code/identifier for Rail Card.
    Example: VET

  - `travelPreferences.preferences.railCards.vendor` (string, required)
    Vendor Name.
    Example: ATOC

  - `travelPreferences.preferences.railPref` (object)
    Travel preferences related to rail station.

  - `travelPreferences.preferences.railPref.preferredRailStations` (array)
    A list of user preferred rail stations.

  - `travelPreferences.preferences.railPref.preferredRailStations.stationName` (string)
    Rail station name.
    Example: Chicago Union Station

  - `travelPreferences.preferences.railPref.preferredRailStations.stationCode` (string, required)
    Rail station code.
    Example: CHI

  - `travelPreferences.preferences.railPref.preferredRailStations.cityName` (string)
    Name of city where the rail station is located.
    Example: Chicago

  - `travelPreferences.preferences.railPref.preferredRailStations.countryCode` (string)
    Alpha-2 country code where the rail station is located.

  - `travelPreferences.preferences.railPref.seatPreference` (object)
    Preference about seat of rail.

  - `travelPreferences.preferences.railPref.seatPreference.hasAccessibility` (boolean)
    Whether or not requires assistance for disability.
    Example: false

  - `travelPreferences.preferences.railPref.seatPreference.seatTypes` (array)

  - `travelPreferences.preferences.railPref.seatPreference.seatLocations` (array)

  - `travelPreferences.preferences.railPref.seatPreference.deckLevels` (array)

  - `travelPreferences.preferences.railPref.seatPreference.seatDirections` (array)

  - `travelPreferences.preferences.railPref.travelClasses` (array)
    A list of class of service for rail.

  - `travelPreferences.preferences.railPref.coachPreferences` (array)
    A list of coach preference for rail.

  - `travelPreferences.preferences.railPref.conditionalRates` (array)
    A list of conditional rates for rail.

  - `travelPreferences.preferences.carPref` (object)
    Travel preferences related to car.

  - `travelPreferences.preferences.carPref.vendors` (array)
    A list of car vendors.

  - `travelPreferences.preferences.carPref.vendors.code` (string, required)
    Vendor code
    Example: ZE

  - `travelPreferences.preferences.carPref.vendors.name` (string, required)
    Vendor name
    Example: HERTZ

  - `travelPreferences.preferences.carPref.vendors.isPresentInPreferredVendors` (boolean)
    Whether the car vendor is present in preferred vendor list. This is an optional field which gets populated only in the preferred vendor autocomplete API.
    Example: true

  - `travelPreferences.preferences.carPref.carTypes` (array)
    A list of types of car.

  - `travelPreferences.preferences.carPref.engineTypes` (array)
    A list of types of engine.

  - `travelPreferences.preferences.carPref.transmissionTypes` (array)
    A list of types of transmission.

  - `travelPreferences.preferences.carPref.conditionalRates` (array)
    A list of conditional rates for rail.

  - `travelPreferences.preferences.hotelPref` (object)
    Travel preferences related to hotel.

  - `travelPreferences.preferences.hotelPref.hotelParentChains` (array)
    A list of hotel parent chains.

  - `travelPreferences.preferences.hotelPref.hotelParentChains.chainCode` (string)
    The code of hotel chain.
    Example: EM

  - `travelPreferences.preferences.hotelPref.hotelParentChains.chainName` (string)
    The name of hotel chain.
    Example: Mariott

  - `travelPreferences.preferences.hotelPref.hotelBrands` (array)
    A list of hotel brands.

  - `travelPreferences.preferences.hotelPref.hotelBrands.brandCode` (string)
    The code of hotel brand.
    Example: HY

  - `travelPreferences.preferences.hotelPref.hotelBrands.brandName` (string)
    The name of hotel brand.
    Example: Global Hytt Corp.

  - `travelPreferences.preferences.hotelPref.hotelAmenityTypes` (array)
    A list of HotelAmenities.

  - `travelPreferences.preferences.hotelPref.roomPreference` (object)
    Room options and stay preference.

  - `travelPreferences.preferences.hotelPref.roomPreference.isMobilityAccessible` (boolean)
    Whether or not mobility accessible room, tub.
    Example: false

  - `travelPreferences.preferences.hotelPref.roomPreference.bedCount` (string)
    The number of bed in the room.
    Enum: "ONE_BED", "TWO_BEDS"

  - `travelPreferences.preferences.hotelPref.roomPreference.roomType` (string)
    Single selection of type of room.
    Enum: "SMOKING", "NON_SMOKING"

  - `travelPreferences.preferences.hotelPref.roomPreference.mostImportantFact` (string)
    Single selection of the most import fact.
    Enum: "ROOM_TYPE", "BED_COUNT", "ROOM_LOCATION"

  - `travelPreferences.preferences.hotelPref.roomPreference.roomLocation` (string)
    Location of the hotel room
    Enum: "HIGH_FLOOR", "LOW_FLOOR", "NEAR_ELEVATOR"

  - `travelPreferences.preferences.hotelPref.roomPreference.pillowType` (string)
    The type of pillow in hotel room.
    Enum: "FOAM", "EXTRA_FOAM", "EXTRA_FEATHER"

  - `travelPreferences.preferences.hotelPref.roomPreference.roomAmenityPrefs` (array)

  - `travelPreferences.preferences.hotelPref.conditionalRates` (array)
    A list of conditional rates for rail.

  - `membershipInfo` (object)
    User's loyalty program membership details.

  - `membershipInfo.membershipInfos` (array)

  - `membershipInfo.membershipInfos.appliedTo` (array)

  - `membershipInfo.membershipInfos.id` (string, required)
    Example: firstId

  - `membershipInfo.membershipInfos.issuedBy` (string, required)
    Example: firstIssuedBy

  - `membershipInfo.membershipInfos.type` (string, required)
    Enum: "UNKNOWN_TYPE", "AIR", "HOTEL", "CAR", "RAIL"

  - `membershipInfo.membershipInfos.linked` (boolean)
    Indicates if this loyalty account is linked to the external provider. Only applicable for certain loyalty types.
    Example: false

  - `membershipInfo.membershipInfos.tier` (string)
    Loyalty membership tier name echoed from the supplier.
    Example: GOLD

  - `membershipInfo.isLoyaltyBlocked` (boolean)
    Whether user is blocked to use loyalty programs. This is a read only field.
    Example: false

  - `notificationPreferences` (object)
    Notification preferences of a user for different notification types.

  - `notificationPreferences.preferences` (array)

  - `notificationPreferences.preferences.notificationType` (string)
    Enum: "FLIGHT_NOTIFICATION", "BOOKING_NOTIFICATION"

  - `notificationPreferences.preferences.emailPreference` (object)
    Email preference for notification type.

  - `notificationPreferences.preferences.emailPreference.enabled` (boolean)
    Whether the email preference is enabled or not.

  - `notificationPreferences.preferences.emailPreference.ccEmails` (array)
    List of cc emails for the email preference.

  - `travelArrangers` (object)
    Travel arrangers for a user.

  - `travelArrangers.travelArrangers` (array, required)

  - `travelArrangers.travelArrangers.email` (string)
    Example: example@email.com

  - `travelArrangers.travelArrangers.phoneNumbers` (array)

  - `travelArrangers.travelArrangers.status` (string)
    Status of the traveler-arranger assignment.
    Enum: "PENDING", "ACCEPTED", "DENIED"

  - `adhocUserInfo` (object)
    Basic information related to ad-hoc traveler profile.

  - `adhocUserInfo.profileOwner` (object, required)
    Basic information about the owner of the ad-hoc user.

  - `adhocUserInfo.isSaved` (boolean)
    A boolean flag to show if ad-hoc traveler is visible in search. While updating the user 
if client tries to update this field, it will throw exception.

  - `roles` (array)

  - `roles.roleType` (string)
    Enum: "COMPANY_ADMIN", "COMPANY_TRAVEL_ARRANGER", "TRAVEL_ARRANGER", "COMPANY_REPORT_ADMIN", "TMC_ADMIN", "TMC_AGENT", "GLOBAL_ADMIN", "GLOBAL_AGENT"

  - `roles.roleMetadata` (object)

  - `roles.roleMetadata.travelArrangerMetadata` (object)

  - `roles.roleMetadata.travelArrangerMetadata.arrangerFor` (array, required)

  - `roles.roleMetadata.travelArrangerMetadata.arrangerFor.userId` (string)

  - `roles.roleMetadata.travelArrangerMetadata.arrangerFor.sendConfirmationEmail` (boolean)
    Whether or not to send confirmation emails to user.
    Example: false

  - `roles.roleMetadata.travelArrangerMetadata.arrangerFor.sendFlightStatsNotificationEmail` (boolean)
    Whether or not to send flight stat notifications to user.
    Example: false

  - `roles.metadata` (object)

  - `roles.metadata.roleType` (string, required)
    Discriminator property for role metadata.
    Enum: "TRAVEL_ARRANGER"

  - `roles.metadata.arrangerFor` (array, required)

  - `roles.metadata.roleType` (string, required)
    Role type for which company reference metadata is specified.
    Enum: "COMPANY_ADMIN"

  - `roles.metadata.roleType` (string, required)
    Role type for which tmc reference metadata is specified.
    Enum: "TMC_ADMIN"

## Response 201:

  - `201` (unknown)
    Created

## Response 201 fields (application/json):

  - `id` (string, required)
    Example: b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

