cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to get sorted BOM as displayed in Widchill

aitc-plmsupport
8-Gravel

How to get sorted BOM as displayed in Widchill

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

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).

View solution in original post

1 REPLY 1

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).

Top Tags