UpdateSalesLeadsAttachment
Update an attachment.
Input
| Name | Type | Required | Description |
| LeadId | String | True | The unique alternate identifier for the sales lead. |
| AttachedDocumentId | Long | True | The unique identifier of the attached document. |
| FileName | String | False | The file name of the attachment. |
| DatatypeCode | String | False | Abbreviation that identifies the data type. |
| DmFolderPath | String | False | The folder path of the attachment. |
| DmDocumentId | String | False | Value that uniquely identifies the attachment. |
| DmVersionNumber | String | False | Version number of the attachment. |
| Url | String | False | The URL of the attachment. |
| Uri | String | False | The URI of the attachment. |
| FileUrl | String | False | The URL of the attachment. |
| ContentRepositoryFileShared | Bool | False | Indicates whether the attachment is shared. |
| Title | String | False | The title of the attachment. |
| Description | String | False | The description of the attachment. |
| ErrorStatusCode | String | False | The error code, if any, for the attachment. |
| ErrorStatusMessage | String | False | The error message, if any, for the attachment. |
| FileContents | String | False | The contents of the attachment (Byte String). |
| ExpirationDate | Datetime | False | The expiration date of the contents in the attachment. |
| AsyncTrackerId | String | False | An identifier used for tracking the uploaded files |
| DownloadInfo | String | False | JSON object represented as a string containing information used to programmatically retrieve a file attachment. |
| PostProcessingAction | String | False | The name of the action that can be performed after an attachment is uploaded. |
| CategoryName | String | False | The category of the attachment. |
| UploadedText | String | False | The text of the attachment. |
| FileLocation | String | False | The location of the file that has to be uploaded. |
Result Set Columns
| Name | Type | Description |
| AttachedDocumentId | Long | The unique identifier of the attached document. |
| LastUpdateDate | Datetime | The date when the record was last updated. |
| LastUpdatedBy | String | The user who last updated the record. |
| FileName | String | The file name of the attachment. |
| DatatypeCode | String | Abbreviation that identifies the data type. |
| DmFolderPath | String | The folder path of the attachment. |
| DmDocumentId | String | Value that uniquely identifies the attachment. |
| DmVersionNumber | String | Version number of the attachment. |
| Url | String | The URL of the attachment. |
| Uri | String | The URI of the attachment. |
| FileUrl | String | The URL of the attachment. |
| UploadedText | String | The text of the attachment. |
| UploadedFileContentType | String | The content type of the attachment. |
| UploadedFileLength | Long | The length of the attachment file. |
| UploadedFileName | String | The name of the attachment file. |
| ContentRepositoryFileShared | Bool | Indicates whether the attachment is shared. |
| Title | String | The title of the attachment. |
| Description | String | The description of the attachment. |
| ErrorStatusCode | String | The error code, if any, for the attachment. |
| ErrorStatusMessage | String | The error message, if any, for the attachment. |
| CreatedBy | String | The user who created the record. |
| CreationDate | Datetime | The date when the record was created. |
| FileContents | String | The contents of the attachment. It should be base64 encoded. |
| ExpirationDate | Datetime | The expiration date of the contents in the attachment. |
| LastUpdatedByUserName | String | The user who last updated the record. |
| CreatedByUserName | String | The user who created the record. |
| AsyncTrackerId | String | An identifier used for tracking the uploaded files |
| FileWebImage | String | The base64 encoded image of the file displayed in .png format if the source is a convertible image. |
| DownloadInfo | String | JSON object represented as a string containing information used to programmatically retrieve a file attachment. |
| PostProcessingAction | String | The name of the action that can be performed after an attachment is uploaded. |
| CategoryName | String | The category of the attachment. |