List or search travelers
Lists the agency's travelers by name, 50 a page. An advisor sees the travelers they serve (scope=COMPANY adds the ones the agency shares with every advisor); an admin sees them all, or one advisor's with assignedAdvisorUserId. q matches the start of any word of the name, the email or the phone; tag, stage, isArchived and segmentId narrow the list. total counts the whole list, or is null for a search or a segment with dates. Errors: 400 ERROR_INVALID_QUERY.
Authorization
Query parameters
Header parameters
Returns
200
OK
- itemsarray ofobjectrequired
The items of this page.
- addressrequired
The traveler's postal address; null when nobody gave one.
}Any of the following:
- PersonAddress
- address1stringrequiredmaxLength: 200 · minLength: 1
- citystringrequiredmaxLength: 100 · minLength: 1
- countryCodestringrequiredpattern: ^[A-Z]{2}$
- postalCodestringrequiredmaxLength: 20 · minLength: 1
- stateCodestringrequiredmaxLength: 100 · minLength: 1
- null
- createdAtstringrequired
When the traveler was added, ISO 8601 in UTC.
format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ - updatedAtstringrequired
When the traveler last changed, ISO 8601 in UTC.
format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ - importantDatesoptionalarray ofobject
The dates the agency remembers every year; the birthday is birthDate, not one of these. Only with expand=importantDates.
- datestringrequired
The date, YYYY-MM-DD. Its month and day come back every year; the year is the first one.
format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
- profileoptionalobject
The travel profile: air and hotel preferences, dietary and accessibility needs, loyalty programs, emergency contacts, interests and pets. Only with expand=profile.
- airrequired}
Any of the following:
- AirPreferences
- cabinClassrequired}
Any of the following:
- stringBUSINESSorECONOMYorFIRSTorPREMIUM_ECONOMY
- null
- mealCoderequired}
Any of the following:
- string
- null
- notesrequired}
Any of the following:
- string
- null
- preferredAirlineCodesarray ofstringrequiredpattern: ^[A-Z0-9]{2,3}$
- preferredAirportCodesarray ofstringrequiredpattern: ^[A-Z]{3}$
- seatrequired}
Any of the following:
- stringAISLEorANYorWINDOW
- null
- null
- hotelrequired}
Any of the following:
- HotelPreferences
- bedrequired}
Any of the following:
- stringANYorKINGorQUEENorTWIN
- null
- floorrequired}
Any of the following:
- stringANYorHIGHorLOW
- null
- notesrequired}
Any of the following:
- string
- null
- preferredBrandsarray ofstringrequiredmaxLength: 80 · minLength: 1
- roomTyperequired}
Any of the following:
- string
- null
- null