Retrieving the Dynamic Structure Representation with QuickView
|
The QuickView capability is available in Windchill 12.1.2.0 or later, and the APIs are supported starting with Windchill REST Services 2.7.
The APIs are not available in Windchill REST Services for the Windchill releases prior to the 12.1.2.0 release.
|
You can retrieve the dynamic structure representation PVS from a specific part for which the QuickView capability is available. To retrieve the dynamic structure representation with QuickView, specify the value of EnableQuickView as true in the request URI.
You can enable or disable QuickView by specifying the value of EnableQuickView as true or false, respectively.
The following example shows you how to retrieve the dynamic structure representation PVS from a specific part with QuickView capability by specifying the value of the EnableQuickView parameter as true in the request URI.
Use the following GET URI.
URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:236705')/PTC.ProdMgmt.GetDynamicStructureRepresentation(EnableQuickView=true)
The request generates and returns a URL in the response. You can copy and paste the URL in your browser to download the dynamic structure representation PVS from the specified part with QuickView.
|
For a part for which the QuickView capability is not available, the generated URL when requested from the browser, returns the dynamic structure representation PVS for download but without QuickView. The functioning is equivalent to the API request which has the value of EnableQuickView specified as false.
|
Example: Retrieving the Dynamic Structure Representation from a Part with QuickView Using Specific Navigation Criteria
This example shows you how to retrieve the dynamic structure representation PVS from a specific part for which the QuickView capability is available by specifying the navigation criteria ID and EnableQuickView as true in the request URI. Use the following GET URI.
URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:236705')/PTC.ProdMgmt.GetDynamicStructureRepresentation(NavigationCriteriaId='OR:wt.filter.NavigationCriteria:249186',EnableQuickView=true)
The request generates and returns a URL in the response. You can copy and paste the URL in your browser to download the dynamic structure representation PVS from the specified part with QuickView for the specified navigation criteria.
|
You can specify the value as an empty string ("") for the NavigationCriteriaId parameter. When you specify an empty value, the request uses the default navigation criteria.
|