Class UpdateVelocityRequest
Request for updating an existing velocity record.
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 | |
| Action | TemplateAction | Only Required if TemplateName is not supplied. Disabled, Approve, Suspend. How to handle a transaction that exceeds velocity limits. |
| Criteria | UpdateVelocityCriteria | Required. Contains the criteria to find an existing velocity record to update. |
| DailyAmountLimit | System.Decimal | Only Required if TemplateName is not supplied. Max value is 999999999. Value must be less than or equal to PeriodAmountLimit. |
| DailyCountLimit | System.Int32 | Only Required if TemplateName is not supplied. Max value is 999999999. Value must be less than or equal to PeriodCountLimit. |
| PeriodAmountLimit | System.Decimal | Only Required if TemplateName is not supplied. Max value is 999999999. Value must be greater than or equal to DailyAmountLimit. |
| PeriodCountLimit | System.Int32 | Only Required if TemplateName is not supplied. Max value is 999999999. Value must be greater than or equal to DailyCountLimit. |
| SingleAmountLimit | System.Decimal | Only Required if TemplateName is not supplied. Limit of amount per item. Value must be less than or equal to DailyAmountLimit. |
| TemplateName | System.String | If supplied, will update the velocity record with the matching template's settings. The template must exist and be enabled. |
UpdateVelocityCriteria
| 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. |
Example
{
"Credentials":{
"EntityId": "123456",
"StoreId": null,
"StoreKey": null
},
"__type":"UpdateVelocityRequest:#JackHenry.Eps.Mobile.RDAAdmin",
"Criteria":
{
"__type":"UpdateVelocityCriteria:#JackHenry.Eps.Mobile.RDAAdmin",
"HomeBankingId":"String Content",
}
"TemplateName":"String Content",
"SingleAmountLimit":12678967.54,
"DailyCountLimit":0,
"DailyAmountLimit":12678967.54,
"PeriodCountLimit":0,
"PeriodAmountLimit":12678967.54,
"Action":
}
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 velocity permission |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | HomeBankingId must reference a valid customer in our system |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If IsMobile = false and IsEnabled = false then velocity for flatbed cannot not be disabled |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Must have a valid customer type |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Velocity must exist |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If TemplateName is null then SingleAmountLimit cannot be greater than DailyAmountLimit |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If TemplateName is null then DailyCountLimit cannot be greater than PeriodCountLimit |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If TemplateName is null then DailyAmountLimit cannot be greater than PeriodAmountLimit |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If TemplateName is not null then the template must exist in our system |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | If TemplateName is not null then the template must be enabled |