Creating a Driver Link for an Existing Revisable Regulatory Submission
A driver link exists between an existing regulatory submission and the driver object associated with it.
To create a driver link for an existing revisable regulatory submission, you must first check out the regulatory submission.
|
To add a driver object to an existing regulatory submission, the driver object type must adhere to the association type that is defined in the association rules for the regulatory submission.
|
This example shows you how to create a driver link for an existing revisable regulatory submission. This example shows you how to create a driver link by specifying the regulatory submission object in the request URI and the driver object in the request body.
In this example, the association type, that is, Role B Type for the revisable regulatory submission, is set as Part in the association rules.
Use the following POST URI with the request body.
URI
POST Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.UniqueDeviceIdentifierSubmission:266279')/DriverLinks
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"@odata.type": "#PTC.RegMstr.DriverLink",
"Driver@odata.bind": "Drivers('OR:wt.part.WTPart:125425')"
}
The request adds the specified part as a driver object to the revisable regulatory submission.
The request creates a driver link between the specified revisable regulatory submission and the driver object that is associated with it.