UploadFile
Attach a file to a record.
Input
Name | Type | Accepts Input Streams | Description |
ModuleName | String | False | The API name of the module you are uploading an attachment for. |
RecordID | String | False | Unique ID of the record you are uploading an attachment for. |
UploadFile | String | False | The File to attach to the record. |
UploadType | String | False | The type of file to attach to the record.
The allowed values are attachment, photo. The default value is attachment. |
AttachmentURL | String | False | The URL to attach to the record. |
FileName | String | False | Name of the file. If content is not empty |
Content | String | True | The content as InputStream to be uploading when LocalFilePath is not specified. |
Result Set Columns
Name | Type | Description |
ID | String | The Unique ID of the created attachment. |
Created_Time | String | The time at which the attachment was created. |
Modified_Time | String | The time at which the attachment was last modified. |
Created_By | String | The user who create the attachment. |
Modified_By | String | The user who last modified the attachment. |
Status | String | The status of the upload operation. |