Click or drag to resize

LoyaltyCampaignOfferClientDeleteCampaignOfferGalleryImage Method

Syntax
C#
public Result DeleteCampaignOfferGalleryImage(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfguid

Return Value

Type: Result
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("7bc7f28f-ac7d-4a86-b6e4-54fe93a93499");;//Required - RSN of campaign offer gallery image

  LoyaltyService.Result result = svc.DeleteCampaignOfferGalleryImage(request);

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