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 to upload Shared attachment to item by REST API

Hi Support team,

I tried to invoke upload item attachment api(https://****.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/itemsV2/{itemHashKey}/child/ItemAttachment) to upload image on item, use request payload as below, put value 'true' on attribute 'ContentRepositoryFileShared'.

But in item attachment UI, the Shared checkbox didn't checked.

Could you please share with me which attribute can control 'Shared'?

Request payload:

{"DatatypeCode": "FILE","FileName":"attributeTest1.png","DmDocumentId":"UCMFA00322003","CategoryName": "IMAGE","Description": "attribute test1","DmVersionNumber":"322155","UploadedFileContentType": "image/png","Title":"attributeTest1","ContentRepositoryFileShared":"true"}

Thanks

Skye

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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