PUT ./avertismente
It is used to update a warning.
POST parameters
| Name | Value Type | Validation | Details |
|---|
| avtID | int | Required | Warning ID. |
| avtData | int | Required | Warning date; rfc_date; |
| avtNumar | int | Required | Warning number. |
| avtMotiv | string | Required | Reason for warning. |
| avtShowInReports | int | Optional | values[0,1]; Show in reports. |
Validation
| Error Field | Error Code | Error Message |
|---|
| avtData | 101 | avtData not in asc date range. |
| avtNumar | 20 | The field must contain a number greater than zero. |
| avtShowInReports | 26 | The field must contain a one of the following values: %%. |
Output example
{
"result": true
}