Skip to main content
Version: 5.7.0

SysCopyItemImageFromGlobalFile

Copy item image from global file.

ServiceOperation
itemCatalogSYS_COPY_ITEM_IMAGE_FROM_GLOBAL_FILE

Method Parameters

ParameterDescription
defIdUnique ID identifying catalog item to be updated.
versionVersion of catalog item being edited.
globalFileIdThe fileId of the global file.
deleteFileAfterwardsWhether to delete the source file. i.e. move or copy.
overwriteIfPresentWhether to copy over an existing image.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"image": "https://api.braincloudservers.com/files/portal/g/23782/metadata/itemDefinitions/sword001.png"
},
"status": 200
}