Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Cancel a course class


Important Notice

  • Classes without any enrollment are deleted immediately after being cancelled.
  • Classes with enrollments are deleted minimum after 1 hour after they being cancelled.

Resource URL

URL: v1/courses/get/{externalCourseId}/courseClasses/delete/{externalCourseClassId}

Request Method

POSTGET

Parameters

string username
required

Username

string password
required

Password

string externalCourseId

path variable
required

Course provider's ID for the course

string externalCourseClassId

path variable

required

The course provider's ID for the course class (in their booking system)


Return value

Returns a status message

successfultrue/false
errorMessageIn case of error, an error message


Example request

URL

https://www.trainingportal.no/mintra/api/courseprovider/rest/v1/courses/get/6/courseClasses/delete/10234

POST DATAusername=username&password=secret
{
"sucessful":true,
"errorMessage":""
}