<?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: How to get latest revision of a document using  Rest API ? in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/612686#M59459</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;shindemayur,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;have you already a solution for this issue?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2019 17:00:21 GMT</pubDate>
    <dc:creator>aschultheiss</dc:creator>
    <dc:date>2019-06-04T17:00:21Z</dc:date>
    <item>
      <title>How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586625#M58671</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using Windchill 11.1 M010.&lt;/P&gt;
&lt;P&gt;I want to get latest&amp;nbsp;revision of a document using Rest API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to use filter,&lt;/P&gt;
&lt;P&gt;$filter : latestiteration eq '1',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but, this gives "Invalid expression".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to get the latest revision of a document through&amp;nbsp;Rest API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 14:57:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586625#M58671</guid>
      <dc:creator>shindemayur</dc:creator>
      <dc:date>2019-01-30T14:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586648#M58672</link>
      <description>&lt;P&gt;I got this tip from one of my Windchill colleagues...&lt;/P&gt;
&lt;P&gt;Can you try with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;"Latest": true&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead of latestiteration : 1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 10:28:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586648#M58672</guid>
      <dc:creator>mneumann</dc:creator>
      <dc:date>2018-12-27T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586691#M58673</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;but,&lt;/P&gt;
&lt;P&gt;This also doesn't work. It says "Latest" is Invalid property&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 11:59:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586691#M58673</guid>
      <dc:creator>shindemayur</dc:creator>
      <dc:date>2018-12-27T11:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586737#M58674</link>
      <description>&lt;P&gt;Could you please post the complete request here?&lt;/P&gt;
&lt;P&gt;Including any headers for Post, that contain any additional parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might help in seeing if there's anything off in the request itself.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 15:22:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586737#M58674</guid>
      <dc:creator>mneumann</dc:creator>
      <dc:date>2018-12-27T15:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586824#M58675</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;below I am sharing&amp;nbsp;my Javascript code. In this code, I am passing typeID, and properties (attributes),&amp;nbsp; also in a $filter I am setting criteria, so there&amp;nbsp;I want to set a filter to fetch only latest version documents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var params = {&lt;BR /&gt;type: 'GET',&lt;BR /&gt;url: me.getRestUrl() + "/structure/objects",&lt;BR /&gt;queryParams: {&lt;BR /&gt;'$select': properties,&lt;BR /&gt; &lt;BR /&gt;'$filter': "endswith(number ,'"+number+"') and state eq 'Released' ",&lt;BR /&gt; &lt;BR /&gt;'navigationCriteria': navigationCriteria,&lt;BR /&gt;'typeId': selectedTypeId,&lt;BR /&gt; &lt;BR /&gt;}&lt;BR /&gt;};&lt;BR /&gt;// result: JSON&lt;BR /&gt;var jsonResult = me.processJSONRequest(params);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried&amp;nbsp;with,&lt;/P&gt;
&lt;P&gt;$filter : "latestIteration eq '1'",&lt;/P&gt;
&lt;P&gt;but this displays all the version of a document. eg. A.1 and B.1 and B.2&lt;/P&gt;
&lt;P&gt;I only want to fetch the latest i.e B.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 07:27:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586824#M58675</guid>
      <dc:creator>shindemayur</dc:creator>
      <dc:date>2018-12-28T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586990#M58676</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/47460"&gt;@mneumann&lt;/a&gt; did you got my question?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 04:34:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/586990#M58676</guid>
      <dc:creator>shindemayur</dc:creator>
      <dc:date>2018-12-31T04:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/587085#M58677</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/297319"&gt;@shindemayur&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;yes, but unfortunately I can't help you here.&lt;/P&gt;
