Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Get cancelled course class enrollments

Resource URL

POST course/cancelledCourseClassEnrollments


Parameters

string username
required

Username

string password
required

Password

string courseClassId
required

Unique course class identifier.


Return value

The method returns a list of enrollments that have been cancelled on the class. Each item in the list has the following properties:

userId

Trainingportal ID for the user

userExternalId

External ID for the user

enrollmentDate

yyyy-MM-dd – the date when the user was enrolled on the course

enrollerUserId

Trainingportal ID for the administrator/user who enrolled the user

cancelledDate

yyyy-MM-dd – the date when enrollment was cancelled

cancelledUserId

Trainingportal ID for the user who cancelled the enrollment


Example request

POST

https://www.trainingportal.no/mintra/rest/rest/course/cancelledCourseClassEnrollments

POST DATA

username=username&password=secret&courseClassId=5043

{ "participants": [
{ "userId" : 9954,
"userExternalId" : "xx12" ,
"enrollmentDate" : "2012-09-01" ,
"enrollerUserId" : 1024 ,
"cancelledDate" : "2012-10-15" ,
"cancelledUserId" : 1001 ,
},
{ "userId" : 12345,
"userExternalId" : "xx13" ,
"enrollmentDate" : "2012-09-05" ,
"enrollerUserId" : 1024 ,
"cancelledDate" : "2012-10-15" ,
"cancelledUserId" : 1024 ,
},
]}