Skip to main content
soumyab2421
May 29, 2023
Question

Sending Document in Bytes form in a request body

  • May 29, 2023
  • 4 replies
  • 0 views

Hi,

I have a requirement to create an integration with a request body of type XML. In that we're passing the following parameter-

Can we do it in an expression where we get an input of document type and then convert it into bytes and pass it in the "BinData"?

4 replies

stefanhelzle0001
May 29, 2023

I do not know of a way to do that. Appian does not support the explicit management of binary data out of memory management concerns. And AFAIK the existing integrations and plugins do not support this either.

Is there a chance to pass the data in a different way? If not, did you consider a custom plugin?

soumyab2421
May 29, 2023

No, there is no other way to pass the data. I checked the appmarket for a valid up-to-date plugin, didn't see any.

stefanhelzle0001
May 29, 2023

What I meant with the custom plugin is, did you consider developing a plugin to implement this specific requirement?

Does Appian directly talk to this service? In case there is any kind of middleware, this layer might be capable of adapting the data.