POST /{BASE}/import/uploadUpload content and import it into the LMF system. The importer is selected based on the Content-Type header
of the HTTP request. Calling the service spawns a separate asynchronous thread. Its status can be queried by
calling the /status webservice.
- HTTP Example:
POST /{BASE}/import/upload?context=…
Content-Type: … | - API Example:
ImportWebService.uploadData({'context': , 'Content-Type': }); |
- Output:
- Response - OK after starting a thread for importing the data, or error if the import cannot be started
- Query parameters:
- context
- Header parameters:
- Content-Type - the content type of the uploaded content
- HTTP return codes:
- 200 - if the import was successfully started
- 412 - if the content-type header is not present or contains unsupported mime types
|