LoyaltyClientSelectMemberRecentExpiredPoints Method |
Return the next highest Program Membership Tier for the submitted Card Number.
public ResultOfArrayOfPointsExpiry SelectMemberRecentExpiredPoints( ManagementGroupRequestOfPointsExpiryFilter request )
using (var svc = new LoyaltyService.LoyaltyClient()) { var request = new LoyaltyService.ManagementGroupRequestOfPointsExpiryFilter(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin var filter = new LoyaltyService.PointsExpiryFilter(); filter.CardNumber = "21000005";//Required filter.GroupByMonth = false;//Optional filter.NumberOfResults = 100;//Required //add filter to request request.Value = filter; LoyaltyService.ResultOfArrayOfPointsExpiry result = svc.SelectMemberRecentExpiredPoints(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }