Get Tutor Schedule
Returns every session a tutor takes in one calendar month. A tutor calling it gets their own schedule; an admin passes the tutor's `user_id`.
GET
/user/schedule/monthGet Tutor Schedule
curl --request GET \
--url 'https://<your-api-host>/nuSource/api/v1/user/schedule/month?ORGID=<organizationId>&month=07-2022&user_id=15' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>'{
"code": 200,
"message": "Success",
"classes": [
[
24527,
1656613800,
"Drip testing",
300,
540,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"Dmeo Reshedulce",
"",
2,
"",
""
],
[
22856,
1656613800,
"Drip testing",
660,
720,
-1,
"",
3,
1658154740,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22857,
1656700200,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22858,
1656786600,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24463,
1656873000,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22859,
1656873000,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22860,
1656959400,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24464,
1657045800,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22861,
1657045800,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24465,
1657132200,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22862,
1657132200,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22863,
1657218600,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22864,
1657305000,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22865,
1657391400,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24466,
1657477800,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22866,
1657477800,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22867,
1657564200,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24467,
1657650600,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22868,
1657650600,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24468,
1657737000,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22869,
1657737000,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22870,
1657823400,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22871,
1657909800,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22872,
1657996200,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24469,
1658082600,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22873,
1658082600,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22874,
1658169000,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24470,
1658255400,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22875,
1658255400,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24471,
1658341800,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22876,
1658341800,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22877,
1658428200,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22878,
1658514600,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22879,
1658601000,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24472,
1658687400,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22880,
1658687400,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22881,
1658773800,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24473,
1658860200,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22882,
1658860200,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
24474,
1658946600,
"Mathematics for IIT-JEE ",
120,
180,
-1,
"",
0,
-1,
2322,
"Mathematics for IIT-JEE ",
15,
2,
"Saurav Shandilya1",
1263,
"DemoLargeatch 21Class",
0,
0,
"",
"",
0,
null,
""
],
[
22883,
1658946600,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22884,
1659033000,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
null,
""
],
[
22885,
1659119400,
"Drip testing",
660,
720,
-1,
"",
0,
-1,
1941,
"Drip testing",
15,
2,
"Saurav Shandilya1",
1153,
"Drip testing",
0,
1,
"",
"",
0,
Access: Any logged-in user. Students and tutors always get their own schedule; user_id is ignored for them. Other roles must pass user_id.
Query parameters
The month to return, as
MM-YYYY (for example 07-2022) or a month name and year separated by a space (for example July 2022). The request fails without it.user_idinteger
The tutor whose schedule you want. Only used when the caller is not a student or tutor. If the ID belongs to a student, that student's enrolled sessions are returned instead.
Response: classes is an array of sessions, sorted by start time. Each session is an array without keys, read by position:
| Index | Field | Meaning |
|---|---|---|
| 0 | attendance_id | Session ID. |
| 1 | class_date | Session date as a Unix timestamp (midnight in your timezone). |
| 2 | course_name | Subject (course) name. |
| 3 | start_time | Start time in minutes after midnight, in your timezone (300 = 05:00). |
| 4 | end_time | End time in minutes after midnight. |
| 5 | (unused) | Always -1. |
| 6 | (unused) | Always "". |
| 7 | signin_status | 0 Not signed in, 1 Signed in, 2 Postponed, 3 Cancelled, 4 Late sign-in, 5 Missed sign-in, 6 Excused, 7 Absent. |
| 8 | signin_time | When the tutor signed in (Unix timestamp), or -1. |
| 9 | class_id | Class ID. |
| 10 | class_name | Class or session name. |
| 11 | tutor_id | Tutor taking the session. |
| 12 | organization_id | Organization of the class. |
| 13 | tutor_name | Tutor's name. |
| 14 | master_batch_id | Batch ID. |
| 15 | master_batch_name | Batch name. |
| 16 | individual_batch_attendance | 1 if attendance is taken per subject, 0 if common for the batch. |
| 17 | is_live | 0 Offline, 1 Live, not started, 2 Live, running, 3 Live, ended. |
| 18 | topics_taught | Topics text. |
| 19 | topics_taught_ids | Topic IDs. |
| 20 | class_type | 0 Normal, 1 Exam, 2 Extra, 3 Batch-level (merged) session, 4 Event, 5 Mentoring. |
| 21 | external_class_link | Custom meeting link, if any (may be null). |
| 22 | homework | Homework text. |
Notes: Only sessions in your organizations and in active classes are returned. Rate limit: 100 requests per minute; going over locks you out for 30 minutes.