<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using a web-api to retrieve documents uploaded to appian</title><link>https://community.appian.com/discussions/f/integrations/17694/using-a-web-api-to-retrieve-documents-uploaded-to-appian</link><description>Hi all, 
 I have an external system which needs to retrieve documents that have been uploaded to Appian cases. To do this, I am going to [try to] write a web-api that allows me to retrieve a document from a folder in appian. 
 I have a folder in an application</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Using a web-api to retrieve documents uploaded to appian</title><link>https://community.appian.com/thread/69683?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 22:30:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66e03c3b-11bf-4043-9aef-ce59557167bb</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;HI David -&lt;/p&gt;
&lt;p&gt;have a look at the &lt;a href="/b/appmarket/posts/content-tools"&gt;Content Tools&lt;/a&gt; plugin - this enables fn!getDocumentsFromFolder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using a web-api to retrieve documents uploaded to appian</title><link>https://community.appian.com/thread/69655?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 05:51:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:450b7f00-1668-4e9e-b5e6-3e9b19c84576</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;Ok, further to my last reply - I also figured out that a [new] api isn&amp;#39;t really needed to get the actual content of the document.&amp;nbsp; You can get it using the url:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://myappiansitename.appiancloud.com/suite/doc/433432"&gt;https://myappiansitename.appiancloud.com/suite/doc/433432&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;where the number at the end of the url is the document number.&amp;nbsp; This will return the document in the http reply.&amp;nbsp; However, it is [now] necessary to find a way to identify what documents are available for each case.&amp;nbsp; For each case, I need the document numbers of each document [what would also be useful is their document (file) name and other meta-data like date they were uploaded - though this isn't 100% necessary]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using a web-api to retrieve documents uploaded to appian</title><link>https://community.appian.com/thread/69653?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 05:11:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f76a3d5-d688-42bf-acbf-e99ff517f621</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;Ok, I figured out [kind'a] how to do this - you have to specify the document&amp;#39;s by document number, so the url loooks like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://myappiansitename.appiancloud.com/suite/webapi/GetDocsForCase/151119"&gt;https://myappiansitename.appiancloud.com/suite/webapi/GetDocsForCase/144232&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which returns the relevant document.&amp;nbsp; Now I need to write a seperate api to figure out what docs are available [by document number] for any given case...&lt;/p&gt;
&lt;p&gt;Also, I need one that gives me a list of cases that are available...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>