using (var svc = new LoyaltyService.LoyaltyCampaignOfferClient())
{
var request = new LoyaltyService.ManagementGroupRequestOfCampaignOfferSearch();
request.Token = "Token";
request.ManagementGroup = "Management group";
var search = new LoyaltyService.CampaignOfferSearch();
search.PageNumber = 1;
search.PageSize = 100;
search.Category = "Bags";
search.Location = "";
search.OfferCode = "OFFER_BAGS10";
search.PartnerRSN = new Guid("bc95a426-5c67-4f4f-aea3-7219d5a260fb");;
search.Active = true;
search.OfferName = "10% off all bags";
search.Visible = null;
request.Value = search;
LoyaltyService.ResultOfPagedCollectionOfCampaignOffer result = svc.SelectCampaignOfferList(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}