Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How upload an attachment to Item using Rest API

Hi Team,

I am trying to use "Upload an attachment" rest API for uploading a file to Item.

https://docs.oracle.com/en/cloud/saas/supply-chain-and-manufacturing/23c/fasrp/op-itemsv2-itemsv2uniqid-child-itemattachment-post.html

I am trying to use below request Payload.

{

"DatatypeCode": "FILE",

"CategoryName": "REQ_INTERNAL",

"UploadedFileName" : "REST Attachment.txt",

"UploadedFileContentType" : "text/plain",

"ContentRepositoryFileShared": "false",

"Title" : "REST Attachment File",

"Description" : "File attachment"

"UploadedText" : "123"

}

I am getting success response, and do see the file under attachments section of Item UI. But it is not actually adding any content to the file attachment when I check it from UI.

Could you please help us on this.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!