UploadSupplierProductsAttachment
Upload a new file or update content to an existing file.
Input
| Name | Type | Accepts Input Streams | Description |
| SupplierProductsUniqID | Integer | False | Hash of the key that is used to uniquely identify the item request. |
| AsyncTrackerId | String | False | An identifier used for tracking the uploaded files. |
| AttachedDocumentId | Integer | False | Value that uniquely identifies the attached document. |
| CategoryName | String | False | Category of the attachment. |
| ContentRepositoryFileShared | Boolean | False | If true, then the attachment is shared. |
| DatatypeCode | String | False | Abbreviation that identifies the data type.
The default value is FILE. |
| Description | String | False | Description of the attachment. |
| DmDocumentId | String | False | Value that uniquely identifies the document from which the attachment is created. |
| DmFolderPath | String | False | Folder path of the attachment. |
| DmVersionNumber | String | False | Number that identifies the current version of the attachment. |
| DownloadInfo | String | False | JSON object represented as a string containing information . |
| ErrorStatusCode | String | False | Abbreviation that identifies the error code. |
| ErrorStatusMessage | String | False | Text of the error message. |
| FileLocation | String | False | File location on the desktop. |
| FileName | String | False | File name of the attachment. |
| FileUrl | String | False | URL (Uniform Resource Locator) of the attachment. |
| Title | String | False | Title of the attachment. |
| Uri | String | False | URI (Uniform Resource Identifier) that identifies the attachment. |
| Url | String | False | URL (Uniform Resource Locator) that locates the attachment. |
| Content | String | True | The content as InputStream to be uploaded when LocalFilePath or FolderPath is not specified. |
Result Set Columns
| Name | Type | Description |
| AsyncTrackerId | String | An identifier used for tracking the uploaded files. |
| AttachedDocumentId | Integer | Value that uniquely identifies the attached document. |
| CategoryName | String | Category of the attachment. |
| ContentRepositoryFileShared | Boolean | If true, then the attachment is shared. |
| CreatedBy | String | User who created the attachment. |
| CreationDate | Datetime | Date when the user created the attachment record. |
| DatatypeCode | String | Abbreviation that identifies the data type. |
| Description | String | Description of the attachment. |
| DmFolderPath | String | Folder path of the attachment. |
| DocumentURL | String | Uniform resource locator of the catalog attachment. |
| DownloadInfo | String | JSON object represented as a string containing information . |
| ErrorStatusCode | String | Abbreviation that identifies the error code. |
| ErrorStatusMessage | String | Text of the error message. |
| FileName | String | File name of the attachment. |
| FileUrl | String | URL (Uniform Resource Locator) of the attachment. |
| LastUpdateDate | Datetime | Date and time when the user most recently updated the document. |
| LastUpdatedBy | String | Login of the user who most recently updated the document. |
| Links | String | The link relations associated with the resource instance. |
| Title | String | Title of the attachment. |
| UploadedFileContentType | String | Content type of the attachment. |
| UploadedFileLength | Integer | Length of the attachment file. |
| UploadedFileName | String | Name of the attachment file. |
| UploadedText | String | Text of the attachment. |
| Uri | String | URI (Uniform Resource Identifier) that identifies the attachment. |
| Url | String | URL (Uniform Resource Locator) that locates the attachment. |
| UserName | String | Login that the user used when adding or modifying the attachment. |