Creates a new file from the included payload.
EXECUTE Example:
EXECUTE CreateFile File = 'C:\\Users\\Dell\\Desktop\\Test_Logs\\Marketo.html', Description = 'Test Create File', Name = 'john@abc.com', FolderId = 1032, FolderType = 'folder'
Input
| Name |
Type
|
Required
|
Accepts Input Streams
|
Description
|
| File
|
String
|
True
|
False
|
Multipart File. Content of the file.
|
| FolderId
|
Integer
|
True
|
False
|
The Id of the folder
|
| FolderType
|
String
|
True
|
False
|
The type of the folder
|
| InsertOnly
|
Boolean
|
False
|
False
|
Indicates whether the call should fail if there is already an existing file with the same
name
|
| Name
|
String
|
True
|
False
|
The name of the file
|
| Description
|
String
|
False
|
False
|
The description of the asset
|
| Content
|
String
|
False
|
True
|
The content as InputStream to be uploading when File is not specified.
|
Result Set Columns
| Name |
Type |
Description
|
| Id
|
String
|
The Id of the created file
|