LoyaltyPartnerClientSelectPartnerCategoryList Method |
Return a Paged Collection of Partner Category Details, filtered from the submitted values.
Paging parameters can be defined in the request.
public ResultOfPagedCollectionOfPartnerCategoryStub SelectPartnerCategoryList( ManagementGroupRequestOfPageFilter request )
using (var svc = new LoyaltyService.LoyaltyPartnerClient()) { var request = new LoyaltyService.ManagementGroupRequestOfPageFilter(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin var filter = new LoyaltyService.PageFilter(); filter.PageNumber = 1;//Optional - defaults to 1 if not supplied filter.PageSize = 100;//Optional - default to 100 if not supplied //add filter to request request.Value = filter; LoyaltyService.ResultOfPagedCollectionOfPartnerCategoryStub result = svc.SelectPartnerCategoryList(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }