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

Is there a way to retrieve the "names" of respective elements object id with REST API available in windchill 11.0?

Highlighted
Level 2

Is there a way to retrieve the "names" of respective elements object id with REST API available in windchill 11.0?

We are  trying to explore the methodology to retrieve data from Swagger UI (REST API).

Please help us.

1 REPLY 1

Re: Is there a way to retrieve the "names" of respective elements object id with REST API available in windchill 11.0?

Say you want to get all the parts that starts with number 000000006, you can make a rest api call like below. In the select you can select the attributes of the element which you want to retrieve.

http://ourserver/Windchill/servlet/rest/objects?%24select=name%2Cstate%2Cchild&typeId=wt.part.WTPart...

We will get a JSON response like this.

jsonreponse.jpg