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

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/{DocumentsOfRecordId}/child/attachments

Please find the details of the api here:-

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.


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