Skip to main content
1-Visitor
March 15, 2018
Question

How can get previous version objects by RESTFul API?

  • March 15, 2018
  • 1 reply
  • 1756 views

Hi,

 

I using Windchill PDMLink M030.

And I want to get previous version of wt.part.WTPart via RESTFul API.

I can get previous version part by following "$filter"

     <$filter=name eq '004' and iterationIdentifier eq '1' and versionIdentifier eq 'A'>

But I want to get previous version parts without iterationIdentifier criteria.

It likes Info*Engine method "Search-Objects" with VERSION parameter specified 'ALL.'

 

Does anyone know??? 

 

1 reply

12-Amethyst
June 7, 2019

Try this

Single Part version

 

GET <windchillserver>:<port>/Windchill/servlet/odata/ProdMgmt/Parts('part_oid')/Versions

 

All the parts version (25 part by default, use next link to see more)

GET <windchillserver>:<port>/Windchill/servlet/odata/ProdMgmt/Parts?$expand=Versions