Reading the Bill of Material (BOM)
This example shows you how to read the bill of material (BOM) for a product structure. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:44148884')/PTC.ProdMgmt.GetBOM?$expand=Components($expand=Part($select=Name,Number),PartUse,Occurrences;$levels=max) HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{"NavigationCriteria": {"ID": "OR:wt.filter.NavigationCriteria:1005970"}}