Fetch Course Batch Sessions API
This API is used for fetching session in course batches in LMS
Request URL: (Blended Learning Course)
https://people.zoho.com/api/v1/courses/<courseId>/batches/<batchId>/sessions
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.training.ALL
OR
ZOHOPEOPLE.training.READ
Possible Operation Types:
ALL - Complete access to data
READ - Only to fetch data
Method:
GET
Request Parameters
Parameters | Values Allowed | Default Value | Description |
*startIndex | <integer> | 0 | Specify from which record the response should be fetched |
Note: Upto 25 records can be fetched in single API call
Request
Copiedhttps://people.zoho.com/api/v1/courses/219225000000645203/batches/219225000000645215/sessions
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{
"sessions": [
{
"totalLearnersCount": 0,
"sessionName": "Session One",
"sessionEndTime": "1:00 PM",
"sessionStartTime": "11:00 AM",
"description": "About the session",
"resources": [],
"sessionId": "219225000000645227",
"roomId": "219225000000645249",
"canUserDelete": false,
"sessionStartDate": "11-01-2022",
"lockUntil": "",
"presentLeanersCount": 0,
"gradeCategoryName": "",
"isLocked": false,
"gradeCategoryId": "",
"sessionType": "Classroom",
"sessionRoom": "Room One",
"sessionTrainer": "Henry",
"isSessionCompleted": false,
"trainerErecno": "219225000000036453",
"canUserEdit": false,
"moduleId": "219225000000645219"
},
{
"totalLearnersCount": 0,
"sessionName": "Session Two",
"sessionEndTime": "4:00 PM",
"sessionStartTime": "10:00 AM",
"description": "Description for Session",
"resources": [],
"sessionId": "219225000000645285",
"roomId": "219225000000645249",
"canUserDelete": false,
"sessionStartDate": "30-12-2021",
"lockUntil": "",
"presentLeanersCount": 0,
"gradeCategoryName": "",
"isLocked": false,
"gradeCategoryId": "",
"sessionType": "Classroom",
"sessionRoom": "Room two",
"sessionTrainer": "Henry",
"isSessionCompleted": false,
"trainerErecno": "219225000000036453",
"canUserEdit": false,
"moduleId": "219225000000645259"
}
],
"code": 200,
"message": "success",
"hasMoreRecords": false
}