Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Department Administrators and users with a custom role can get enrollments assigned to users from the departments they manage and their sub-departments.

Parameters

ParameterTypeDescription
token (required)stringAccess 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:

ParameterTypeDescription
enrollmentarray

An array containing the ’courseIds’, ’learnerIds' values

enrollmentIdstring

The ID of the enrollment

courseIdstring

The ID of the course

learnerIdstring

The ID of the user enrolled to the course

accessDatestring

The date when the learner is supposed to start studying the course

shouldLockAfterDueDatestring

Possible values:

0 means that access is granted

1 means that access is denied

enrollmentTypeGroupint32Possible values:

0 — assigned by an administrator

1 — added from the catalog
сertificatearrayCertificate info
issuedCertificateIdstringThe certificate ID (token) from the list of enrollments
issueDatestringThe date the certificate was issued
expiryDatestringThe certificate’s expiration date

...