Click or drag to resize

LoyaltyCampaignOfferClientSelectCampaignOfferCategory Method

Select the Campaign Offer Category details from the submitted Campaign Offer Category RSN.

The Campaign Offer Category RSN can be fetched from the Web Service Method: SelectCampaignOfferCategoryList

Syntax
C#
public ResultOfCampaignOfferCategory SelectCampaignOfferCategory(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfCampaignOfferCategory
Examples
C#
using (var svc = new LoyaltyService.LoyaltyCampaignOfferClient())
{
  var request = new LoyaltyService.ManagementGroupRequestOfguid();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin
  request.Value = new Guid("efe2dc64-83c4-4f5e-b0e5-17fce9ad5eaa");;//Required - RSN of campaign offer category

  LoyaltyService.ResultOfCampaignOfferCategory result = svc.SelectCampaignOfferCategory(request);

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