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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

How to retrieves parts of specific type View("Design or Manufacturing") through windchill REST API?

mohitenw
11-Garnet

How to retrieves parts of specific type View("Design or Manufacturing") through windchill REST API?

Hi,

is there REST API available to get all parts from windchill which will fetch only given specific view type?

Below is the url i was using but it gives me error, please provide if anyone knows the solution.

URL : "http://......../Windchill/servlet/odata/v1/ProdMgmt/Parts?$filter=view eq 'Design'"

Errror : 
"error": {
         "code": null,
         "message": "The property 'view', used in a query expression, is not defined in type 'PTC.ProdMgmt.Part'."
           }
}

 

Thanks in advance.

2 REPLIES 2

I wish there was a way, but based on the error we see now, it's not possible.

{

 "error": {

  "code": "PROPERTY_NAME_NOT_SEARCHABLE",

  "message": "View is not a searchable Attribute" 

}

 }

Hello @JE_10192099 

 

the article CS375454 describes that it is possible in the WRS 2.4 

 

PetrH

Announcements


Top Tags