Class UpdateBatchRequest
This method is used to make changes to batch details.
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. |
| Criteria | UpdateBatchCriteria | REQUIRED. Update options offered to determine what to do with an existing batch - Update details, Close or Delete. UpdateBatchCriteriaCloseBatch UpdateBatchCriteriaDeleteBatch |
UpdateBatchCriteria
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| BatchReference | string | REQUIRED. The unique value assigned to the batch to be updated. |
Examples
{
"__type": "UpdateBatchRequest:#JackHenry.Eps.Mobile.RDC",
"Criteria": {
"__type": "UpdateBatchCriteria:#JackHenry.Eps.Mobile.RDC",
"BatchReference": "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 | Criteria cannot be null |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | BatchReference must exist in our system |