Which api is most appropriate for fetching candidate resume?
Summary:
I need to export candidate documents from Oracle to third party in base64 encryption
Content (please ensure you mask any confidential information):
I have browsed the customer connect forums and read the HCM api documentation, but there seem to be multiple ways to get the file contents. Which way is recommended for the candidate's resume? are there pros/cons of each approach considering I need the output to remain base64?
/hcmRestApi/resources/11.13.18.05/documentRecords/action/downloadAttachments
/hcmRestApi/resources/11.13.18.05/documentRecords/{DocumentsOfRecordId}/child/attachments
/hcmRestApi/resources/11.13.18.05/documentRecords/{DocumentsOfRecordId}/child/attachments/{attachmentsUniqID}/enclosure/FileContents
/hcmRestApi/resources/11.13.18.05/documentRecords/{DocumentsOfRecordId}/child/attachmentsPreview/{attachmentsPreviewUniqID}/enclosure/FileContents