Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Get available courses

Get list of available courses for a course provider. Note that The course provider does not have an interface for creating courses. Creation of new courses, including setting the course provider's ID on the course, is done by Mintra Trainingportal.

Resource URL

URL: v1/courses/get

Request Method

POSTGET

Parameters

string username
required

Username

string password
required

Password

Return value

Returns list of course objects. Each object contains the following information:

externalCourseId

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

names

List of names for the course. Each name consist of:

  • locale (no, en, pt)
  • name

courseCode

Trainingportal's course code for the course

Example request

URL

https://www.trainingportal.no/mintra/api/courseprovider/rest/v1/courses/get

POST DATAusername=username&password=secret
[
{ "externalCourseId":"4",
"names":[
{"locale":"en","name":"GSK - Basic Safety and Emergency Course"},
{"locale":"no","name":"Grunnleggende sikkerhets- og beredskapskurs"}
],
"courseCode":"OLF-GSK"
},
{ "externalCourseId":"6",
"names":[
{"locale":"en","name":"GSK- Basic Safety and Emergency Course - Refresher Course"},
{"locale":"no","name":"Grunnleggende sikkerhets- og beredskap - repetisjonskurs"}],
"courseCode":"OLF-GSK-REP"
}
]