Kognitiv
130 Weber St. W., Suite 100,
Kitchener, Ontario CANADA N2H 4A2

EnrollLoyaltyMember
Overview
https://app.kognitivloyalty.com/Services/LoyaltyMember.asmx (Production)
https://app.kognitivloyalty.com/Services/LoyaltyMember.asmx?WSDL (Production)
EnrollLoyaltyMember
https://app.kognitivloyalty.com/Services/LoyaltyMember.asmx?op=EnrollLoyaltyMember (Production)
Enrolls a Loyalty Member - IF ANY ERROR IS RETURNED, the entire enrollment is reversed and nothing is saved...
Interface
Takes parameter 'preqEnrollLoyaltyMember' of type 'reqEnrollLoyaltyMember' (defined below)
Returns record of type 'respEnrollLoyaltyMember' (defined below)
reqEnrollLoyaltyMember
SecurityToken (String) - Web Service Security Token generated via the Aimia Loyalty Solutions Platform Application
LocationExternalReference (String) Required - Location for Enrollment - External Reference setup via Application
AccountIdTypeExternalReference (String) Required - Account Id Type External Reference setup via Application
AccountId (String) Required - Account Id to Add or Modify (may be the same as 'AccountIdToModify')
FirstName (String) Required - First Name of Account
MiddleName (String) - Middle Name of Account
LastName (String) Required - Last Name of Account
Suffix (String) - Proper Name Suffix
NickName (String) - NickName of Account (used for Forum Posts)
Birthdate (String) - Blank for No Date, or a US-Formatted Date (i.e MM-DD-YYYY)
Gender (String) - Blank for Unknown, 'm' or 'Male' for Male, 'f', 'Female' for Female
EnrollmentTimestamp (String) - Enrollment Timestamp - if Blank, current timestamp is used (us format MM-DD-YYYY)
AddressTypeExternalReference (String)  - Address Type External Reference setup via Application
AddressLine1 (String) - Address Line 1
AddressLine2 (String) - Address Line 2
AddressLine3 (String) - Address Line 3
City (String) - Proper City Name
Region (String) - Region (State for United States, Province for Canada, ...) Name or Abbrevation
PostalCode (String) - ZipCode for United States, Postal Code for Canada, ...) Name or Abbrevation
Country (String) - Country Name or Abbrevation
AddressIsValid (Integer - 32bit) - (0) - False, Non-Zero Value for True
EmailTypeExternalReference (String) - Email Type External Reference setup via Application
EmailAddress (String) - Complete Email Address
EmailIsValid (Integer - 32bit) - (0) - False, Non-Zero Value for True
PhoneNumberTypeExternalReference (String) - Phone Number Type External Reference setup via Application
PhoneNumber (String) - Phone Should have Country Code and suggested to be unformatted - Raw
MobileCarrierExternalReference (String) - Mobile Carrier External Reference setup via Application
PhoneNumberIsValid (Integer - 32bit) - (0) - False, Non-Zero Value for True
Password (String) Plain Text Password to use for Portal Access
IsEmployee (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
IsSuspended (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
IsLocked (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
DoNotCall (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
DoNotMail (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
DoNotEmail (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
DoNotText (Integer - 32bit) Required - (0) - False, Non-Zero Value for True
CustomFieldPairs - Key / Value Pairs for Custom Fields (Keys = Custom Field External References setup via Application)
respEnrollLoyaltyMember
ReturnCode (Integer) - (0) - Success / (Non-Zero) - Error (See Below)
MemberId (Integer - 32bit) - Kognitiv Loyalty Internal Unqiue Member Id
SavedAddressLine1 (String) - Formatted Address Line 1 that was Saved
SavedAddressLine2 (String) - Formatted Address Line 2 that was Saved
SavedAddressLine3 (String) - Formatted Address Line 3 that was Saved
SavedCity (String) - Formatted City that was Saved
SavedRegion (String) - Full Region Name Saved
SavedRegionAbbrev (String) - Region Abbrevation Saved
SavedPostalCode (String) - Formatted Postal Code that was Saved
SavedCountry (String) - Full Country Name Saved
SavedCountryAbbrev (String) - Country Abbrevation Saved
SavedEmailAddress (String) Formatted Email Address that was Saved
SavedPhoneNumber (String) Formatted Phone Number that was Saved
Additional Information
If any error is returned back, the entire enrollment has been reversed and discarded.
Error Codes
(0) - Sucess
(1) - Undefined Error (Please Contact Support)
(2) - Required Field Missing
(100) - Invalid Security Token
(101) - Invalid Permission for Method
(307) - Invalid Email Type External Reference
(308) - Invalid Phone Number Type External Reference
(309) - Invalid Address Type External Reference
(314) - Duplicate Email Address - Already in Use under another Member
(315) - Duplicate Phone Number - Already in use under another Member
(316) - Invalid Mobile Carrier External Reference
(317) - Invalid Address Region for Country
(318) - Duplicate Account Id
(319) - Invalid Id Type External Reference
(803) - Error In Custom Field Collection (check External References and Value External References)
(1002) - Invalid Location External Reference
Reference
Web Services Overview
Web Services Map
SBLP Security Token Information

Copyright © 2003-2021 Kognitiv, Corp. All rights reserved.