using (var svc = new LoyaltyService.LoyaltyClient())
{
var request = new LoyaltyService.ManagementGroupRequestOfPointsExpiryFilter();
request.Token = "Token";
request.ManagementGroup = "Management group";
var filter = new LoyaltyService.PointsExpiryFilter();
filter.CardNumber = "21000005";
filter.GroupByMonth = false;
filter.NumberOfResults = 100;
request.Value = filter;
LoyaltyService.ResultOfArrayOfPointsExpiry result = svc.SelectMemberNextPointsToExpire(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}