Fetch Module Assignments API
This API is used for fetching assignment in module of course or batch in LMS
Request URL: (Self Paced Learning Course)
https://people.zoho.com/api/v1/courses/<courseId>/modules/<moduleId>/assignments
Request URL: (Blended Learning Course)
https://people.zoho.com/api/v1/courses/<courseId>/batches/<batchId>/modules/<moduleId>/assignments
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 a single call.
Request
Copiedhttps://people.zoho.com/api/v1/courses/219225000000642002/modules/219225000000648001/assignments
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{
"assignments": [
{
"assignMark": "45",
"totalLearnersCount": 0,
"description": "Description for Assignment",
"resources": [],
"assignmentId": "219225000000645171",
"canUserDelete": true,
"lockUntil": "29-12-2021",
"gradeCategoryName": "",
"isLocked": true,
"gradeCategoryId": "",
"canUserEdit": true,
"moduleId": "219225000000648001",
"marksUpdatedLearnersCount": "0/0",
"assignmentName": "Assignment One"
}
],
"code": 200,
"message": "success",
"hasMoreRecords": false
}