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

ProductPromotionEntry
Overview
https://app.kognitivloyalty.com/Services/Mobile.asmx (Production)
https://app.kognitivloyalty.com/Services/Mobile.asmx?WSDL (Production)
ProductPromotionEntry
https://app.kognitivloyalty.com/Services/Mobile.asmx?op=ProductPromotionEntry (Production)
Processes a Product Code Promotion Entry from a Mobile Device using Phone Number to Id the Account.
Interface
Takes parameter 'preqProductPromotionEntry' of type 'reqProductPromotionEntry' (defined below)
Returns record of type 'respProductPromotionEntry' (defined below)
reqProductPromotionEntry
SecurityToken (String) - Web Service Security Token generated via the Aimia Loyalty Solutions Platform Application
LoyaltyProgramId (Required)(Integer) - The Loyalty Program Id to validate (Hardcoded value for the specific Loyalty Program)
LocationExternalReference (String) - This is the External Reference for the Location that the Transaction should be applied to
PhoneNumber (Required)(String) - The Phone Number to Lookup, Requires Country Code (1 for US).  All Non-Numbers are 'stripped', so this can be formatted or unformatted
ProductCode (String) - The actual Product Code being Entered
respProductPromotionEntry
ReturnCode (Interger) - Contains Return Code - possible values defined in 'Error Codes' section of this page
ErrorMessage (String) - Blank if not 'Success', otherwise, String representation of the Return Code Error
SuccessfulPromotionMessage (String) - If the Promotion is Successful, the Product Code Promotion will return back a "Successful String Message"
MemberFirstName (String) - Member First Name, Blank if Non Success Return Code
MemberLastName (String) - Member LastName, Blank if Non Success Return Code
LoyaltyProgramName (String) - The Proper Loyalty Program Name, Blank if Non Success Return Code
PointsEarned (Double / Floating Point) - The Total Points Earned, Zero if Non Success Return Code
PointsUsed (Double / Floating Point) - The Total Points Used for Rewards, Zero if Non Success Return Code
PointsDeducted (Double / Floating Point) - The Total Points Deducted due to Negative Point Transactions (maybe refunds), Zero if Non Success Return Code
PointsExpired (Double / Floating Point) - The Total Points Expired, Zero if Non Success Return Code
PointsLocked (Double / Floating Point) - The Total Points Locked, Zero if Non Success Return Code
PointsAvailable (Double / Floating Point) - The Total Points Available for Redemption, Zero if Non Success Return Code
Additional Information
Error Codes
(0) - Sucess
(1) - Undefined Error (Please Contact Support)
(100) - Invalid Security Token
(101) - Invalid Permission for Method
(302) - Member Account is Suspended
(303) - Invalid Loyalty Program Id
(305) - Member is Not Enrolled in Loyalty Program
(1000) - No Account for Phone Number
(1001) - Promotion Procecssing Error  (See the ErrorMessage Field for Details)
(1002) - Invalid Location External Reference
Reference
Web Services Overview
Web Services Map
SBLP Security Token Information

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