Skip to main content
April 3, 2023
Question

Webapi Todocument output instead of Base 64.. Is it possible to read document for other systems instead of Base 64?

  • April 3, 2023
  • 10 replies
  • 0 views

Hi Guys,

In my project, we currently did a webapi to get the base 64 from system and pass into different system as base64. Due to this in prod we are facing large memory sizing and I came to know instead of passing bas64 we have a option to pass todocument to reduce the memory size . However, my question how other system can read if we are passing document? Please confirm the approach is possible or else suggest some other approach.

Thanks,

Pradeep Sridharan

10 replies

stefanhelzle0001
April 3, 2023

When you write "passing document" I assume you mean "send that document to another system using an Appian Integration". If this is what you are looking for, just consult the documentation. I describes all the necessary steps.

April 3, 2023

[mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]

Thanks for your response.

Actually my design of the Webapi showing below,

  • Other systems Calling Appian Webapi.
  • Appian Webapi Calling Appian Integration to call some other system to get base 64
  • Pass base 64 to calling system.
  • Their side it will convert to document and showing download option to the user.

My queries:

  • Instead of using base 64 can we use todocument and send the document to the other system, Is other system can able to read?
stefanhelzle0001
April 3, 2023

Yes, that should work. There are examples in the documentation for how to manage both scenarios. You just need to combine them.