Upload files in Netsuite
|FolderId||String||Id of the folder in which to store the file|
|LocalFile||String||The local file path including the file name of the file to be uploaded. A value for this field is required when FileData is not specified.|
|FileData||String||A string of data that will be used as the full contents of the file. This must be base-64 encoded. Required if FullPath is not specified.|
|MediaType||String|| The type of file
The default value is PLAINTEXT.
|FileName||String||The name you would like to give the document. If none is specified, the file name specified in the FullPath will be used. Required if FileData is specified.|
|TextFileEncoding||String|| The encoding to submit to NetSuite when using a text file. Leave this blank if not uploading a type of text file.
The allowed values are _big5, _gb2312, _gb18030, _iso88591, _macRoman, _shiftJis, _utf8, _windows1252.
Result Set Columns
|InternalId||String||The internalid of the saved file.|
|IsSuccess||String||Whether or not the operation was successful.|
|StatusMessage||String||The message of the returned status. May be empty if the operation was successful.|
|StatusCode||String||The returned status code. May be empty if the operation was successful.|