Skip to main content
Inspiring
Oct 10, 2023 5:01 AM UTC
Solved

passing a document inside a json structure to an appian web api

Hi


I'm trying to implement an Appian Web API (POST method) that is exposed to an external system.
This API capture data like passing a document inside a json structure to an appian.
My question is how to impletement passing a document inside a JSON structure to an appian web API?
Is it possible to implement it in appian web API?If not is there any other way I can implement it?

Please share any relevant documentation or sample code reference.


Thank you

abhayd3663
Brainy
Oct 10, 2023 6:51 PM UTC

Request body should contains only the document. You cannot have other JSON parameters along with the document. the document can be saved by referencing to "http!request.body".

3 replies

sarathkumr268295
Known Participant
Oct 10, 2023 12:08 PM UTC
girlc0001Author
Inspiring
Oct 10, 2023 1:45 PM UTC

@sarathkumarsk13

Thank you for your reply

I tried that way.Using Document Upload Templete.
Please see attached image.↓

but my requirement is [passing a document inside a json structure]
Please see attached image.↓

How to implete it ?

abhayd3663
Brainy
Oct 10, 2023 6:51 PM UTC

Request body should contains only the document. You cannot have other JSON parameters along with the document. the document can be saved by referencing to "http!request.body".