Profile Traveler Search

UProfileResRsp.xsd
Profile Search is used to find profiles that exist in the database from a Profile Create request.
The ProfileSearch request can be used to search for travelers by a number of parameters, including first or last name and phone number. For more information and rules about general profile searches, refer to Profile Search.
Schema
Profile Search is within uProfile.xsd. See the following transactions for Profile Search:
- ProfileSearchReq
- For ProfileSearchRsp, refer directly to the uProfile schema.
How to Search for a Traveler
Traveler Profile Search allows the user to search for Traveler type profiles using different variables for the search, such as last name or email address. To restrict results to only traveler profiles, set the ProfileSearchReq@ProfileType="Traveler".
There is no limit on how many search parameters the user can send in a single search request. However, when multiple search parameters are sent in a request, only profiles with all specified values are returned.
Search responses for traveler profiles include the following:
-
First/Given name and last name
Note: If a Traveler profile contains a local language name, it is returned in the LocalLanguageName and LocalLanguageSurname attributes.
- Any profile data that matches the search parameters
- If the traveler search included loyalty number 8744*, the response might contain four different travelers. Each result would show only loyalty cards that match 8744*.
- If the traveler search included both a loyalty number and a contact email address, the matching loyalty cards and matching email addresses are returned for each traveler; however, other loyalty numbers and email addresses in the profiles are not returned if they don’t match the search parameters.

Request
<soap:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<upr:ProfileSearchReq ProfileType="Traveler" ProfileParentID="721199" ReturnParentSummary="false" xmlns:upr="http://www.travelport.com/schema/uprofile_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPItest"/>
<upr:ProfileTypeSearch>
<upr:TravelerCriteria Surname="Donaldson">
</upr:TravelerCriteria>
</upr:ProfileTypeSearch>
<upr:ProfileSearchModifiers MaxResults="20" StartFromResult="1"/>
</upr:ProfileSearchReq>
</SOAP:Body>
</SOAP:Envelope>
Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<uprofile:ProfileSearchRsp TransactionId="060000080A0000C53A7D7427C34E2E47" ResponseTime="245" MoreResults="false" xmlns:uprofile="http://www.travelport.com/schema/uprofile_v50_0">
<uprofile:ProfileSummary ProfileID="721224" ProfileType="Traveler" Status="Active" Version="2">
<uprofile:TravelerInfo GivenName="Jim" Surname="Donaldson"/>
</uprofile:ProfileSummary>
<uprofile:ProfileSummary ProfileID="721220" ProfileType="Traveler" Status="Active" Version="0">
<uprofile:TravelerInfo GivenName="SuzieQ" Surname="Donaldson"/>
</uprofile:ProfileSummary>
<uprofile:ProfileSummary ProfileID="721222" ProfileType="Traveler" Status="Active" Version="1">
<uprofile:TravelerInfo GivenName="SuzieQ" Surname="Donaldson"/>
</uprofile:ProfileSummary>
</uprofile:ProfileSearchRsp>
</SOAP:Body>
</SOAP:Envelope>

When using a wildcard search, you must enter a minimum of two characters.
Request
<soap:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<upr:ProfileSearchRsp ProfileType="Traveler" ProfileParentID="721199" ReturnParentSummary="false" xmlns:upr="http://www.travelport.com/schema/uprofile_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPItest"/>
<upr:ProfileTypeSearch>
<upr:TravelerCriteria Surname="Do*">
</upr:TravelerCriteria>
</upr:ProfileTypeSearch>
<upr:ProfileSearchModifiers MaxResults="20" StartFromResult="1"/>
</upr:ProfileSearchReq>
</SOAP:Body>
</SOAP:Envelope>
Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<uprofile:ProfileSearchRsp TransactionId="0705FD520A0771C650058560CDECF4A4" ResponseTime="57" MoreResults="false" xmlns:uprofile="http://www.travelport.com/schema/uprofile_v50_0">
<uprofile:ProfileSummary ProfileID="721224" ProfileType="Traveler" Status="Active" Version="2">
<uprofile:TravelerInfo GivenName="Jim" Surname="Donaldson"/>
</uprofile:ProfileSummary>
<uprofile:ProfileSummary ProfileID="721220" ProfileType="Traveler" Status="Active" Version="0">
<uprofile:TravelerInfo GivenName="SuzieQ" Surname="Donaldson"/>
</uprofile:ProfileSummary>
<uprofile:ProfileSummary ProfileID="721222" ProfileType="Traveler" Status="Active" Version="1">
<uprofile:TravelerInfo GivenName="SuzieQ" Surname="Donaldson"/>
</uprofile:ProfileSummary>
</uprofile:ProfileSearchRsp>
</SOAP:Body>
</SOAP:Envelope>

