PUT ./ani/scolari
It is used to update a school year.
PUT parameters
| Name | Value Type | Validation | Details |
|---|
| ascID | int | Required | School year ID. |
| startDate | string | Required; rfc_date | Sets the begininngs of the school year. |
| endDate | date | Required; rfc_date | Sets the end of the school year. |
Validation
| Error Field | Error Code | Error Message |
|---|
| startDate | 102 | The date is invalid |
| endDate | 102 | The date is invalid |
| endDate | 103 | The end date must be higher than start date. |
| endDate | 104 | The selected interval is overlaped with an existent school year. |
| endDate | 105 | The selected interval does not include actual periods & vacations. |
Output example
{
"result": true
}