LoyaltyProductClientDeleteProductGalleryImage Method |
public Result DeleteProductGalleryImage( ManagementGroupRequestOfguid request )
using (var svc = new LoyaltyService.LoyaltyProductClient()) { 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("4c1621f6-04f1-413b-8451-12710e445a69");;//Required - RSN of product gallery image LoyaltyService.Result result = svc.DeleteProductGalleryImage(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }