Windchill REST Services Domain Capabilities > PTC Domains > PTC Quality Domains > PTC Regulatory Master Domain > Functions Available in the PTC Regulatory Master Domain
Functions Available in the PTC Regulatory Master Domain
Some of the functions available in the PTC Regulatory Master Domain are listed below.
GetValidStateTransitions()
The GetValidStateTransitions() function retrieves the valid state transitions of a regulatory submission.
The following are the two examples of the GetValidStateTransitions() function for the non-revisable and revisable regulatory submission, respectively:
GET /Windchill/servlet/odata/RegMstr/RegulatorySubmissions('OR:com.ptc.qualitymanagement.regmstr.RegulatorySubmission:237897')/PTC.RegMstr.GetValidStateTransitions()
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:237897')/PTC.RegMstr.GetValidStateTransitions()
IsReservedByMe()
The IsReservedByMe() function checks if a regulatory submission is reserved by the user performing the operation and returns the value as true. It returns the value as false if the regulatory submission is not reserved by the user.
The following are the two examples of the IsReservedByMe() function for the non-revisable and revisable regulatory submission, respectively:
GET /Windchill/servlet/odata/RegMstr/RegulatorySubmissions('OR:com.ptc.qualitymanagement.regmstr.RegulatorySubmission:237897')/PTC.RegMstr.IsReservedByMe()
GET /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:237897')/PTC.RegMstr.IsReservedByMe()
Refer to the domain EDM for a complete list of functions.