Hello,
in my current use case I have a workflow and I'd like to download a document using the IDM ION API.
The following API has been mentioned frequently in the forum and indeed, when calling it via Swagger, Postman, etc I can successfully retrieve the document's binary data:
GET IDM/api/items/{pid}/resource/stream
The problem is that its response content type (application/octet-stream) doesn't seem to be supported by the "Output Parameters" tab in the ION API block in my workflow:

which also means I can't map the body of the response into any workflow parameter (I can only map the headers or the request status):

Is there any way around this? Is it just not possible to download document data inside a workflow?
I believe my use case is different to the one described in other questions (e.g https://community.infor.com/infor-ming-le/f/support/14754/possibility-to-download-xmls-from-idm-in-multitenant-cloud-env) as I'm not using a connection point, but a block inside a workflow.
Thank you,
Federico