Get a traveler
Returns one traveler. Without expand the answer is the traveler's own fields, read in one call. expand adds members, comma-separated, each at the cost of its own reads, all read at the same time: profile (the travel profile, one read), documents (travel documents with their full numbers, one read), importantDates (one read), relationships (up to two reads: the links, then the related travelers' names), trips (one read) and possibleDuplicates (up to four reads: one lookup per email, phone and name with birth date, then the travelers found, among those the caller may see). Ask only for the members you show. Errors: 400 ERROR_INVALID_QUERY for an expand name that is not a member, 404 ERROR_ITEM_NOT_FOUND for a traveler the caller may not see.
Authorization
Path parameters
Query parameters
- expandoptionalstring
The members to add to the answer, comma-separated, e.g. profile,documents. Without it the answer has none of them. Each member costs its own database reads, and the members asked for are read at the same time: profile, documents, importantDates and trips one read each; relationships up to two (the links, then the related travelers' names); possibleDuplicates up to four (one per email, phone and name with birth date the traveler has, then the travelers found). Ask only for what you show. A name that is not a member is 400 ERROR_INVALID_QUERY.
minLength: 1
Header parameters
Returns
200
OK
- 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))$