fileCreateRequest

Namespace: http://www.gentics.com/rest
XML Schema: ns0.xsd

Request to create a file from a URL

XML

Elements

name (type) min/max
occurs
description
overwriteExisting (boolean) 1/1 True to overwrite existing files with the same name in the folder
folderId (int) 1/1 Target folder ID
nodeId (int) 1/1 Target node ID for uploading files in channels
name (string) 0/1 Name of the file
description (string) 0/1 Description of the file
sourceURL (string) 0/1 Source URL of the file

JSON

property type description
overwriteExisting overwriteExisting (boolean) True to overwrite existing files with the same name in the folder
folderId folderId (int) Target folder ID
nodeId nodeId (int) Target node ID for uploading files in channels
name name (string) Name of the file
description description (string) Description of the file
sourceURL sourceURL (string) Source URL of the file