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

We are happy to announce the new Windchill Customization board! Learn more.

How can I get type hierarchy using Windchill REST API?

hsano-2
8-Gravel

How can I get type hierarchy using Windchill REST API?

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.

3 REPLIES 3
Vincent-Kulak
13-Aquamarine
(To:hsano-2)

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:

Capture.PNG

 

 

 

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:
{

}
Top Tags