Click or drag to resize

AdministrationClientSelectLoyaltySummary Method

Syntax
C#
public ResultOfLoyaltySummary SelectLoyaltySummary(
	ManagementGroupRequest request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequest

Return Value

Type: ResultOfLoyaltySummary
Examples
C#
using (var svc = new AdministrationService.AdministrationClient())
{
  var request = new AdministrationService.ManagementGroupRequest();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin

  AdministrationService.ResultOfLoyaltySummary result = svc.SelectLoyaltySummary(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed          
    throw new Exception(result.FaultDescription);
  }
}
See Also