Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Get information for an enrollment

Resource URL

URL: enrollment/enrollmentInformation


Parameters

string username
required

Username

string password
required

Password

int enrollmentReferenceId
required

Unique identifier of an enrollment.

string language
optional

Language, available values are:
no, en, pr
Default value: no


Return value

courseNameName 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.

  • FOR_APPROVAL
  • ON_WAITING_LIST
  • APPROVED
  • OUTDATED
courseExternalIdExternal id of course
courseIdInternal id of course
enrollmentReferenceIdUnique identifier of an enrollment
enrollmentDateDate enrollment was made


Example request

URL

https://www.trainingportal.no/mintra/rest/enrollment/enrollmentInformation

POST DATAenrollmentReferenceId=d1dff733-51d1-4853-bc11-96939c16ebc4&language=en&username=username&password=secret
{
"courseName" : "ABC Testcourse,
"completionDate": "2011-05-10",
"enrollmentStatus": "APPROVED",
"validUntil": null,
"certificateAvailable": true
}