Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I am experiencing a problem with the following: https://<WINDCHILL_SERVER>/Windchill/servlet/odata/DocMgmt/Documents('OR:wt.doc.WTDocument:288032')/PTC.DocMgmt.UploadStage1Action. I executed this API in the document, and there is no issue related to DocMgmt. However, the actual thing I need to run is not DocMgmt, but CADDocumentMgmt. I access the data as follows: Windchill/servlet/odata/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:22567231'). But when I send a POST request to Windchill/servlet/odata/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:22567231')/PTC.CADDocumentMgmt.UploadStage1Action or UploadStage3Action, I don't get any response. What is the solution to this, and can you help me?
Solved! Go to Solution.
Hi @ozclkonur
RestAPI CADDocumentMgmt does not contains the UploadStage1Action method
You can not use it that way.
You can't grab a method from DocMgmt and use it in CADDocumentMgmt and hope this method would be there and would work.
Check a restAPI documentation https://windchillAdress/Windchill/netmarkets/html/wrs/doc.html
PetrH
Does it also fails if you follow the steps in article https://www.ptc.com/en/support/article/CS390413
Hi @ozclkonur
RestAPI CADDocumentMgmt does not contains the UploadStage1Action method
You can not use it that way.
You can't grab a method from DocMgmt and use it in CADDocumentMgmt and hope this method would be there and would work.
Check a restAPI documentation https://windchillAdress/Windchill/netmarkets/html/wrs/doc.html
PetrH
Hi,
As clarified by @HelesicPetr , CAD Data Management OData may not be as wide as the Doc Mgmnt domain.
You cannot generally get away from using WGM for CAD data uploads / Check ins.
What's your original Functional Requirement (Not the Technical Solution) ?
Best Regards
Hari