Click or drag to resize

LoyaltyClientValidateTransactionImageEditByMember Method

Syntax
C#
public ResultOfboolean ValidateTransactionImageEditByMember(
	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("62a7e9e0-1d39-4d7e-abdc-026687cad9be");;//Required - RSN of member
  editImageValidate.TransactionCustomData_RSN = new Guid("d68ed853-c13b-485c-b9d6-907f252b830b");;//Required - RSN of transaction custom data

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

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

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