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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Retrieve report template with OData

mmancin
9-Granite

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 2
mmancin
9-Granite
(To:mmancin)

Any suggestions?

Kats
6-Contributor
(To:mmancin)

Hi @mmancin,

check this PTC article CS378132 

Top Tags