&lt;P&gt;Someone from the Windchill Customization team might - you might have to open a Support Case for this one.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 06:55:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/587085#M58677</guid>
      <dc:creator>mneumann</dc:creator>
      <dc:date>2019-01-02T06:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/587129#M58678</link>
      <description>&lt;P&gt;ok, Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 12:45:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/587129#M58678</guid>
      <dc:creator>shindemayur</dc:creator>
      <dc:date>2019-01-02T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/612686#M59459</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;shindemayur,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;have you already a solution for this issue?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 17:00:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/612686#M59459</guid>
      <dc:creator>aschultheiss</dc:creator>
      <dc:date>2019-06-04T17:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/613212#M59511</link>
      <description>&lt;P&gt;This will give what you are looking for&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;GET &amp;lt;windchill_server&amp;gt;:&amp;lt;port&amp;gt;/Windchill/servlet/odata/DocMgmt/Documents?$expand=Revisions&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:59:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/613212#M59511</guid>
      <dc:creator>amarsingh</dc:creator>
      <dc:date>2019-06-07T09:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614252#M59544</link>
      <description>&lt;P&gt;hello Team,&lt;/P&gt;
&lt;P&gt;Can you explain me how to use restful web service of windchill.&lt;/P&gt;
&lt;P&gt;please let me know that initializing process to call restful web service of windchill.&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 05:41:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614252#M59544</guid>
      <dc:creator>Inno</dc:creator>
      <dc:date>2019-06-17T05:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614255#M59546</link>
      <description>&lt;P&gt;Try the REST Call/URL &lt;A href="https://community.ptc.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/613212/highlight/true#M59511" target="_self"&gt;here&lt;/A&gt; in a browser or your favorite rest client like postman.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 06:10:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614255#M59546</guid>
      <dc:creator>amarsingh</dc:creator>
      <dc:date>2019-06-17T06:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614285#M59549</link>
      <description>&lt;P&gt;Thanks &lt;SPAN&gt;amarsingh&amp;nbsp; for help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;just beginner for windchill software.so please help me some few question for it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1. &amp;lt;windchill_server&amp;gt;:&amp;lt;Port&amp;gt;&amp;nbsp; :&amp;nbsp; which server name write in it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;please can you explain&amp;nbsp;me in deepth.?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;GET &amp;lt;windchill_server&amp;gt;:&amp;lt;port&amp;gt;/Windchill/servlet/odata/DocMgmt/Documents?$expand=Revisions&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 09:16:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614285#M59549</guid>
      <dc:creator>Inno</dc:creator>
      <dc:date>2019-06-17T09:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614286#M59550</link>
      <description>&lt;P&gt;Assuming you have access to a windchill server and that windchill is accessed as:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;http://windchill.yourdomain.com:80/Windchill&lt;/PRE&gt;
&lt;P&gt;you can access the below REST call with this URL&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;http://windchill.yourdomain.com:80/Windchill/servlet/odata/DocMgmt/Documents?$expand=Revisions&lt;/PRE&gt;
&lt;P&gt;As the above REST call is a GET call you can try the above URL in a browser and you will get the response in xml format.&lt;/P&gt;
&lt;P&gt;You want to try non GET operations like POST, DELETE, PATCH, etc, with more control over your REST request, use a REST client like Postman. With tools like Postman, you can get the REST response in JSON also by adding header&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Content-Type:&amp;nbsp;application/json&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Jun 2019 09:26:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614286#M59550</guid>
      <dc:creator>amarsingh</dc:creator>
      <dc:date>2019-06-17T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614292#M59552</link>
      <description>&lt;P&gt;Thank you so much for quick answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;just asking question because i m bignner for it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However i don't know how to access server of windchill.so please let me know briefly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have created trial account on winchill website.but i can't found any domain .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so please can you explain me initiate process for get server of ' &lt;A href="http://windchill.yourdomain.com:80" target="_blank" rel="noopener"&gt;http://windchill.yourdomain.com:80&lt;/A&gt; ' .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;http://windchill.yourdomain.com:80/Windchill&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 09:38:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614292#M59552</guid>
      <dc:creator>Inno</dc:creator>
      <dc:date>2019-06-17T09:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest revision of a document using  Rest API ?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614448#M59564</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Regular-Member lia-component-author"&gt;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.ptc.com/t5/user/viewprofilepage/user-id/268774" target="_self"&gt;&lt;SPAN class=""&gt;amarsingh&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide direction for how to install on PTC cloud and where do i get windchill software for restful api ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 03:57:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-get-latest-revision-of-a-document-using-Rest-API/m-p/614448#M59564</guid>
      <dc:creator>Inno</dc:creator>
      <dc:date>2019-06-18T03:57:32Z</dc:date>
    </item>
  </channel>
</rss>

