LoyaltyClient Class |
Simplicity Loyalty Web Service API Documentation for Loyalty Service - Loyalty End Point
The Loyalty End Point provides a collection of Methods to manage:
public class LoyaltyClient
The LoyaltyClient type exposes the following members.
Name | Description | |
---|---|---|
CreateCardAndMember | Create a new Card and a new Member with a Security Account, from the submitted values. Remarks
| |
CreateCardForMember | Create a new Card and link to an existing Member, from the submitted values. The Card and Member are linked via Program Membership. Remarks
| |
CreateMember | Create Member using the submitted values. Remarks
| |
CreateMemberForInStoreCard | Assign an existing Physical Card to a New Member. The Card Status is set to "ACTIVE. Remarks
| |
CreateMemberForTransferCard | ||
DeleteCustomerAccount | Delete an existing Customer Account from the submitted Customer Account RSN. The Customer Account RSN can be fetched from the Web Service Method: SelectCustomerAccountList | |
DeleteTransactionGalleryImage | Delete an existing Transaction Gallery Image from the submitted Image RSN. | |
FirstCardOrCreateVirtualCard | Searches for an existing Card that belongs to:
Remarks
| |
GetCardBalance | Return the Card Points Balance for the submitted Card Number. | |
GetClosingCardBalance | Return the CardPoints Balance for the submitted Card Number. The Card Points Balance returned is as at 23:59:59 (End of Business) on the submitted Date. | |
GetOpeningCardBalance | Return the CardPoints Balance for the submitted Card Number. The Card Points Balance returned is as at 00:00:00 (Start of Business) on the submitted Date. | |
GetUsernameForCard | Return the Security Account User Name linked to the submitted Card Number. | |
InsertCustomerAccount | Create a new Customer Account linking to the submitted Partner and Member. | |
LinkMemberToInStoreCard | Assign an existing Physical Card to an existing Member. The Card Status is set to "ACTIVE. Remarks
| |
LostCard | Sets the specified Card Number Status to "INACTIVE". This will prevent any possible unauthorised Points Redemptions occuring. | |
NonSaleTransaction | Submit a Non Sale Transaction. A Non Sale Transaction can result in the Member earning Points, where the Transaction is not generated from a Sale. The updated Card Ponts Balance is returned. Remarks
| |
PointsRedemptionTransaction | Submit a Transaction to Redeem Points that are available for Redemption on the submitted Card Number. The updated Card Ponts Balance is returned. Remarks
| |
QueryTransaction | Returns the number of potential points the Member would earn from a particular Transaction that contains a combination of submitted Transaction Properties. | |
ReplaceCard | Sets the specified Card Number Status to "INACTIVE". This will prevent any possible unauthorised Points Redemptions occuring. A new replacement Card is generated. The details associated to the specified Card Number will copied to the replacement Card. The service returns the replacement Card Number and Access Code. | |
SelectCardByCardNumber | Returns the Card Details for the submitted Card Number. Also returns a Transaction History associated to the submitted Card Number. | |
SelectCardByRSN | Returns the Card Details for the submitted Card RSN. Also returns a Transaction History associated to the submitted Card RSN. | |
SelectCardNumber | Return the first Card Number linked to the authenticated Member. The Token supplied when the Member is Authenticated, links to the Card Number. | |
SelectCustomerAccount | Return the Customer Account details from the submitted Customer Account RSN. The Customer Account RSN can be fetched from the Web Service Method: SelectCustomerAccountList | |
SelectCustomerAccountList | Return a collection of Customer Accounts, filtered from the submitted values. Pagination parameters are available to format the response. | |
SelectDateOfLastTransaction | ||
SelectHomePartnerForCard | Return the default Partner Details from the submitted values or authenticated Member Token. Remarks
| |
SelectMember | ||
SelectMemberByCardNumber | Return the Member Details from the submitted Card Number. | |
SelectMemberByMemberRSN | Return the Member Details from the submitted Member RSN. | |
SelectMemberBySecurityAccountRSN | Return the Member Details from the submitted Security Account RSN. | |
SelectMemberCashback | ||
SelectMemberNextPointsToExpire | ||
SelectMemberNonFinancialPointsPotential | Returns the maximum number of potential points the Member would earn from a particular Non Financial Transaction that contains a combination of Non Financial Transaction Properties. Remarks
The Non Financial Transaction Properties can include:
| |
SelectMemberPointsSummaryByProgramCode | Returns the Program Member Details and Points Expiry for the submitted Member RSN and Program Code for Expiries that are:
| |
SelectMemberPointsSummaryByProgramRSN | Returns the Program Member Details and Points Expiry for the submitted Member RSN and Program RSN for Expiries that are:
| |
SelectMemberRecentExpiredPoints | Return the next highest Program Membership Tier for the submitted Card Number. | |
SelectMemberTopVoucher | ||
SelectNextProgramTier | ||
SelectProgramLastAnniversaryDate | Returns the last anniversary date for the Program Membership linked to the submitted Card Number. | |
SelectProgramName | Returns the Program Name linked to the submitted Card Number. | |
SelectProgramNextAnniversaryDate | Returns the next anniversary date for the Program Membership linked to the submitted Card Number. | |
SelectProgramNumberOfDaysFromLastAnniversaryDate | Returns the number of days from the last anniversary date for the Program Membership linked to the submitted Card Number. | |
SelectProgramNumberOfDaysToNextAnniversaryDate | Returns the number of days to the next anniversary date for the Program Membership linked to the submitted Card Number. | |
SelectProgramPercentageRequiredToNextTier | Returns the progress for the number of points required for the Member to progress to the next Membership Tier. Progress is expressed as a percentage for the submitted Card Number. Parameters are available to optionally return a pro rata percentage based on the next Program Membershop Anniversary Date. | |
SelectProgramPointsRequiredToNextTier | Returns the progress for the number of points required for the Member to progress to the next Membership Tier. Progress is expressed in Points required for the submitted Card Number. Parameters are available to optionally return the pro rata points based on the next Program Membershop Anniversary Date. | |
SelectProgramStartDate | Returns the start date for the Program linked to the submitted Card Number. | |
SelectProgramTier | Returns the Program Tier linked to the submitted Card Number. If the Program has no Tiers, the Program Name will be returned. | |
SelectTransactionDetailByRSN | Returns the Transaction Details from the submitted Transaction Set RSN. The Transaction Set RSN can be fetched from the Web Service Method: SelectTransactionDetailList | |
SelectTransactionDetailByTransactionID | Returns the Transaction Details from the submitted Transaction ID. The Transaction ID can be fetched from the Web Service Method: SelectTransactionDetailList | |
SelectTransactionDetailList | Returns a Paged Collection of Transaction Details from the submitted Search Paramaters. Paging parameters can be defined in the request. | |
SelectTransactionHistory | Returns a Paged Collection of Transaction Details from the submitted Search Paramaters. Paging parameters can be defined in the request. | |
SelectVoucherByRSN | ||
SelectVoucherList | ||
SelectVouchers | Returns a Paged Collection of Vouchers linked to the submitted Card Number and Access Code. Paging parameters can be defined in the request. | |
TransferCardToMember | ||
UpdateCard | Update a Card Detail, from the submitted values. Remarks
| |
UpdateCustomerAccount | Update a Customer Account Detail, from the submitted values. | |
UpdateMember | Update a Member Detail, from the submitted values. | |
ValidateInStoreCard | Returns the Card Status for the submitted Card Number and Access Code. Access Code may be configured to be an optional parameter. | |
ValidateTransactionImageEditByMember | ||
ValidateTransactionImageEditByOutlet | ||
ValidateTransactionImageEditByPartner | ||
VoucherDetails | Returns the details of the Voucher for the submitted Voucher Number. |