Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi,
I am using the following REST API:
var WindchillData = Things["OData-connector"].getPartStructure({
$expand: "Components($expand=Part($select=Name,Number,Version),PartUse,Occurrence;$levels=1)",
ID: "VR:wt.part.WTPart:XXXXXXXX"
});
As of now, I can only pass one ID. Can I pass multiple part ids in the ID field?
Thanks,
Solved! Go to Solution.
As far as I know, we cannot do anything on the Thingworx side.
You can check with your Windchill development team to create a custom API for your requirement. That might solve performance issues.
/VR
I think it is not possible. PartID is part of the URL it won't support multiple values
/VR
Hi @Velkumar ,
Thanks for the quick response. If I want to get a Part Structure, it takes at least 5 secs. If I need to call for 40 Parts, it will take 200secs that would be around 3-4 minutes. This gives me a performance issue.
Thanks,
As far as I know, we cannot do anything on the Thingworx side.
You can check with your Windchill development team to create a custom API for your requirement. That might solve performance issues.
/VR