LoyaltyProductClientSelectProduct Method |
public ResultOfProduct SelectProduct( ManagementGroupRequestOfguid request )
using (var svc = new LoyaltyService.LoyaltyProductClient()) { var request = new LoyaltyService.ManagementGroupRequestOfguid(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin request.Value = new Guid("d39134a5-ad27-4548-bedb-3da957c52aee");;//Required - RSN of product LoyaltyService.ResultOfProduct result = svc.SelectProduct(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }