Input
TransType (string):
GETTRAVELINGCOMPANIONS
Login (string): API user id
Password (string): API user password
ContactID (integer): Contact ID of the contact whose past traveling companions to return
Output
Array of contact objects
(Same output as CONTACTSEARCH
)
ContactID
LastName
FirstName
CareOf
AddressID
Address1
Address2
City
State
Zip
Country
CountryName
HouseholdName
Gender
Title
Email
Phone
PhoneExt
MobilePhone
Fax
ContactType
Status
QCurrency
DefaultBrand
CustomerID
CustomerName
Comment
Birthdate
Age
PassportNumber
PassportExpiration
PassportAuthority
PassportIssueDate
Nationality
PaxType
EmergencyContact
EmergencyPhone
WhoStamp
DateStamp
Process
This method will return contacts that match the following criteria:
Contact is a passenger on at least one reservation where the specified input contact ID is also a passenger
Notes:
This will include potential future bookings
This will include potential canceled bookings
Softrip strongly recommends not to offer this as an option to external users (direct consumers/travel agents). This raises big questions about PII and data privacy and increases clients' exposure.