UploadFile
Uploads a local file and attaches it to a chosen CRM record, making the document available to users and automation.
Input
| Name | Type | Accepts Input Streams | Description |
| ModuleName | String | False | The API name of the module where the attachment is uploaded. |
| RecordID | String | False | The unique identifier of the record to which the file is attached. |
| UploadFile | String | False | The full file path of the file to attach to the record. |
| UploadType | String | False | The type of file being attached to the record.
The allowed values are attachment, photo. The default value is attachment. |
| AttachmentURL | String | False | The URL of the file to be attached to the record. |
| FileName | String | False | The name of the file to attach. Required if the content is not empty. |
| Content | String | True | The file content provided as the input stream when the local file path is not specified. |
Result Set Columns
| Name | Type | Description |
| ID | String | The unique identifier of the uploaded attachment. |
| Created_Time | String | The date and time when the attachment was created. |
| Modified_Time | String | The date and time when the attachment was last modified. |
| Created_By | String | The user who created the attachment. |
| Modified_By | String | The user who last modified the attachment. |
| Status | String | The result status of the upload operation. |