Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
Is there any way/service to get the BOM in order as it displayed in Windchill?
every time I query REST Api to get part structure details by id it gives me JSON which always comes in shuffled order, so is there any filter or query that i need to apply to get it in the exact level/order that getting displayed in Windchill?
Thanks
Solved! Go to Solution.
There's multiple services in Windchill to get the BOM.
One Example is the "PTC.ProdMgmt.GetPartStructure" Service.
For this service you can specify a NavigationCriteria (e.g. a Filter) so that the order of the JSON Result is the same as in Windchill.
You just have to provide the same NavigationCriteria as in Windchill (e.g. the same Filter criteria as used in the Windchill UI).
There's multiple services in Windchill to get the BOM.
One Example is the "PTC.ProdMgmt.GetPartStructure" Service.
For this service you can specify a NavigationCriteria (e.g. a Filter) so that the order of the JSON Result is the same as in Windchill.
You just have to provide the same NavigationCriteria as in Windchill (e.g. the same Filter criteria as used in the Windchill UI).