LoyaltyCampaignOfferClientSelectCampaignOfferCategoryList Method |
Returns a Paged Collection of all the Campaign Offer Categories.
Paging parameters can be defined in the request.
public ResultOfPagedCollectionOfCampaignOfferCategory SelectCampaignOfferCategoryList( 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.ResultOfPagedCollectionOfCampaignOfferCategory result = svc.SelectCampaignOfferCategoryList(request); if (result.FaultCode == 0) { //Request succeeded. } else { //Request failed throw new Exception(result.FaultDescription); } }