Click or drag to resize

LoyaltyClientValidateTransactionImageEditByOutlet Method

Syntax
C#
public ResultOfboolean ValidateTransactionImageEditByOutlet(
	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("77a5e446-a2c9-404b-b899-53bc5b4b9158");;//Required - RSN of outlet
  editImageValidate.TransactionCustomData_RSN = new Guid("8f5efefb-9be6-4e25-bb64-e86c6f546b44");;//Required - RSN of transaction custom data

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

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

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