Class UpdateAccountRequest
Request for updating an existing account
Properties
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| RequestId | System.string | Unique identifier used to identify the request. Used when associating the request to the response. |
| RequestDate | System.DateTime | DateTime request was made. Request timeout is 1 minute. |
| Credentials | StoreCredentials | |
| AccountNumber | System.String | A 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. |
| Deleted | System.Boolean | If this value is set to true the specified account will be deleted. |
| IsEnabled | System.Boolean | Sets Account enabled/disabled |
| Name | System.String | A string value with the Nickname of the account intended for the user. Max length 50 characters. Required field. |
| ReferenceId | System.String | A 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. |
| RoutingNumber | System.String | A string value with the deposit routing number. Max length 9 characters. Must be a valid U.S. routing number. Required field. |
| Type | JackHenry.Eps.Mobile.AccountType | An enumeration identifying the type of account. Possible values are: Checking, Savings, or GL. Required field. |
UpdateAccountCriteria
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| HomeBankingId | System.String | A 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. |
| ReferenceId | System.String | A 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
| 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 | Must have edit account permission |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Customer must exist in our system |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Account must exist in our system |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Duplicate account must not exist |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If AccountNumber is not null then AccountNumber must be greater than 17 characters |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If AccountNumber is not null then AccountNumber be in a proper format |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If AccountName is not null then AccountName must be less than 51 characters |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If ReferenceId is not null then ReferenceId must be less than 51 characters |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If ReferenceId is not null then ReferenceId must only visible characters |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If RoutingNumber is not null then RoutingNumber must be less than 51 characters |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If RoutingNumber is not null then RoutingNumber must be valid |