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

Get Binary content using SOAP Adapter

We are trying to use the UCM GET_FILE service to get the binary content of a file which we have to pass to another rest api for creating attachment in Document of Records using the below endpoint


Endpoint :- /hcmRestApi/resources/11.13.18.05/documentRecords/{DocumentsOfRecordId}/child/attachments


Please find the details of the api here:-


https://docs.oracle.com/en/cloud/saas/human-resources/22a/farws/op-documentrecords-documentsofrecordid-child-attachments-post.html


We need to pass it to the "FileContent" parameter in the api.


We have enabled "Accept attachments in Response" in the SOAP adapter for GET_FILE service. The problem is even after we decode the filecontent received from GET_FILE service and encode while passing to the CreateAttachment api the file is not opening and seems corrupted.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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