Versions Compared

Key

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

Request: GET /enrollments

info
Panel
bgColor#eaf4fd

You can get all the account enrollments, enrollments related to certain learners or to certain courses, or both.

...

ParameterDescription

response

An array with enrollment data
enrollmentIdThe ID of the enrollment
courseIdThe ID of the course
learnerIdThe ID of the user enrolled in the course
accessDateThe date the learner is supposed to start studying the course
dueDate (optional)

Course completion date. This parameter appears in the response if a due date is specified

expirationDate (optional)

Course completion date. This parameter appears in the response if a due date is specified and shouldLockAfterDueDate is equal to 1

shouldLockAfterDueDate

Possible values:

0 — access is granted.

1 — access is denied.

сertificate

Certificate info

issuedCertificateIdThe certificate ID (token) from the list of enrollments
issueDateThe date the certificate was issued
expiryDateThe certificate’s expiration date
enrollmentTypeGroupPossible values:

0 — assigned by an administrator

1 — added from the catalog


info
Panel
bgColor
#eaf4fd

The date of issue and expiration of the certificate can only be received for active enrollments. When using this method, you cannot get the data for archived or deleted enrollments.

...