Get database upload info

Use this API call to return the URIs for the temporary folders on the host, which are used for uploading the database file and the remote container files.

HTTP method

GET

HOST URL

https://instance-name

API call URL

/fmws/Secure/DatabaseFilename

HTTP header
  • x-fms-command: The command for the API call. For this header, "getdatabaseuploadinfo" is the only value allowed.
  • x-fms-session-key (string): The session key returned from the Authentication API call.
Body Empty
Parameters None
Response body

The URI for the database folder, the URI for the remote containers folder, and the API call result code.

For example:

Copy
{
  "data" : {
    "db-upload-uri": "Secure/UploadTemp_FMS/09C750639B6969FE4FA7539EF80C873A/",
    "rc-upload-uri": "Secure/UploadTemp_FMS/09C750639B6969FE4FA7539EF80C873A/RC_Data_FMS/testdb/"
  },
  "result" : 0
}