...
Department Administrators and users with a custom role can get enrollments assigned to users from the departments they manage and their sub-departments.
Parameters
| Parameter | Type | Description |
|---|---|---|
| token (required) | string | Access token. You can obtain a token by making a request |
| enrollmentId (optional) | string | The ID of the enrollment you want to get info on |
...
After the request has been successfully processed, the system returns an object with the following properties:
| Parameter | Type | Description |
|---|---|---|
| enrollment | array | An array containing the ’courseIds’, ’learnerIds' values |
| enrollmentId | string | The ID of the enrollment |
| courseId | string | The ID of the course |
| learnerId | string | The ID of the user enrolled to the course |
| accessDate | string | The date when the learner is supposed to start studying the course |
| shouldLockAfterDueDate | string | Possible values: 0 means that access is granted 1 means that access is denied |
| enrollmentTypeGroup | int32 | Possible values: 0 — assigned by an administrator 1 — added from the catalog |
| сertificate | array | Certificate info |
| issuedCertificateId | string | The certificate ID (token) from the list of enrollments |
| issueDate | string | The date the certificate was issued |
| expiryDate | string | The certificate’s expiration date |
...