Add files using the multipart content-type
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
string AddLibraryFilesMultipart( string accessToken, string apiKey, string fileName, FileType fileType, string folderId, string description, FileSource source, byte[] data )
Parameters
- accessToken
- Type: System String
Access token.
- apiKey
- Type: System String
The API key for the application
- fileName
- Type: System String
The file name and extension
- fileType
- Type: CTCT.Components.MyLibrary FileType
The file type
- folderId
- Type: System String
The id of the folder
- description
- Type: System String
The description of the file
- source
- Type: CTCT.Components.MyLibrary FileSource
The source of the original file
- data
- Type: System Byte
The data contained in the file being uploaded
Return Value
Returns the file Id associated with the uploaded fileSee Also