What information are you trying to get? Other that the information you already have, you can append a /source to the url to get the source code of the asset.<div>Please read the documentation manual to see all the operations you have using REST-API.<br>

<div><br></div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Fri, Jan 13, 2012 at 7:54 AM, srinivasasanda <span dir="ltr">&lt;<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi<br>
Hi,<br>
I&#39;m able to get asset information like UUID, format etc using the following<br>
Rest API<br>
:<a href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/ABC" target="_blank">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/ABC</a><br>
<br>
It displaying the following xml code in browser :<br>
&lt;asset&gt;&lt;binaryLink&gt;<a href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/binary" target="_blank">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/binary</a>&lt;/binaryLink&gt;&lt;checkInComment/&gt;&lt;description&gt;created<br>


by standalone<br>
editor&lt;/description&gt;&lt;metadata&gt;&lt;created&gt;2012-01-09T16:09:42.284+05:30&lt;/created&gt;&lt;createdBy&gt;guest&lt;/createdBy&gt;&lt;disabled&gt;false&lt;/disabled&gt;&lt;format&gt;template&lt;/format&gt;&lt;lastModified&gt;2012-01-09T16:09:48.122+05:30&lt;/lastModified&gt;&lt;note/&gt;&lt;title&gt;ABC&lt;/title&gt;&lt;uuid&gt;cf3823ca-f805-42c9-82d3-842b17b344fe&lt;/uuid&gt;&lt;/metadata&gt;&lt;refLink&gt;<a href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC" target="_blank">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC</a>&lt;/refLink&gt;&lt;sourceLink&gt;<a href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/source" target="_blank">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/source</a>&lt;/sourceLink&gt;&lt;type/&gt;&lt;version&gt;1&lt;/version&gt;&lt;/asset&gt;<br>


<br>
Suppose if i have 5 rules in the above template asset &quot;ABC&quot; how can i get<br>
those rules information using Rest API or any other drools API (if i have<br>
UUID of the template).<br>
<br>
Please suggest me.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-get-Asset-UUID-tp3650138p3655941.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-get-Asset-UUID-tp3650138p3655941.html</a><br>


</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div></div>