Get learning path unit list

Method

Method Description
learningpath.unitList Get the units (assessments and courses) of a learning path in their order.

Request parameters

{
    "learning_path_id": {LearningPathId}
}

Response parameters

[
    {
        "order": {Order},
        "exam_id": {ExamId},
        "course_id": {CourseId},
        "exam_type": {ExamType},
        "title": "{UnitTitle}",
        "category": "{UnitCategory}",
        "code": "{UnitCode}",
        "ready": {Ready}
    },
    ...
]

Variable Type Appearance Description
{LearningPathId} Integer Mandatory Learning path id.
{Order} Integer Mandatory Position of the unit within the learning path, starting from 1.
{ExamId} Integer / null Mandatory Assessment id when the unit is an assessment, otherwise null.
{CourseId} Integer / null Mandatory Course id when the unit is a course, otherwise null.
{ExamType} Integer / null Mandatory Assessment type, null for a course.
  • 1 - Quiz.
  • 2 - Test.
  • 3 - Exam.
{UnitTitle} String Mandatory Assessment or course title.
{UnitCategory} String Mandatory Assessment or course category.
{UnitCode} String Mandatory Assessment or course code.
{Ready} Boolean Mandatory Whether the assessment or course is marked as ready. Applicants cannot complete a unit which is not ready.