Get lesson totals
teachworks_get_lesson_totalsRead-only
Lesson totals for one student, customer or employee: count (default), duration in minutes, or (employees only) earnings, broken down by status, for an optional status and date range. GET /{students|customers|employees}/{id}/lesson_totals.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The student, customer or employee id. | |
| kind | Yes | Whose lessons to total. | |
| status | No | Only lessons with this status. | |
| date_to | No | Lessons starting on or before this date. | |
| measure | No | count (default), duration (minutes) or earnings (employees only). | |
| date_from | No | Lessons starting on or after this date. |