Upload

Use this API call to upload the database and remote container files to the temporary folders on the host. Use this call as many times as needed.

HTTP method

PUT

HOST URL

https://instance-name

API call URL

/fmws/{db-upload-uri or rc-upload-uri}/DatabaseFilename

Use the URIs returned from the "getdatabaseuploadinfo" API call for db-upload-uri or rc-upload-uri.

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

The API call result code.

For example:

"result": 0
Response header

Check the response header for any error codes.

For example:

Copy
"x-FMS-Result" : 9
"x-FMS-Error" : (9): Access was denied