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

API REST for retrieve CAD/Dynamic Documents from part

mmancin
9-Granite

API REST for retrieve CAD/Dynamic Documents from part

Hi,

 

    I would like to retrieve CAD/Dynamic documents from a WTPart (OR:wt.part.WTPart:51xxx). With this API I can retrieve both Described, References and Representations but I cannot retrieve a CAD Document.

/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:6676583881')?$expand=DescribedBy($expand=DescribedBy),References($expand=References),Representations

I would like to retrieve a .PRT (VR:wt.epm.EPMDocument:63xxx) from the OID of the wtpart. is this possible?

Thank you

4 REPLIES 4

Hi

Maybe you'll find a hint here.

 

mmancin
9-Granite
(To:kfreydl)

Thanks for reply but this tips don't retrieve me CAD/Dynamic documents. Only Described and Representations. If I insert Dynamic document into url, the API gave me an error. Maybe it's not possilbe with PrdMgmt domain. There's any other domain for to use?

 

Thanks

 

Hello,

 

Try this endpoint:

 

https://<WC_URL>/Windchill/servlet/odata/v5/ProdMgmt/Parts('{PartOID}')/PartDocAssociations?%24count=false&%24expand=RelatedCADDoc

 

Use the "RelatedCADDoc" expansion.

 

 

Just to add to zsternal-2's response;

 

Here is the knowledge article for the same RelatedCADDoc endpoint that they mention:

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

 

I'd suggest opening a Support case, if you have issues with this, but that should be the one.

 

Mike

 

Top Tags