LoyaltyClientSelectProgramTier Method |
Returns the Program Tier linked to the submitted Card Number.
If the Program has no Tiers, the Program Name will be returned.
public ResultOfProgramTier SelectProgramTier( ManagementGroupRequestOfstring request )
using (var svc = new LoyaltyService.LoyaltyClient()) { var request = new LoyaltyService.ManagementGroupRequestOfstring(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin request.Value = "21000005";//Required - card number LoyaltyService.ResultOfProgramTier result = svc.SelectProgramTier(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }