Skip to main content
October 10, 2023
Solved

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

  • October 10, 2023
  • 3 replies
  • 0 views

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

Best answer by abhayd3663

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

girlc0001Author
October 10, 2023

@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
October 10, 2023

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