LoyaltyClientSelectMemberNonFinancialPointsPotential Method |
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.
public ResultOfMemberPointsPotential SelectMemberNonFinancialPointsPotential( ManagementGroupRequestOfCardPointsProductSearch request )
using (var svc = new LoyaltyService.LoyaltyClient()) { var request = new LoyaltyService.ManagementGroupRequestOfCardPointsProductSearch(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin var search = new LoyaltyService.CardPointsProductSearch(); search.Card_Number = "21000005";//Required search.Period = "WEEK";//Required - valid values are : 'DAY', 'WEEK', 'MONTH', 'CALENDARYEAR', 'JOINEDYEAR' OR 'ANNIVERSARYYEAR' search.ProductCategory = "Clothes";//Optional search.ProductCode = "Product_123";//Optional search.ProductDepartment = "Merchandise";//Optional //add filter to request request.Value = search; LoyaltyService.ResultOfMemberPointsPotential result = svc.SelectMemberNonFinancialPointsPotential(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }