LoyaltyCampaignOfferClientSelectProductCategoryList Method |
Returns a Paged Collection of all the Product Categories.
Paging parameters can be defined in the request.
public ResultOfCollectionOfProductCategory SelectProductCategoryList( ManagementGroupRequest request )
using (var svc = new LoyaltyService.LoyaltyCampaignOfferClient()) { var request = new LoyaltyService.ManagementGroupRequest(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin LoyaltyService.ResultOfCollectionOfProductCategory result = svc.SelectProductCategoryList(request); if (result.FaultCode == 0) { //Request succeeded. } else { //Request failed throw new Exception(result.FaultDescription); } }