Retrieving the Ordered Views
This example shows you how to retrieve the ordered views. Use the $orderby query option as shown below to get Views either in the ascending order (asc) or descending order (desc):
Get all Views ordered by Name in the ascending order:
URI
GET /Windchill/servlet/odata/ViewMgmt/Views?$orderby=Name asc
Get all Views ordered by Name in the descending order:
URI
GET /Windchill/servlet/odata/ViewMgmt/Views?$orderby=Name desc
Was this helpful?