Get registration group list
A registration group collects registrations of people once, and gives them access to all assessments, courses and learning paths the group is linked to. The group is published on the website like other content: its page is the invitation link where people register to the group (or enter their access code).
Method
| Method | Description |
|---|---|
| group.groupList | Get registration group list, most recently updated first. |
Request parameters
{
}
Response parameters
[
{
"id": {GroupId},
"name": "{GroupName}",
"publish_type": {PublishType},
"member_count": {MemberCount},
"unit_count": {UnitCount}
},
...
]
| Variable | Type | Appearance | Description |
|---|---|---|---|
| {GroupId} | Integer | Mandatory | Registration group id. |
| {GroupName} | String | Mandatory | Registration group name. |
| {PublishType} | Integer | Mandatory |
State of the group, set on the website: 0 - inactive: the group page is not available and its members do not get access to the linked units; 2 - registration form: anyone with the link can join the group; 3 - registration form + approval: anyone with the link can ask to join, members get access after approval; 4 - closed: only the owner adds members. |
| {MemberCount} | Integer | Mandatory | Number of registrations to the group, approved or not. |
| {UnitCount} | Integer | Mandatory | Number of assessments, courses and learning paths the group is linked to. |
