PO attachment
Summary: The attachments (pdf, xlsx, docx) of PO A to be attached with PO B. PO B is in draft status.
Steps: Download the FileContent via restAPI: <pod> fscmRestApi/resources/11.13.18.05/purchaseOrders/300000096847686/child/attachments/<attachmentUniqID>/enclosure/FileContents
Call the API via apex_web_service.make_rest_request_b and the response store in BLOB column in a staging table. I tried to save the BLOB context as .pdf file from PL/Sql Developer but the file is not opening. I suspect the context was not downloaded properly. Any suggestion, please.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):