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 | Username |
string password | Password |
string bookingReference path variable | Booking reference in Trainingportal |
MultipartFile document required | The document to be uploaded |
string attachmentType optional | document type. Possible values:
|
Return value
Returns a status message
successful | true/false | ||
errorMessage | In case of error, an error message |
Example request
URL | |
POST DATA | username=username&password=secret&attachmentType=COURSE_CERTIFICATE |
{ "sucessful" : "true" , "errorMessage" : "" } |