The PTC Community will be on read only status starting March 23rd in preparation for moving our platform to a new provider. Read more here
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).
