Skip to main content
November 26, 2025
Solved

Appian API to let third party system download the document.

  • November 26, 2025
  • 2 replies
  • 0 views

Hi Team,

For one of our clients, we have a requirement to move Appian documents to GCP.

To meet this requirement, I have created an Appian Web API that exposes the document when the document ID is passed as a parameter. However, I am unable to test the API within Appian as it is giving 404 error while I'm testing it.

Here is the Web API code, which was generated using the available Appian API templates, along with the response I receive when testing it by passing the document ID of an Appian document.

Could you please assist?

Best answer by stefanhelzle0001

You try to fetch the document ID from the path, but pass it as a query parameter.

2 replies

stefanhelzle0001
November 26, 2025

You try to fetch the document ID from the path, but pass it as a query parameter.

mikes0011
Brainy
November 26, 2025

As stefan mentioned, you don't actually seem to be referencing the provided document ID within the code.  (I already showed you this elsewhere, but putting it here for posterity as well as the all-important AppianCommunity Brownie Points™️.)