Reserving a Regulatory Submission
Before carrying out an operation on a non-revisable or revisable regulatory submission you can first reserve it.
Example: Reserving a Non-revisable Regulatory Submission
This example shows how to reserve a non-revisable regulatory submission. Use following POST URI with the request body.
URI
POST /Windchill/servlet/odata/RegMstr/RegulatorySubmissions('OR:com.ptc.qualitymanagement.regmstr.RegulatorySubmission:237897')/PTC.RegMstr.Reserve
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Duration": 1
}
In the response the ReservedBy attribute displays the name of the user who carries out this action.
Example: Reserving a Revisable Regulatory Submission
This example shows how to reserve a revisable regulatory submission. Use following POST URI with the request body.
URI
POST /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:237897')/PTC.RegMstr.Reserve
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Duration": 1
}
In the response the ReservedBy attribute displays the name of the user who carries out this action.
Was this helpful?