The ReadProfile method is used to read one or more existing Customer, Company or Booker profile (Travel Arranger) types or Commissionable Accounts matching the specified search criteria.
Target Audience
Hospitality
API Version
10.29
Authentication
Security Credentials
Service Action Code
OTA_ReadRQ
The profiles or commissionable accounts can be searched using the following criteria:
Sample Request
<OTA_ReadRQ Version="1" EchoToken="1122" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<ReadRequests>
<ProfileReadRequest>
<UniqueID Type="1" ID="14EF985B2C" ID_Context="crs">
<CompanyName CodeContext="hotel" Code="10001"/>
</UniqueID>
</ProfileReadRequest>
</ReadRequests>
</OTA_ReadRQ>
<ReadRequests>
<ProfileReadRequest>
<UniqueID Type="1" ID="14EF985B2C" ID_Context="crs">
<CompanyName CodeContext="hotel" Code="10001"/>
</UniqueID>
</ProfileReadRequest>
</ReadRequests>
</OTA_ReadRQ>
Sample Response
<OTA_ProfileReadRS EchoToken="1122" TimeStamp="2019-03-05T11:57:16Z" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>
<Profiles>
<ProfileInfo>
<UniqueID Type="1" ID="14EF985B2C" ID_Context="crm" Instance="Master">
<CompanyName CodeContext="chain" Code="1111"/>
</UniqueID>
<UniqueID Type="1" ID="10001C12345" ID_Context="crs" Instance="Master">
<CompanyName CodeContext="chain" Code="1111"/>
</UniqueID>
<Profile ProfileType="1" CreateDateTime="2019-03-05T21:56:44Z" LastModifyDateTime="2019-03-06T12:23:11Z" ShareAllMarketInd="no">
<Customer BirthDate="1972-09-24" Language="English">
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Mark</GivenName>
<MiddleName>T</MiddleName>
<Surname>Jones</Surname>
<NameSuffix>Third</NameSuffix>
</PersonName>
<PersonName NameType="3">
</NamePrefix>
<GivenName></GivenName>
</MiddleName>
<Surname></Surname>
</NameSuffix>
</PersonName>
<Telephone PhoneTechType="1" PhoneNumber="206-555-1255"/>
<Telephone PhoneTechType="1" PhoneNumber="206-555-1256"/>
<Telephone PhoneTechType="3" PhoneNumber="206-555-1257"/>
<Telephone PhoneTechType="5" PhoneNumber="206-555-1258"/>
<Email>mtj@email.com</Email>
<Address Type="1" Remark="Home address" DefaultInd="true">
<AddressLine>1 Main St</AddressLine>
<AddressLine>Suite 100</AddressLine>
<AddressLine>Cubicle 10</AddressLine>
<CityName>Seattle</CityName>
<PostalCode>98105</PostalCode>
<StateProv StateCode="WA"/>
<CountryName Code="US"/>
</Address>
<PaymentForm>
<PaymentCard CardCode="AX" CardNumber="0000111122223333" ExpireDate="2209">
<CardHolderName>Mark Jones</CardHolderName>
</PaymentCard>
</PaymentForm>
<AlternateLanguage Code="ja"/>
<CustLoyalty ProgramID="GRP" MembershipID="1234" LoyalLevel="Gold" SignupDate="2006-09-15" EffectiveDate="2019-01-01" ExpireDate="2016-09-15" PinNumber="password"/>
</Customer>
<PrefCollections>
<PrefCollection>
<HotelPref SmokingAllowed="false">
<PropertyAmenityPref PropertyAmenityType="1"/>
<PropertyAmenityPref PropertyAmenityType="2"/>
<PropertyAmenityPref PropertyAmenityType="3"/>
<RoomAmenityPref RoomAmenity="1"/>
<RoomAmenityPref RoomAmenity="2"/>
</HotelPref>
</PrefCollection>
</PrefCollections>
<CompanyInfo>
<CompanyName>SynXis</CompanyName>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
</OTA_ProfileReadRS>
<Success/>
<Profiles>
<ProfileInfo>
<UniqueID Type="1" ID="14EF985B2C" ID_Context="crm" Instance="Master">
<CompanyName CodeContext="chain" Code="1111"/>
</UniqueID>
<UniqueID Type="1" ID="10001C12345" ID_Context="crs" Instance="Master">
<CompanyName CodeContext="chain" Code="1111"/>
</UniqueID>
<Profile ProfileType="1" CreateDateTime="2019-03-05T21:56:44Z" LastModifyDateTime="2019-03-06T12:23:11Z" ShareAllMarketInd="no">
<Customer BirthDate="1972-09-24" Language="English">
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Mark</GivenName>
<MiddleName>T</MiddleName>
<Surname>Jones</Surname>
<NameSuffix>Third</NameSuffix>
</PersonName>
<PersonName NameType="3">
</NamePrefix>
<GivenName></GivenName>
</MiddleName>
<Surname></Surname>
</NameSuffix>
</PersonName>
<Telephone PhoneTechType="1" PhoneNumber="206-555-1255"/>
<Telephone PhoneTechType="1" PhoneNumber="206-555-1256"/>
<Telephone PhoneTechType="3" PhoneNumber="206-555-1257"/>
<Telephone PhoneTechType="5" PhoneNumber="206-555-1258"/>
<Email>mtj@email.com</Email>
<Address Type="1" Remark="Home address" DefaultInd="true">
<AddressLine>1 Main St</AddressLine>
<AddressLine>Suite 100</AddressLine>
<AddressLine>Cubicle 10</AddressLine>
<CityName>Seattle</CityName>
<PostalCode>98105</PostalCode>
<StateProv StateCode="WA"/>
<CountryName Code="US"/>
</Address>
<PaymentForm>
<PaymentCard CardCode="AX" CardNumber="0000111122223333" ExpireDate="2209">
<CardHolderName>Mark Jones</CardHolderName>
</PaymentCard>
</PaymentForm>
<AlternateLanguage Code="ja"/>
<CustLoyalty ProgramID="GRP" MembershipID="1234" LoyalLevel="Gold" SignupDate="2006-09-15" EffectiveDate="2019-01-01" ExpireDate="2016-09-15" PinNumber="password"/>
</Customer>
<PrefCollections>
<PrefCollection>
<HotelPref SmokingAllowed="false">
<PropertyAmenityPref PropertyAmenityType="1"/>
<PropertyAmenityPref PropertyAmenityType="2"/>
<PropertyAmenityPref PropertyAmenityType="3"/>
<RoomAmenityPref RoomAmenity="1"/>
<RoomAmenityPref RoomAmenity="2"/>
</HotelPref>
</PrefCollection>
</PrefCollections>
<CompanyInfo>
<CompanyName>SynXis</CompanyName>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
</OTA_ProfileReadRS>