Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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).