Navigating to the Representations for a Training Record
A representation for a training record is a converted CAD, XML, document, or other supported data representing a training record stored in Windchill. It is a lightweight representation of the data associated with documents. You can view representations as thumbnail images, which are displayed on information pages of control documents that are associated with training records in Windchill.
You can retrieve all representations or a specific representation for a given training record.
Example: Retrieving All Representations
The following example shows how to retrieve all representations for a training record.
Use the following GET URI:
URI
GET /Windchill/servlet/odata/DocumentControl/TrainingRecords('OR:com.ptc.qualitymanagement.qms.trainingtracking.TrainingRecord:306394')/SubjectControlDocument/Representations
The request returns the relevant URLs to download the data corresponding to its representation.
Example: Retrieving a Specific Representation
The following example shows you how to retrieve a specific representation for a training record.
Use the following GET URI.
URI
GET /Windchill/servlet/odata/DocumentControl/TrainingRecords('OR:com.ptc.qualitymanagement.qms.trainingtracking.TrainingRecord:306394')/SubjectControlDocument/Representations('OR:wt.viewmarkup.DerivedImage:786687')
The request returns the URLs to download the CAD data, thumbnails, and additional files associated with the specified representation.