Upload Data File

Submits a data file to the File Store.

Request takes binary file data as content, and on success returns a response containing the new Managed File ID for the data file.

Type: POST
URI: /rest/serverengine/filestore/DataFile
Parameters:

Query:

  • filename – the file name of the data file to be uploaded (No Default Value)
  • persistent – whether the data file to be uploaded will be persistent in File Store (Default Value: false)
Request:
Add. Headers: auth_token – Authorization Token (if server security settings enabled)
Content: Data File (File)
Content Type: application/octet-stream
Response:
Add. Headers:
Content: Managed File ID
Content Type: text/plain
Status:
  • 200 OK – Data file successfully uploaded to File Store
  • 401 Unauthorized – Server authentication required
  • 403 Forbidden – Server authentication has failed or expired
 
   
  • Last Topic Update: Jan-22-2018 13:07
  • Last Published: 2018-05-14 : 9:58 AM