Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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.
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"
}
}