LoyaltyCampaignOfferClientSelectProductBrandList Method |
Returns a Paged Collection of all the Product Brands.
Paging parameters can be defined in the request.
public ResultOfPagedCollectionOfProductBrand SelectProductBrandList( ManagementGroupRequestOfPageFilter request )
using (var svc = new LoyaltyService.LoyaltyCampaignOfferClient()) { 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.ResultOfPagedCollectionOfProductBrand result = svc.SelectProductBrandList(request); if (result.FaultCode == 0) { //Request succeeded. } else { //Request failed throw new Exception(result.FaultDescription); } }