Click or drag to resize

LoyaltyClientDeleteTransactionGalleryImage Method

Delete an existing Transaction Gallery Image from the submitted Image RSN.

Syntax
C#
public Result DeleteTransactionGalleryImage(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfguid

Return Value

Type: Result
Examples
C#
using (var svc = new LoyaltyService.LoyaltyClient())
{
  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("63d7a493-cdf3-4362-be42-ebb84cea3ab9");;//Required - RSN of transaction gallery image

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

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

}
See Also