Skip to main content
1-Visitor
Jun 25, 2021 3:14 PM UTC
Question

Retrieve report template with OData

Hi all,

 

I need to retrieve template reports via the OData API. I have used the following API

 

/Windchill/servlet/odata/IE/InvokeIETask

{ 
 "Task": "com/ptc/windchill/enterprise/report/ExecuteReportTemplate.xml",
 "Params": [
 {
 "Name": "object_ref",
 "Value": "wt.query.template.ReportTemplate:1234"
 }
 ]
}

 

now i need to change the report criteria directly from the API. i tried to add a parameter but it doesn't seem to work. where can i find documentation? what is the correct parameter to pass?

 

I have this criteria

 

((Associated Part.Latest Iteration equals 1) AND (Part Master.Number in 1234))
 
Thanks

2 replies

mmancin1-VisitorAuthor
1-Visitor
Jul 7, 2021 12:36 PM UTC

Any suggestions?

Translate
7-Bedrock
Apr 16, 2024 2:26 PM UTC

Hi @mmancin,

check this PTC article CS378132 

Translate