Get registration group information

Method

Method Description
group.groupGet Get registration group information, including the units it gives access to.

Request parameters

{
    "id": {GroupId}
}

Response parameters

{
    "id": {GroupId},
    "name": "{GroupName}",
    "description": "{Description}",
    "publish_type": {PublishType},
    "member_count": {MemberCount},
    "units": [
        {
            "exam_id": {ExamId},
            "course_id": {CourseId},
            "learning_path_id": {LearningPathId},
            "code": "{UnitCode}",
            "title": "{UnitTitle}",
            "publish_type": {UnitPublishType},
            "accessible": {Accessible}
        },
        ...
    ],
    "created": {Created},
    "updated": {Updated}
}

Variable Type Appearance Description
units Array Mandatory Assessments, courses and learning paths the group is linked to (in their publish settings). Assessments first, then courses, then learning paths.
{ExamId} Integer Optional Assessment id, null when the unit is a course or a learning path.
{CourseId} Integer Optional Course id, null when the unit is an assessment or a learning path.
{LearningPathId} Integer Optional Learning path id, null when the unit is an assessment or a course.
{UnitCode} String Mandatory Assessment or course code, empty for a learning path.
{UnitTitle} String Mandatory Unit title.
{UnitPublishType} Integer Mandatory Publish type of the unit: 0 - not published, 1 - open to everyone, 2 - registration form, 3 - registration form + approval, 4 - closed group.
{Accessible} Boolean Mandatory Whether the group gives access to the unit now: the unit is published with registration (publish type 2 or higher). Approved members of an active group get access without registering to the unit again.
{Created} Integer Mandatory Creation time. Unix Timestamp.
{Updated} Integer Mandatory Last update time. Unix Timestamp.

Please refer to registration group create/update and registration group list operations to get explanation of all other fields.