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