Skip to main content

Class UpdateAccountRequest

Request for updating an existing account


Properties

NAMETYPEDESCRIPTION
RequestIdSystem.stringUnique identifier used to identify the request. Used when associating the request to the response.
RequestDateSystem.DateTimeDateTime request was made. Request timeout is 1 minute.
Credentials StoreCredentials
AccountNumberSystem.StringA string value with the deposit account number. Length 4-17 characters. Must be unique for the Customer.
Criteria UpdateAccountCriteria Required. Contains the criteria to find an existing account to update.
DeletedSystem.BooleanIf this value is set to true the specified account will be deleted.
IsEnabledSystem.BooleanSets Account enabled/disabled
NameSystem.StringA string value with the Nickname of the account intended for the user. Max length 50 characters. Required field.
ReferenceIdSystem.StringA string value with the account identification number in the EPS system (this is not the account number). Must be a unique value that most often corresponds to the account's unique identifier in the Financial Institution's system. Max length 50 characters. Required field.
RoutingNumberSystem.StringA string value with the deposit routing number. Max length 9 characters. Must be a valid U.S. routing number. Required field.
TypeJackHenry.Eps.Mobile.AccountTypeAn enumeration identifying the type of account. Possible values are: Checking, Savings, or GL. Required field.

UpdateAccountCriteria

NAMETYPEDESCRIPTION
HomeBankingIdSystem.StringA string value with a unique identifier for the customer. It is required for all customers boarded with the RDA Web Service and most often corresponds to the customer's unique identifier in the Financial Institution's system. Max length is 50 characters.
ReferenceIdSystem.StringA string value with the account identification number in the EPS system (this is not the account number). Must be a unique value that most often corresponds to the account's unique identifier in the Financial Institution's system. Max length 50 characters. Required field.

Example

{
"Credentials":{
"EntityId": "123456",
"StoreId": null,
"StoreKey": null
},

"__type":"UpdateAccountRequest:#JackHenry.Eps.Mobile.RDAAdmin",
"Criteria":
{
"__type":"UpdateAccountCriteria:#JackHenry.Eps.Mobile.RDAAdmin",
"ReferenceId":"String Content",
"HomeBankingId":"String Content",
}
"Name":"String Content",
"ReferenceId":"String Content",
"RoutingNumber":"String Content",
"Type":
"IsEnabled":true,
"AccountNumber":"String Content",
"Deleted":true,
}

Methods

Validate(IValidatorContext)

Declaration

public override void Validate(IValidatorContext context)

Parameters

TYPENAMEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.IValidatorContextcontext

Overrides

AuthenticatedRequest.Validate(IValidatorContext)

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultCriteria cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultMust have edit account permission
JHA.EPS.SharedService.Common.Validator.ValidationResultCustomer must exist in our system
JHA.EPS.SharedService.Common.Validator.ValidationResultAccount must exist in our system
JHA.EPS.SharedService.Common.Validator.ValidationResultDuplicate account must not exist
JHA.EPS.SharedService.Common.Validator.ValidationResultIf AccountNumber is not null then AccountNumber must be greater than 17 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf AccountNumber is not null then AccountNumber be in a proper format
JHA.EPS.SharedService.Common.Validator.ValidationResultIf AccountName is not null then AccountName must be less than 51 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf ReferenceId is not null then ReferenceId must be less than 51 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf ReferenceId is not null then ReferenceId must only visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf RoutingNumber is not null then RoutingNumber must be less than 51 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf RoutingNumber is not null then RoutingNumber must be valid