Class CreateBatchRequest
This method is used to create a new batch deposit.
Properties
NAME | TYPE | DESCRIPTION |
---|---|---|
RequestId | string | Unique identifier used to identify the request. Used when associating the request to the response. |
RequestDate | dateTime | DateTime request was made. Request timeout is 1 minute. |
Credentials | TokenCredentials | REQUIRED. The credentials given from your last response. |
BatchNumber | string | REQUIRED when GetSettingsResponse.ShowCustomBatchId is True. This is a unique custom value either assigned by the user to correlate to the FI's system or autogenerated by the EPS system. Also known as Deposit Name. |
LocationReference | string | REQUIRED. This is the unique identifier assigned to the location for use in requests/responses in the mRDC API. This identifier is generated and used by the mRDC API and is different from the Location ID. |
Examples
{
"__type": "CreateBatchRequest:#JackHenry.Eps.Mobile.RDC",
"BatchNumber": "String Content",
"LocationReference": "String Content"
}
Methods
Validate(IValidatorContext)
Declaration
public override void Validate(IValidatorContext context)
Parameters
TYPE | NAME | DESCRIPTION |
---|---|---|
JHA.EPS.SharedService.Common.Validator.IValidatorContext | context |
Overrides
AuthenticatedRequest.Validate(IValidatorContext)
Exceptions
TYPE | DESCRIPTION |
---|---|
JHA.EPS.SharedService.Common.Validator.ValidationResult | BatchNumber cannot be null if ShowCustomBatchId is true |
JHA.EPS.SharedService.Common.Validator.ValidationResult | BatchNumber must be between 1-40 characters |
JHA.EPS.SharedService.Common.Validator.ValidationResult | BatchNumber must contain visible characters |
JHA.EPS.SharedService.Common.Validator.ValidationResult | LocationReference cannot be null or empty |
JHA.EPS.SharedService.Common.Validator.ValidationResult | LocationReference exists in our system |
JHA.EPS.SharedService.Common.Validator.ValidationResult | LocationReference refers to an enabled location |
JHA.EPS.SharedService.Common.Validator.ValidationResult | Terminal is enabled |