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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Retrieve report template with OData

mmancin
10-Marble

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
10-Marble
(To:mmancin)

Any suggestions?

Kats
7-Bedrock
(To:mmancin)

Hi @mmancin,

check this PTC article CS378132 

Announcements

Top Tags