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
- 4.4K All Categories
- 82 General
- 13 Training
- 210 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 498 General Q & A
- 714 Forms
- 347 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions