<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Retrieve Assembly Structure in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613197#M5160</link>
    <description>Thanks so much I'll follow your suggestion !&lt;BR /&gt;</description>
    <pubDate>Mon, 03 Jun 2019 09:28:28 GMT</pubDate>
    <dc:creator>gfontana</dc:creator>
    <dc:date>2019-06-03T09:28:28Z</dc:date>
    <item>
      <title>Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/552897#M5152</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I need to wite a java custom class that retrieve the structure of an assembly (.asm) file.&lt;/P&gt;
&lt;P&gt;The class must be execute in a listener after the CheckIn event.&lt;/P&gt;
&lt;P&gt;I have found a call to Swagger REST Api (structure/objects descendants) and it is working on a standalone java class.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wondering if it is possible to call a REST Api inside a java custom class executed at the CheckIn event.&lt;/P&gt;
&lt;P&gt;If it is not possible what JAVA API I shoul use for a Windchill 11.0 M030 ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thankyou&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 13:22:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/552897#M5152</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2024-03-15T13:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/553099#M5153</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/265129"&gt;@gfontana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you could share/let us know how did you&amp;nbsp;&lt;SPAN&gt;call Swagger REST Api (structure/objects descendants) from within standalone java class (your standalone example may be), I can&amp;nbsp;play around it to see if we can call it inside check in event listner.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Shirish&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 11:59:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/553099#M5153</guid>
      <dc:creator>ShirishMorkhade</dc:creator>
      <dc:date>2018-06-07T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/553104#M5154</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Shirish,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;the REST api call is:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;http://&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/Windchill/servlet/rest/structure/objects/VR%3Awt.epm.EPMDocument%3A696618/descendantSummaries?criteria=%7B%20%22levels%22%20%3A%201%20%7D &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where &amp;lt;server&amp;gt; and&amp;lt;port&amp;gt; are valorized with the client data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The java files is in attached&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note: the java class is in progress so probabilly there are some imprecision&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:16:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/553104#M5154</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2018-06-07T12:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613159#M5156</link>
      <description>Thanks for your response.&lt;BR /&gt;I also would know the timeline of the swagger REST APi&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Jun 2019 09:34:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613159#M5156</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2019-06-01T09:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613189#M5158</link>
      <description>yes thankyou&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Jun 2019 09:34:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613189#M5158</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2019-06-01T09:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613197#M5160</link>
      <description>Thanks so much I'll follow your suggestion !&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2019 09:28:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613197#M5160</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2019-06-03T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613095#M5155</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/265129"&gt;@gfontana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this OData REST API&lt;/P&gt;
&lt;PRE&gt;POST &amp;lt;windchill_server&amp;gt;:&amp;lt;port&amp;gt;/Windchillservlet/odata/ProdMgmt/Parts('part_id')/PTC.ProdMgmt.GetBOM?$expand=Components($expand=Part($select=Name,Number),PartUse,Occurrences) 
CSRF_NONCE: &amp;lt;nonce_value&amp;gt;
Content-Type: application/json

Request Body:
{

}&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Jun 2019 16:41:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613095#M5155</guid>
      <dc:creator>amarsingh</dc:creator>
      <dc:date>2019-06-06T16:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613187#M5157</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/265129"&gt;@gfontana&lt;/a&gt;&amp;nbsp;are you asking the support timeline for SwaggerAPIs?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 08:31:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613187#M5157</guid>
      <dc:creator>amarsingh</dc:creator>
      <dc:date>2019-06-07T08:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Assembly Structure</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613196#M5159</link>
      <description>&lt;P&gt;I am not sure about the support timeline. However, I see a lot of new OData based APIs being exposed. I think you should start using the OData based APIs.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:09:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Retrieve-Assembly-Structure/m-p/613196#M5159</guid>
      <dc:creator>amarsingh</dc:creator>
      <dc:date>2019-06-07T09:09:26Z</dc:date>
    </item>
  </channel>
</rss>

