Skip to main content

Validation Model State

The validation result for one request field.

errors object[]

The validation errors for this field.

  • Array [
  • errorMessagestring

    The error message.

    exceptionobject

    The exception behind the error, if any.

  • ]
  • value object

    The value submitted for this field.

    attemptedValuestring

    The submitted value, as text.

    culturestring

    The language and region setting (for example en-AU) used to read numbers and dates in the submitted value.

    rawValueobject

    The value as submitted.

    Validation Model State
    {
    "errors": [
    {
    "errorMessage": "string",
    "exception": {}
    }
    ],
    "value": {
    "attemptedValue": "string",
    "culture": "string",
    "rawValue": {}
    }
    }