GET ./timesheet
Tags: pagination, simple-query
It is used to return the entries in the timesheet table.
Can be used by teachers, students, parents.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
cadID | int | required? | Teacher's ID. Required if the caller is a teacher AND there is no Director/Secretary permissions. |
clID | int | required? | Class ID. Required if the caller is a student/parent. |
Output example
{"meta": {"countTotal": "1","countData": "1","countOffset": "0"},"data": [{"tsID": "57","tsStartDate": "2022-02-15 09:00:00","tsEndDate": "2022-02-15 10:10:00","tsOrarID": "4651","tsCadID": "5335","tsTopic": null,"ownerInfo": {"uaID": "5335","uaTip": "3","uaFirstName": "Elena","uaLastName": "Popescu","uaSex": "2","prefAvatar": "https://oss-dev.adservio.net/adservio-avatar/07927f39445e582322780d92c25c971ca7fd1e1da07fd2bcbecb6024f9d1b640.png","functii": [{"cfID": "14","cfNume": "text_profesor"},{"cfID": "16","cfNume": "text_director"},{"cfID": "26","cfNume": "text_educator"}]},"materie": {"matID": "59","matNume": "Economie"}}]}