Method: updateModulesStatuses
| Panel | ||
|---|---|---|
| ||
Note:
|
...
The Account Owner, Account Administrators, Department Administrators, or custom roles with the 'Can edit' access to the content item.
Department Administrators and users with a custom role can edit the statuses of the modules assigned to the users belonging to the departments they manage and their sub-departments.
...
| Parameter | Type | Description |
|---|---|---|
| token (required) | string | Access token. You can obtain a token by making a request. |
| enrollmentIds (required) | string | The IDs of one or more enrollments whose statuses you would like to update. |
| courseId (required) | string | The ID of the course to which one or more modules whose statuses you would like to update belong. |
| moduleStatuses (required) | array | An array with the data regarding the module's status. |
| contentItemId (required) | string | The ID of the module whose status you would like to update. |
| date (required) | date | The module completion date. |
| reason (optional) | string | The reason why you want to change the module's status. |
| status (required) | string | The status you would like to assign to the module.
|
| awardedScore (required) | string | The number of scores earned for the module completion. |
...