Request
<soap:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<upr:ProfileSearchRsp ProfileType="Traveler" ProfileParentID="721199" ReturnParentSummary="false" xmlns:upr="http://www.travelport.com/schema/uprofile_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPItest"/>
<upr:ProfileTypeSearch>
<upr:TravelerCriteria GivenName="Jim">
</upr:TravelerCriteria>
</upr:ProfileTypeSearch>
<upr:ProfileSearchModifiers MaxResults="20" StartFromResult="1"/>
</upr:ProfileSearchReq>
</SOAP:Body>
</SOAP:Envelope>
Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<uprofile:ProfileSearchRsp TransactionId="06AC06A60A0771C650058560B22F008C" ResponseTime="575" MoreResults="false" xmlns:uprofile="http://www.travelport.com/schema/uprofile_v50_0">
<uprofile:ProfileSummary ProfileID="721224" ProfileType="Traveler" Status="Active" Version="2">
<uprofile:TravelerInfo GivenName="Jim" Surname="Donaldson"/>
</uprofile:ProfileSummary>
</uprofile:ProfileSearchRsp>
</SOAP:Body>
</SOAP:Envelope>

Request
<soap:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<upr:ProfileSearchRsp ProfileType="Traveler" ProfileParentID="721199" ReturnParentSummary="false" xmlns:upr="http://www.travelport.com/schema/uprofile_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPItest"/>
<upr:ProfileTypeSearch>
<upr:TravelerCriteria>
<upr:ElectronicAddress Address="Traveler1@email.com">
</upr:TravelerCriteria>
</upr:ProfileTypeSearch>
<upr:ProfileSearchModifiers MaxResults="20" StartFromResult="1"/>
</upr:ProfileSearchReq>
</SOAP:Body>
</SOAP:Envelope>
Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<uprofile:ProfileSearchRsp TransactionId="069A97CC0A0771C53A7D7427E2A6926B" ResponseTime="563" MoreResults="false" xmlns:uprofile="http://www.travelport.com/schema/uprofile_v50_0">
<uprofile:ProfileSummary ProfileID="724925" ProfileType="Traveler" Status="Active" Version="0">
<uprofile:TravelerInfo Description="Traveler Profile" Title="Mr" GivenName="James" Surname="Donaldson">
<uprofile:ElectronicAddress Key="740503" Name="Traveler1@email.com" Type="Business" Format="HTML" Purpose="All"/>
</uprofile:TravelerInfo>
</uprofile:ProfileSummary>
</uprofile:ProfileSearchRsp>
</SOAP:Body>
</SOAP:Envelope>

Request
<soap:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<upr:ProfileSearchRsp ProfileType="Traveler" ProfileParentID="721199" ReturnParentSummary="false" xmlns:upr="http://www.travelport.com/schema/uprofile_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPItest"/>
<upr:ProfileTypeSearch>
<upr:TravelerCriteria>
<upr:Phone AreaCode="303" LocalNumber="555-5555">
</upr:TravelerCriteria>
</upr:ProfileTypeSearch>
<upr:ProfileSearchModifiers MaxResults="20" StartFromResult="1"/>
</upr:ProfileSearchReq>
</SOAP:Body>
</SOAP:Envelope>
Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<uprofile:ProfileSearchRsp TransactionId="06A1F7FC0A0771C53A7D742771FB12FF" ResponseTime="785" MoreResults="false" xmlns:uprofile="http://www.travelport.com/schema/uprofile_v50_0">
<uprofile:ProfileSummary ProfileID="724925" ProfileType="Traveler" Status="Active" Version="0">
<uprofile:TravelerInfo Description="Traveler Profile" Title="Mr" GivenName="James" Surname="Donaldson">
<uprofile:Phone Key="847746" Description="Work Desk" Type="Work" Country="US" AreaCode="303" LocalNumber="555-5555" Extension="123"/>
</uprofile:TravelerInfo>
</uprofile:ProfileSummary>
</uprofile:ProfileSearchRsp>
</SOAP:Body>
</SOAP:Envelope>

Request
<soap:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<upr:ProfileSearchRsp ProfileType="Traveler" ProfileParentID="721199" ReturnParentSummary="false" xmlns:upr="http://www.travelport.com/schema/uprofile_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPItest"/>
<upr:ProfileTypeSearch>
<upr:PaymentDetails Type="Credit Card" PaymentSupplier="VI" AccountNumber="4444333322221111">
</upr:PaymentDetails>
</upr:ProfileTypeSearch>
<upr:ProfileSearchModifiers MaxResults="20" StartFromResult="1"/>
</upr:ProfileSearchReq>
</SOAP:Body>
</SOAP:Envelope>
Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<uprofile:ProfileSearchRsp TransactionId="06AA72F10A0771C6500585605E4857F2" ResponseTime="1159" MoreResults="false" xmlns:uprofile="http://www.travelport.com/schema/uprofile_v50_0">
<uprofile:ProfileSummary ProfileID="721222" ProfileType="Traveler" Status="Active" Version="1">
<uprofile:TravelerInfo GivenName="SuzieQ" Surname="Donaldson"/>
<uprofile:FormOfPayment Key="4177113" Type="Credit Card" Description="Test Credit Card" OwnerID="721199" PriorityOrder="1">
<uprofile:CreditCard Type="VI" Number="4444333322221111" Name="SuzieQ Donaldson" ExtendedPayment="N"/>
</uprofile:FormOfPayment>
</uprofile:ProfileSummary>
</uprofile:ProfileSearchRsp>
</SOAP:Body>
</SOAP:Envelope>