Skip to main content

Class UpdateItemRequest

Used to update an item using different criteria to update different elements.


Properties

NAMETYPEDESCRIPTION
RequestIdstringUnique identifier used to identify the request. Used when associating the request to the response.
RequestDatedateTimeDateTime request was made. Request timeout is 1 minute.
CredentialsTokenCredentialsREQUIRED. The credentials given from your last response.
CriteriaUpdateItemCriteriaREQUIRED. Criteria used to update or delete an item; i.e. item reference Id.

UpdateItemCriteriaDeleteItem

UpdateItemCriteria

NAMETYPEDESCRIPTION
ItemReferencestringREQUIRED. The unique value assigned to each item.

Examples

{
"__type": "UpdateItemRequest:#JackHenry.Eps.Mobile.RDC",
"Criteria": {
"__type": "UpdateItemCriteria:#JackHenry.Eps.Mobile.RDC",
"ItemReference": "String Content"
}
}

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.ValidationResultBatchReference must exist in our system
JHA.EPS.SharedService.Common.Validator.ValidationResultIf criteria is UpdateItemCriteriaDeleteItem then the batch must be open