Click or drag to resize

AdministrationClientSelectSettingsList Method

Return a collection of all the Settings.

Settings are a row of Fields and Values that provide enterprise values for the Loyalty Implementation.

Pagination parameters are available to format the response.

Syntax
C#
public ResultOfPagedCollectionOfSettings SelectSettingsList(
	ManagementGroupRequestOfPageFilter request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfPageFilter

Return Value

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

  var pageFilter = new AdministrationService.PageFilter(); //Required
  pageFilter.PageNumber = 1; //Optional - Defaults to 1
  pageFilter.PageSize = 100; //Optional - Defaults to 100

  request.Value = pageFilter;

  AdministrationService.ResultOfPagedCollectionOfSettings result = svc.SelectSettingsList(request);

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