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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Download Attachment or document for specific Part using PTC windchill API's?

RG_10709033
1-Newbie

Download Attachment or document for specific Part using PTC windchill API's?

How to Download Attachment or document for specific Part using PTC windchill API's?

 

 

 

2 REPLIES 2

I am using API Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:17517070')?$expand=DescribedBy($expand=DescribedBy)&ptc.search.latestversion=true which response with WTDocument id, I am searching for API that returns content of document in response (bytes) or any other format where I can deserialize the content to file using java?

 

Looking  PDM API libraries like maven repository to use the classes/methods in java? 

rleir
17-Peridot
(To:RG_10709033)

Cool, with that URL I was getting a 500.  My version of WRS defaults to v5.  When I made the version explicitly v1, it worked with a 200!

Windchill/servlet/odata/v1/ProdMgmt/Parts('OR:wt.part.WTP...

For me, v4 works too.

Top Tags