Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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
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