Перейти к содержанию

Structure "Tender validation error"

This structure describes validation errors that may occur when managing tenders.

Description

Name Description Data type Required
timestamp Time when the error occured. String +
status HTTP status code. For this error, it is 422. Number +
error HTTP status name. String +
message Error details. For this error, it is "Wrong fields". String +
wrongFields List of validation errors. Array of "Description of a validation error" structure +

Sample

JSON
{
    "timestamp": "2022-05-04T08:02:35",
    "status": 422,
    "error": "Unprocessable Entity",
    "message": "tender.exception.validation",
    "wrongFields": [
        {
            "fieldName": "paymentBidStep",
            "errorCode": 13
        }
    ]
}