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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

ODATA REST API: How to get EPMDocument Where Used

CT_10109568
2-Explorer

ODATA REST API: How to get EPMDocument Where Used

Hello,

We are looking to get Where Used data for EPMDocument. Currently windchill/servlet/odata/v4/CADDocumentMgmt/CADDocuments does not contain an Endpoint for getting this information. 

Use case: We have a part (EPMDocument) which is used in multiple assemblies (EPMDocument as well). Windchill UI displays this information:

CT_10109568_1-1713901719279.png

 

How to get this information using Windchill ODATA REST API?

Thank you

1 REPLY 1

Hi @CT_10109568 

You can use a odata report domain or IE task domain that call a Windchill Report Template.

You just need to crate own report that collects information you need.

You need to use an template report RestApi to call the report inside the Windchill.

 

ExecuteReportTemplate

Viewing the output of Report Template execution

InvokeIETask with report parameter

CS378132 - Input Parameter not provided in Query Builder Report

Windchill Reporting Resource

 

HelesicPetr_0-1713939426082.png

/Windchill/servlet/odata/Reporting/ReportTemplates('OR:wt.query.template.ReportTemplate:334133')/PTC.Reporting.ExecuteReportTemplate

HelesicPetr_1-1713939426276.png

HelesicPetr_2-1713939426407.png

check Windchill odata documentation

/Windchill/netmarkets/html/wrs/doc.html

 

Report template example

CS103435 - Query Builder Report" listing the "Where Used" for an "EPM Document"

 

PetrH

Announcements


Top Tags