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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions