Skip to main content
15-Moonstone
May 7, 2021
Question

Get All previous latest revisions using utility or any API

  • May 7, 2021
  • 2 replies
  • 1515 views

Hi

 

Can someone help me with a utility or an API on getting the non latest revision ?

 

If I have the object with the below version 

 

AC.2

AC.1

 

AB.2

AB.1

 

AA.2

AA.1

 

Can I get only AB.2 and AA.2 ?

 

Can you please help me with any utility or API for that

2 replies

1-Visitor
May 7, 2021

Hello,

 

you might take a look at

  • the REST API: Windchill/servlet/odata/v4/ProdMgmt/Parts('OR:wt.part.WTPart:202621')/Revisions
  • the JavaDoc of VersionControlService 
  •  
16-Pearl
May 7, 2021

Hello,

 

Please check some of the PTC articles regarding the same

 

https://www.ptc.com/en/support/article/CS43940

https://www.ptc.com/en/support/article/CS179898

 

Regards

Ajit