cancel
Showing results for 
Search instead for 
Did you mean: 
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?

ag-2
1-Newbie

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.

2 REPLIES 2
BineshKumar1
12-Amethyst
(To:ag-2)

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

physna
4-Participant
(To:BineshKumar1)

Hello. This post helped me a lot. I was wondering if you know of a place that has a list of the property names that we can query? Specifically, I'm looking for the filename (including extension).

 

Thank you!

Announcements