Fetch Module Online Tests API

This API is used for fetching online tests in modules of course/batches in LMS

Request URL: (Self Paced Course)

https://people.zoho.com/api/v1/courses/<courseId>/modules/<moduleId>/onlineTests

Request URL: (Blended Learning Course)

https://people.zoho.com/api/v1/courses/<courseId>/batches/<batchId>/modules/<moduleId>/onlineTests

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

ParametersValues AllowedDefault ValueDescription
*startIndex <integer>0Specify 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/219225000000642002/modules/219225000000648001/onlineTests

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied{
    "code": 200,
    "onlineTests": [
        {
            "previewURL": "https://people.zoho.com/peoplelms/assessments/219225000000645085/preview",
            "showMarksToLearner": "Yes",
            "totalLearnersCount": 0,
            "resources": [],
            "canUserDelete": true,
            "duration": "35 Mins",
            "isMandatoryTest": true,
            "lockUntil": "",
            "gradeCategoryName": "",
            "completedLearnersCount": 0,
            "isLocked": false,
            "maximumAttemptsAllowed": 5,
            "testId": "219225000000645077",
            "canUserEdit": true,
            "moduleId": "219225000000648001",
            "testMark": "1.0",
            "testName": "Online Test  One",
            "status": "Not ready"
        }
    ],
    "message": "success",
    "hasMoreRecords": false
}