Skip to main content
April 13, 2022
Question

Web API configuration to upload a file along with input data

  • April 13, 2022
  • 5 replies
  • 0 views

Hi Team,


We have a requirement to get files from external system along with some input parameters to our process model via a web api.

The web api which starts a process would upload the file to the target folder and write/update data in respective appian DB tables.

How can we achieve this?

Request format : 

document - type (document/file)

id - type int

name - type text etc

This request can either be in form or json format.

Appian version used is 21.1

    5 replies

    April 13, 2022
    April 13, 2022

    Hi Dimitris,

    Thanks for your reply. 
    Is there no way like I can send the files as well the input parameters as a json input or form input instead of passing input parameters inside query parameters.
    Also I have one more question : Can't we authorize our web api for the above action with Appian key authorization? 
    I was trying to call the web api from postman I get 403 error while using Appian key. 

    April 13, 2022

    I guess you can do that and inside the Process Model that the API will initiate, you can then parse the json and export  the document (transcript data) and the rest of your variables.