cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

How can get previous version objects by RESTFul API?

hsano-2
8-Gravel

How can get previous version objects by RESTFul API?

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 1

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

 

Top Tags