<?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>Retrieving data from an API and displaying it on Appian</title><link>https://community.appian.com/discussions/f/integrations/14559/retrieving-data-from-an-api-and-displaying-it-on-appian</link><description>Hi, 
 I have a requirement to call an API that returns a response(REST), and then display the elements in a grid in Appian. 
 I was able to create a process model with a &amp;quot; Call Integration &amp;quot; to which I passed the end-point and request and upon clicking</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Retrieving data from an API and displaying it on Appian</title><link>https://community.appian.com/thread/73902?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 18:00:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cdba787c-6137-4921-bacf-514d07b61701</guid><dc:creator>praveenr0002</dc:creator><description>&lt;p&gt;Hi Ashwin,&lt;/p&gt;
&lt;p&gt;thanks for the inputs actually what exactly is i want like, need to call an api and get the data from the api and show it in the table.&lt;/p&gt;
&lt;p&gt;can you please suggest me how to implement this scenario.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Praveen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieving data from an API and displaying it on Appian</title><link>https://community.appian.com/thread/73876?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 06:09:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f29a0eac-f7cd-425b-9d66-ba67064db0a9</guid><dc:creator>Ashwin </dc:creator><description>&lt;p&gt;Hello Praveen,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As you mention that you are new to this and also you are able to get the response from the &amp;quot;call integration&amp;quot; smart service so We want to understand what kind of response is that is it json response cast into CDT? and if yes then we can save the value in process variable(PV) and then we can call that data into form(interface) using User input task and then using grid layout you can display all the value in read only mode as mention by stewart.&lt;/p&gt;
&lt;p&gt;you can use below link on how to pass values to form(interface) using user input task&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/20.1/Configuring_the_User_Input_Task.html"&gt;https://docs.appian.com/suite/help/20.1/Configuring_the_User_Input_Task.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can use below link to built a read-only grid on interface level&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/20.1/read-only-grid-configuration.html"&gt;https://docs.appian.com/suite/help/20.1/read-only-grid-configuration.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let us know if you need something more.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ashwin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieving data from an API and displaying it on Appian</title><link>https://community.appian.com/thread/73875?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 04:39:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5600347-2fb7-499a-bc87-5147787217ac</guid><dc:creator>praveenr0002</dc:creator><description>&lt;p&gt;Hi aloks0001 can you please provide me a reference example for the same? i am new to this.&lt;/p&gt;
&lt;p&gt;or any link will be help full for me to achieve this. thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieving data from an API and displaying it on Appian</title><link>https://community.appian.com/thread/65279?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 23:33:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe757421-10a2-4649-8999-258ec7f8037d</guid><dc:creator>aloks0189</dc:creator><description>&lt;p&gt;Hi subramaniyanjp you can follow below mentioned steps to achieve your requirement:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Return the response in JSON Format via Integration Object&lt;/li&gt;
&lt;li&gt;Store this response into a process variable of type TEXT&lt;/li&gt;
&lt;li&gt;Create an Expression Rule having a rule input of type Text (or) Any Type&lt;/li&gt;
&lt;li&gt;Pass this process variable as an input to this rule&lt;/li&gt;
&lt;li&gt;Make the use fromJson() to return Dictionary format data out of your JSON and cast it to a CDT array having similar structure(name of the attribute and it&amp;#39;s type) as your Dictionary&lt;/li&gt;
&lt;li&gt;Return the casted CDT array as the response of this Rule&lt;/li&gt;
&lt;li&gt;Now, because you have the data ready in CDT format, you can easily prepare a grid to display these data.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hope this will help you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieving data from an API and displaying it on Appian</title><link>https://community.appian.com/thread/65275?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 16:30:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a915bcad-c13a-48f9-9258-657049d4cbc8</guid><dc:creator>Stewart Burchell</dc:creator><description>Is the JSON data returned being cast to an Appian CDT array? If so, you need to pass this CDT array into the Form that you want to display it in via a User Input Task. Once the CDT array is available in the form do you just need to display it in read-only mode? You can using the &amp;#39;Paging Grid&amp;#39; component in your Form to display the data:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/19.1/Paging_Grid_Component.html"&gt;docs.appian.com/.../Paging_Grid_Component.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You should aim to get the Form working completely independently of the Process first. You can call the Integration Object in the Form Designer to populate the relevant Rule Input. Once you have that working you can then add the form to the User Input Task in the Process.&lt;br /&gt;
&lt;br /&gt;
Stewart&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>