Retrieving the Existing Table Data Associated with a Revisable Regulatory Submission
You can retrieve the existing table data objects and table data subtypes for an existing revisable regulatory submission.
The request returns the ID, CreatedOn, LastModified, and ObjectType attributes. Additionally, the request returns the @odata.type and subtype attributes for the subtypes.
The following example shows you how to retrieve the existing table data associated with a revisable regulatory submission. In this example, the revisable regulatory submission a base table data object and a table data subtype associated to it.
Use the following GET URI.
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705')/TableData
The request returns the objects along with their corresponding attributes.
Example: Retrieving a Specific Type of Table Data Using a Typecast
The following example shows you how to retrieve a specific table-data type associated with an existing revisable regulatory submission by specifying the table-data type in the typecast that is specified in the request URI.
Use the following GET URI.
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705')/TableData/PTC.RegMstr.TableData2
The request returns the TableData2 table-data type along with its attributes.
The following example shows you how to retrieve a specific table-data subtype associated with an existing revisable regulatory submission by specifying the table-data type in the typecast that is specified in the request URI.
Use the following GET URI.
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705'))/TableData/PTC.RegMstr.TDSubtype2
The request returns the TDSubtype2 table data subtype along with its attributes.