Invoking an Info*Engine Task
This example shows you how to invoke an Info*Engine task.
Consider a task:
wt/federation/delegates/windchill/QueryObjects.xml
The task has two inputs: the Windchill type and a where clause for querying objects.
Use the following POST URI to invoke the task.
URI
POST /Windchill/servlet/odata/IE/InvokeIETask
Request Body
{
"Task": "wt/federation/delegates/windchill/QueryObjects.xml",
"Params": [
{
"Name": "type",
"Value": "wt.part.WTPart"
},
{
"Name": "where",
"Value": "name=GOLF_CART"
}
]
}
The output of this task is a JSON representation of groups and elements contained in the output group of the task.
Was this helpful?