Click or drag to resize

LoyaltyClientValidateTransactionImageEditByPartner Method

Syntax
C#
public ResultOfboolean ValidateTransactionImageEditByPartner(
	ManagementGroupRequestOfTransactionImageEditValidate request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfTransactionImageEditValidate

Return Value

Type: ResultOfboolean
Examples
C#
using (var svc = new LoyaltyService.LoyaltyClient())
{
  var request = new LoyaltyService.ManagementGroupRequestOfTransactionImageEditValidate();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin

  var editImageValidate = new LoyaltyService.TransactionImageEditValidate();
  editImageValidate.EntityRSN = new Guid("03cee757-b549-40de-a9e4-d851f9520853");;//Required - RSN of partner
  editImageValidate.TransactionCustomData_RSN = new Guid("272b6fb5-6b5a-4151-a1a9-37b09ee9b031");;//Required - RSN of transaction custom data

  //add editImageValidate to request
  request.Value = editImageValidate;

  LoyaltyService.ResultOfboolean result = svc.ValidateTransactionImageEditByPartner(request);

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