Click or drag to resize

LoyaltyClientSelectMemberRecentExpiredPoints Method

Return the next highest Program Membership Tier for the submitted Card Number.

Syntax
C#
public ResultOfArrayOfPointsExpiry SelectMemberRecentExpiredPoints(
	ManagementGroupRequestOfPointsExpiryFilter request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfPointsExpiryFilter

Return Value

Type: ResultOfArrayOfPointsExpiry
Examples
C#
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);
  }
}
See Also