Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to get visualId of report in REST API
Trần Quốc Việt
<p>In my Web application i need get<em> visualId </em> of a report when i click on anobject to create shedule for that report. how i can do that with REST API of JSAPI ??? </p>
Find more posts tagged with
Comments
Clement Wong
<p>The VisualID is just the File ID. To get the File ID, you can...</p>
<p> </p>
<p>For version 3.1.1 (REST v1):</p>
<p><a data-ipb='nomediaparse' href='/ihub/v1/ihubrestdocs/#!/files/getFileItems'>
http://your_iHub_server:5000/ihub/v1/ihubrestdocs/#!/files/getFileItems</a></p>
;
<p> </p>
<p>For version 16 (REST v2):</p>
<p><a data-ipb='nomediaparse' href='/api/v2/ihubrestdocs/#!/files/getFileListFromRootWithSearch'>
http://your_iHub_server:8000/api/v2/ihubrestdocs/#!/files/getFileListFromRootWithSearch</a></p>
;
<p><a data-ipb='nomediaparse' href='/api/v2/ihubrestdocs/#!/files/getFileListFromRoot'>
http://your_iHub_server:8000/api/v2/ihubrestdocs/#!/files/getFileListFromRoot</a></p>
;
Trần Quốc Việt
<blockquote class="ipsBlockquote" data-author="Clement Wong" data-cid="144342" data-time="1466442033">
<div>
<p>The VisualID is just the File ID. To get the File ID, you can...</p>
<p> </p>
<p>For version 3.1.1 (REST v1):</p>
<p><a data-ipb='nomediaparse' href='/ihub/v1/ihubrestdocs/#!/files/getFileItems'>
http://your_iHub_server:5000/ihub/v1/ihubrestdocs/#!/files/getFileItems</a></p>
;
<p> </p>
<p>For version 16 (REST v2):</p>
<p><a data-ipb='nomediaparse' href='/api/v2/ihubrestdocs/#!/files/getFileListFromRootWithSearch'>
http://your_iHub_server:8000/api/v2/ihubrestdocs/#!/files/getFileListFromRootWithSearch</a></p>
;
<p><a data-ipb='nomediaparse' href='/api/v2/ihubrestdocs/#!/files/getFileListFromRoot'>
http://your_iHub_server:8000/api/v2/ihubrestdocs/#!/files/getFileListFromRoot</a></p>
;
</div>
</blockquote>
<p>thank you for anwser me, but i can not read any thing you shared
. Please check it </p>
<p>This is notice :</p>
<blockquote class="ipsBlockquote">
<p> </p>
<p> </p>
Sorry, the page you’re looking for can’t be found
The page you requested has an incorrect address or the page no longer exists. <br>
Try the links below to find what you're looking for.
</blockquote>
Clement Wong
<p>You will need to replace 'your_iHub_server' with your iHub's hostname:</p>
<p> </p>
<p>For version 3.1.1 (REST v1):</p>
<pre class="_prettyXprint">
http://your_iHub_server:5000/ihub/v1/ihubrestdocs/#!/files/getFileItems</pre>
<p>For version 16 (REST v2):</p>
<pre class="_prettyXprint">
http://your_iHub_server:8000/api/v2/ihubrestdocs/#!/files/getFileListFromRootWithSearch
http://your_iHub_server:8000/api/v2/ihubrestdocs/#!/files/getFileListFromRoot
</pre>