Skip to content

Structure "Description of a validation error"

This structure describes one validation error. It is a part of the "Offer validation error" structure.

Field description

Name Description Data type Required
fieldName Name of the field with which the error is associated. String +
message Field error description in the request language; if there is no translation, as is. String +
errorCode Error code. Enumeration "Codes of validation errors in offers" +

Sample

{
    "fieldName": "waypointListSource",
    "message": "proposals.exception.validation.field.is.empty",
    "errorCode": 1
}