To get a list of enrollments, send the GET request to the following URL: /enrollment.
Permissions to run the request: Account Owner, Administrators, Department Administrators, Publishers, or users with a role with custom settings.
You can get a list of enrollments of the entire account, certain learners, courses, or last two parameters.
|X-Auth-Account-Url (required)||The base URL of the account, e.g. http://myaccount.ispringlearn.com.|
|X-Auth-Email (required)||The login of Account Owner, Administrator, Department Administrator, Publisher or a user with a role with custom settings.|
|X-Auth-Password (required)||The password of Account Owner, Administrator, Department Administrator, Publisher or a user with a role with custom settings.|
The IDs of the users whose enrollments you would like to get.
The IDs of the courses which enrollments you would like to get.
After the request has been completed, the system returns the response with the 200 code. The response code will contain data with the enrollments.
|200||Successful operation||The request has been successfully processed.|
|400||Bad Request||A request error.|
|401||Unauthorized||An authorization error.|
|403||Permission Denied||The user doesn't have enough permissions to get a list of enrollments.|