Retrieving the Regulatory Content for an Existing Revisable Regulatory Submission
To retrieve the regulatory content for an existing revisable regulatory submission, you must have Read permissions to the regulatory submission.
|
The request returns an empty value, when:
• Regulatory content does not exist for the regulatory submission.
• Regulatory content of the specified category does not exist.
|
The following example shows you how to retrieve the regulatory content for an existing revisable regulatory submission. Use the following GET URI.
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705')/RegulatoryContent?$count=true
|
For the revisable regulatory submission with associated regulatory content, the request returns the same regulatory content for:
• The checked-out version of the regulatory submission.
• A new iteration of the regulatory submission created when you check in its checked-out version.
• A new revision of the regulatory submission.
|
You can also retrieve the regulatory content of a specific category using $filter on category, as shown in the next example:
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705')/RegulatoryContent?$filter=Category eq 'ACKNOWLEDGEMENT1' &$count=true
Here, if regulatory content of the ACKNOWLEDGEMENT1 category does not exist, the request returns an empty value.