Make a file available to a safe location - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

You can make a file available to the safe location using the following POST:

http://[host]/[server]/api/v2/FileMgmt/MakeUploadAvailable

The following example request makes the file named abc available to the safe location.

{
"Filename" : "abc"
}

The response contains a Boolean value indicating that the file was made available.

{
"@odata.context": "http://[host]/[server]/api/v2/$metadata#Edm.Boolean",
"value": true
}

You must supply the JSON representation of the file that was previously uploaded. This is the Uploadid obtained from the Upload API.