The Loyalty Enrollment(OTA_LoyaltyAccountCreateRQ) is used to allow SynXis to send enrollment information to a loyalty service provider to create a new account for one of its customers.
Target Audience
Profile & Loyalty Management
API Version
10.33
Authentication
Security Credentials
Service Action Code
OTA_LoyaltyAccountCreateRQ
The response message will contain the newly created account information (e.g. membership ID).
Sample Request
<OTA_LoyaltyAccountCreateRQ Version="1.002" TimeStamp="2022-12-17T09:30:47-05:00" xmlns="http://www.opentravel.org/OTA/2003/05">
<AccountInfo EnrollmentMethod="1">
<MemberInfo>
<PersonName>
<GivenName>John</GivenName>
<MiddleName>T</MiddleName>
<Surname>Smith</Surname>
</PersonName>
<Telephone PhoneTechType="1" PhoneNumber="206-555-1255" />
<Telephone PhoneTechType="3" PhoneNumber="206-555-1257" />
<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>
<Email DefaultInd="true">myprimaryemail@email.com</Email>
<Email DefaultInd="false">myalternateemail@email.com</Email>
</MemberInfo>
</AccountInfo>
</OTA_LoyaltyAccountCreateRQ>
Sample Response
<OTA_LoyaltyAccountRS="1.002">
<Success/>
<UniqueID Type="1" ID="CRM1234" ID_Context="crm">
<CompanyName CodeContext="chain" Code="1111" />
</UniqueID>
<AccountInfo>
<CustLoyalty ProgramID="GRP" MembershipID="LP1234" LoyalLevel="Gold"/>
</AccountInfo>
</OTA_LoyaltyAccountRS>