GET ./ani/vacations
Tags: public, simple-query
It is used to return vacations for a school year.
GET parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| ascID | int | Required | The School Year ID |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| ascID | 101 | Invalid ascID. |
Output example
{"meta": {"countTotal": "2","countData": "2","countOffset": "0"},"data": [{"v2pID": "1","v2pAscID": "22","v2pName": "Vacanta iarna","v2pStartDate": "2022-10-14","v2pEndDate": "2022-10-26"},{"v2pID": "5","v2pAscID": "22","v2pName": "Vacanta primavara","v2pStartDate": "2023-02-20","v2pEndDate": "2023-02-28"}]}
