Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Regulatory Master Domain > Undo Reservation of a Regulatory Submission
  
Undo Reservation of a Regulatory Submission
After you make changes to a reserved non-revisable or revisable regulatory submission, you must perform the UndoReservation action on the regulatory submission.
Example: Undo Reservation of a Non-revisable Regulatory Submission
This example shows how to remove the reservation of a reserved 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.UndoReservation
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Duration": 1
}
Example: Undo Reservation of a Revisable Regulatory Submission
This example shows how to remove the reservation of a reserved 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.UndoReservation
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Duration": 1
}