Expose FileData (Base64) through API GET call
Comments
-
I have an approval request details GET API that I want to display the FileData document/file content or as Base64 extract. I am able to get the document details, but I’m not sure what data element (Step) I need to pull from in order to get the file data content.
I am stuck on what PDF Document content or data field to use. My End Step Output contains a simple flow structure with PDF Document = FileData. I’m not sure if this is the correct way for the API to get PDF content/bytes.
-
Are you trying to get the document data from a decisions document here?
If yes, there is a get document data step in integration/internal services/document service that will take a document ID in an return a filedata object for you to use.
-
Thanks for your input!
I used the GetDocumentData step, which solved my issue. Man, there are so many steps we can use. I guess I did not try all of them!
-
No problem at all! if you have any other questions, please feel free to post back
Howdy, Stranger!
Categories
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8