Skip to main content
1-Visitor
June 25, 2021
Question

Retrieve report template with OData

  • June 25, 2021
  • 2 replies
  • 1523 views

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
July 7, 2021

Any suggestions?

7-Bedrock
April 16, 2024

Hi @mmancin,

check this PTC article CS378132