JDBC Driver for Oracle SCM

Build 22.0.8462

UploadTradingPartnerItemsAttachments

Upload a new file or update content to an existing file.

Input

Name Type Accepts Input Streams Description
TradingPartnerItemId Integer False Used to uniquely identify the Trading Partner Item.
AttachmentDFF String False The Descriptive Flexfields for Attachments resource.
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.
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
AttachmentDFF String The Descriptive Flexfields for Attachments resource.
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.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462