<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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>How to find ECR, ECO, EDR associated with PR using API GET call?</title><link>https://www.aras.com/community/f/development/55303/how-to-find-ecr-eco-edr-associated-with-pr-using-api-get-call</link><description>Hi, I need the data for all the PRs and ECR, ECO, EDR etc associated with the PR. 
 By associated I mean the ones that show in the &amp;quot;where used&amp;quot; section of PR and not the relationships. In other words, what is the &amp;quot;where used&amp;#39; equivalent in a GET call</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to find ECR, ECO, EDR associated with PR using API GET call?</title><link>https://www.aras.com/community/thread/10514?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 22:38:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:aafc6e2f-5bad-47ec-8eee-343055f29cb8</guid><dc:creator>Hargul Sidhu</dc:creator><description>&lt;p&gt;Thanks &lt;a href="/community/members/asebastian"&gt;AJ Sebastian&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to find ECR, ECO, EDR associated with PR using API GET call?</title><link>https://www.aras.com/community/thread/10513?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 15:19:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:cf516059-4a01-43fe-9df8-6317b1b7f2fc</guid><dc:creator>AJ Sebastian</dc:creator><description>&lt;p&gt;Hi Hargul,&lt;/p&gt;
&lt;p&gt;I think the best way to achieve this would be to utilize a Query Definition(QD). A QD can traverse a relationship in both directions, including your &amp;quot;Where Used&amp;quot; scenario. The first step would be to build a query definition which starts with PR and uses a&amp;nbsp;&lt;strong&gt;Referencing Item&lt;/strong&gt; relationship to query the items which reference the given PR.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/community/resized-image/__size/640x480/__key/communityserver-discussions-components-files/3/pastedimage1723475901199v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once you have a query you&amp;#39;re happy with I recommend taking a look at this &lt;a href="/community/f/getting-started/6379/get-query-builder-answer-via-rest-api"&gt;forums post&lt;/a&gt;&amp;nbsp;where someone needed to get a query response via the Rest API. You&amp;#39;ll have to create a quick method which calls your QD, and then the method can be called via a POST request.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;AJ&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>