Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Get Binary content using SOAP Adapter — Cloud Customer Connect
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

Accepted answer
1
Views
6
Comments

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!