Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Upload a document for a booking

Uploads documentation for a booking

Resource URL

URL: v1/booking/get/{bookingReference}/add/documents

Request Method

POST

Parameters

string username
required

Username

string password
required

Password

string bookingReference

path variable
required

Booking reference in Trainingportal
MultipartFile document
required

The document to be uploaded

string attachmentType
optional

document type. Possible values:

  • COURSE_CERTIFICATE
  • OTHER

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/booking/get/bdcac92e_a229_42bb_ba29_75add29454b4/add/documents

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