Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Dear all,
I need to know about is there REST API available for below mentioned scenario :
1. Can we retrieve as stored configuration of EPM Document?
2. Can we download content of EPM Document iteration which is non latest?
Can anyone please help me out to find REST API?
Thanks.
Solved! Go to Solution.
Hi,
It depends on what you are trying to achieve. Keep in mind that you can not download the actual CAD document through the REST API:
You CAN navigate the CAD assembly structure and apply different ConfigSpec (including 'As-Stored') filters. I haven't tried it, but, in theory, it should return the actually used iteration at the time of check-in.
It seems that you can not get a non-latest iteration in the initial queries (when you look up a document by number, for example: /Windchill/servlet/odata/CADDocumentMgmt/CADDocuments?$filter=Number%20eq%20%27TestNumber.prt%27), but there might be workarounds. You may try accessing them (non-latest iterations) by OR directly, or look for them using the SavedSearch odata domain.
Kind regards,
Dmitry.
Hi,
It depends on what you are trying to achieve. Keep in mind that you can not download the actual CAD document through the REST API:
You CAN navigate the CAD assembly structure and apply different ConfigSpec (including 'As-Stored') filters. I haven't tried it, but, in theory, it should return the actually used iteration at the time of check-in.
It seems that you can not get a non-latest iteration in the initial queries (when you look up a document by number, for example: /Windchill/servlet/odata/CADDocumentMgmt/CADDocuments?$filter=Number%20eq%20%27TestNumber.prt%27), but there might be workarounds. You may try accessing them (non-latest iterations) by OR directly, or look for them using the SavedSearch odata domain.
Kind regards,
Dmitry.
Thanks.