Web Api with document input

~~~Web Api with document input~~~

Hi! I need to start a process with a document as input. My first idea was to send it as base64 and convert it later to Appian Document in the process itself , but, how can be done?

In any case, the requirement is that outsider starts the process with any document as input.

Thanks!

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer
    Usually Appian should provide the way to send the Document as an input while using POST as MediaType, but as of now, we don't have any direct way to that, because appian supports only XML, JSON, and Normal Text format.

    So when it's about Sending the Doc through service, you have only few options left i.e. either Conversion to/from Base64 which needs to develop a Custom Plugin as per your requirement or

    If you are aware of the document id, then you can send the document id as an input to a Process Model which can send an email having the Same as an Attachment.
  • 0
    A Score Level 1
    in reply to aloks0189
    Thank you very much!

    I guess, I have to create the plugin myself using as reference some of the plugins already created to converto base64 from database..

    Regards,
    Mikel
Reply Children