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 to fetch the attachments from approvals through REST API?

edited Nov 24, 2023 1:44PM in Fusion Applications Administration 4 comments

Hi Team,

We are trying to fetch the attachments through REST API which are uploaded as part of personal information changes and routed for approvals.

We have followed the steps from the below Oracle Doc.

How to obtain the File Attached at the Time Of Sending The Transaction For Approval Via Integration (Doc ID 2715963.1)

When trying to fetch the attachment using the below URL, from REST API using GET function, we are getting the error 'TaskAttachment not found for the given taskId  Fix: There is no attachment in task. Try adding an attachment'

/bpm/api/4.0/tasks/{id}/attachments/{attachmentName} 

When trying to fetch the task using below URL, it says 'Task not found for given id'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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