Sending Document in Bytes form in a request body

Certified Senior Developer

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"?

  Discussion posts and replies are publicly visible