Get information for an enrollment
Resource URL
URL: enrollment/enrollmentInformation
Parameters
string username | Username |
string password | Password |
int enrollmentReferenceId | Unique identifier of an enrollment. |
string language | Language, available values are: |
Return value
courseName | Name of course |
completionDate | yyyy-MM-dd - the date when course was completed. Empty value indicates, that the course is not yet completed |
validUntilDate | yyyy-MM-dd - if a course has validity period this indicates the time it expires |
certificateAvailable | Whether a certificate is available. Possible values are: true / false |
enrollmentStatus | Status of the enrollment.
|
courseExternalId | External id of course |
courseId | Internal id of course |
enrollmentReferenceId | Unique identifier of an enrollment |
enrollmentDate | Date enrollment was made |
Example request
URL | https://www.trainingportal.no/mintra/rest/enrollment/enrollmentInformation |
POST DATA | enrollmentReferenceId=d1dff733-51d1-4853-bc11-96939c16ebc4&language=en&username=username&password=secret |
{
"courseName" : "ABC Testcourse,
"completionDate": "2011-05-10",
"enrollmentStatus": "APPROVED",
"validUntil": null,
"certificateAvailable": true
}