The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
HI,
I want to get type hierarchy both ANCESTORS and DESCENDANTS using Windchill REST API .
I using Windchill Info*Engine's method 'Query-TypeHierarchy' for our function, and I will replace this function to using Windchill REST API.
So, I hope Windchill REST API has same function as this method.
Best Regards,
Haruka.
The list of operation is listed under https://YOURWINDCHILLURI/Windchill/netmarkets/jsp/restapi/index.html and depend of Windchill version but in 11 M10, i have this kind of function:
Thanks for your reply.
I using Windchill 11.0 M030 , and I already tried "GET /structure/objects/{objectId}/ancestors" .
But I got specific object's ancestors. I want to get Windchill existing type hierarchies as definition information.
Please tell me if anyone knows.
Try this
POST <windchillserver>:<port>/Windchill/servlet/odata/ProdMgmt/Parts('part_oid')/PTC.ProdMgmt.GetBOM?$expand=Components($expand=Part($select=Name,Number),PartUse,Occurrences) CSRF_NONCE: <nonce_value> Content-Type: application/json Request Body: { }