UploadFile
Uploads a local file and links it to a chosen CRM record, making the attachment available for users and workflows.
Input
| Name | Type | Accepts Input Streams | Description |
| ModuleName | String | False | API name of the module where the attachment is uploaded. |
| RecordID | String | False | Unique identifier of the record to which the attachment is uploaded. |
| UploadFile | String | False | The full file path of the file to attach to the record. |
| UploadType | String | False | Type of file being uploaded, such as image or document.
使用できる値は次のとおりです。attachment, photo デフォルト値はattachmentです。 |
| AttachmentURL | String | False | URL of the file to be attached to the record. |
| FileName | String | False | Name of the file, used if content is provided directly. |
| Content | String | True | Raw content of the file as an InputStream, used when a local file path is not specified. |
Result Set Columns
| Name | Type | Description |
| ID | String | Unique identifier of the newly created attachment. |
| Created_Time | String | Timestamp indicating when the attachment was created. |
| Modified_Time | String | Timestamp indicating when the attachment was last modified. |
| Created_By | String | User who created the attachment. |
| Modified_By | String | User who last modified the attachment. |
| Status | String | Status of the upload operation, such as success or failure. |