Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Regulatory Master Domain > Retrieving the Subjects Associated with a Revisable Regulatory Submission
Retrieving the Subjects Associated with a Revisable Regulatory Submission
This example shows you how to retrieve the subjects associated with a specific revisable regulatory submission. Use the following GET URI.
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegulatoryProductSubmission:237897')/Subjects
The following example shows you how to retrieve the subjects associated with the revisable regulatory submission specified in the filter. Use the following GET request with expand on Subjects.
URI with Expand
GET /Windchill/servlet/odata/RegMstr/RegSubmission2?$filter=contains(Name, 'revisable')&$expand=Subjects
The following example shows you how to retrieve the subjects associated with a specific revisable regulatory submission using filter on Subjects. Use the following GET URI.
URI with Filter
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegulatoryProductSubmission:237897')/Subjects?$fiiter=contains(Name, 'ARM')&$count=true&$orderby=Name desc
The following example shows you how to retrieve the subjects associated with a specific revisable regulatory submission using expand on Context. Use the following GET URI.
URI with Expand on Context
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegulatoryProductSubmission:237897')/Subjects?$expand=Context