Description

The validate action either returns validation errors or marks record(s) for revalidation depending on the value of the option parameter
If the validation errors are requested then the structure return is an array of the following

  • CMS Identifier
  • Array of validation errors
    • Error Code
    • Additional Information

If revalidation is requested then the request is queued

Parameters

The option parameter is used to control what this action does and has the following values, if the option parameter is not specified then it is assumes the value of "list"

  • list Returns the errors for the specified record id or if no record id specified the whole set
  • revalidate Marks invalid records to be revalidated, if the record id is specified it will only mark that record for revalidation if it is invalid
  • revalidateall Marks all records to be revalidated, if the record id is specified it will only mark that record for revalidation

Response

When option is list:

The response is in json


	            
	            		

When option is revalidate or revalidateall:

The response will always be a 202 to say the request has been queued for processing, use the Status action to determine when the action has been processed

Testing

In order to allow simple testing of the ECK Set Manager interfaces, etc. a test form is available here which actions data for the default provider using the default set.