Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is a suggestion for curl call based on the Data Manager swagger doc to upload a file in for an ION. 

Code Block
titleData Manager API file upload
curl -i POST 'https://sandbox-datamanager-api.wmda.info/api/v1/files/upload' \
--header 'Authorization: Bearer ••••••' \
--header 'Content-Type: multipart/form-data'
--form 'file=@c:/path/to/file/ION-0999-D.gpg' \
--form 'ion="9999"' \
--form 'folder="upload"'

...

Download reports

You may use the API also to fetch your reports . And 2 steps are needed. 

...