Upload Certificate for course completion
Uploads certificate for a course completion
Resource URL
URL: v1/booking/get/{bookingReference}/add/attachment
Request Method
POST |
Parameters
string username | Username |
string password | Password |
string portalId
required | Portal ID |
string enrollmentReferenceId path variable | Booking reference in Trainingportal |
MultipartFile document required | The document to be uploaded |
string attachmentType required | document type. Possible values:
|
Return value
Returns a status message
successful | true/false | ||
errorMessage | In case of error, an error message |
Example request
URL | https://www.trainingportal.no/mintra/rest/enrollment/coursecertificate/addAttachment |
POST DATA | username=username&password=secret&attachmentType=COURSE_CERTIFICATE |
{ "success" : "ok" , "errorMessage" : "" } |