Skip to main content
1-Visitor
October 20, 2022
Question

Excecute InvokeIETask for multiple transactions.

  • October 20, 2022
  • 0 replies
  • 719 views

How can we use InVokeIETask present in PTC IE Domain to call custom task present in windchill for large structures or for multiple entries?

By using the below payload I am running this task for one transaction, but since one structure can contain more than one transaction so how we can execute that by using this task?

URl ;- 

https://plmint2.wc-sbx.aws.gpdm.fresenius.com:443/Windchill/servlet/odata/v1/IE/InvokeIETask?%24count=false

 

Payload :-

{
"Task": "ext/fmc/integrations/outbound/FMCPostResult.xml",
"Params": [
{
"Name": "ObjectID",
"Value": "OR:wt.part.WTPart:1267727:996621537-1568871449895-1742235652-89-7-31-172@plmint2.wc-sbx.aws.gpdm.fresenius.com"
},
{
"Name": "ObjectDescription",
"Value": ""
}, {
"Name": "Class",
"Value": "com.ptc.windchill.esi.Part"
},
{
"Name": "Action",
"Value": ""
}, {
"Name": "TargetID",
"Value": "SAP16"
},
{
"Name": "TransactionID",
"Value": "233"
}, {
"Name": "Successful",
"Value": "true"
},
{
"Name": "Subtransaction",
"Value": "false"
},
{
"Name": "Message",
"Value": ""
},
{
"Name": "Timestamp",
"Value": ""
},
{
"Name": "com_infoengine_user",
"Value": "pmangla"
}]
}