Navigating to the Primary Content for a Training Record
The following example shows how to retrieve the primary content 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/PrimaryContent
URI with Expand on PrimaryContent
GET /Windchill/servlet/odata/DocumentControl/TrainingRecords('OR:com.ptc.qualitymanagement.qms.trainingtracking.TrainingRecord:306394')/SubjectControlDocument?$expand=PrimaryContent
URI with Expand on PrimaryContent and Attachments
GET /Windchill/servlet/odata/DocumentControl/TrainingRecords('OR:com.ptc.qualitymanagement.qms.trainingtracking.TrainingRecord:306394')/SubjectControlDocument?$expand=PrimaryContent,Attachments
¿Fue esto útil?