Deleting a Specific OperationHolderUsageLink for a Specific Operation Holder
To delete a specific OperationHolderUsageLink for a specific Operation Holder, you must first check out the Operation Holder.
|
• While deleting a link between a Process Plan and a Standard Procedure, ensure that the Standard Procedure is checked in.
• While deleting a link between a Sequence and a Standard Procedure, ensure that the Standard Procedure in checked in.
|
This example shows you how to delete an OperationHolderUsageLink by specifying the Operation Holder and OperationHolderUsageLink OIDs in the request URI. Use the following DELETE URIs.
URI for Process Plan
DELETE Windchill/servlet/odata/MfgProcMgmt/OperationHolders('OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:186932')/OperationHolderUsageLink('OR:com.ptc.windchill.mpml.MPMStandardProcedureLink:186934')
Similarly you can delete an OperationHolderUsageLink for a Standard Procedure as the Operation Holder.
URI for Operation
DELETE Windchill/servlet/odata/MfgProcMgmt/OperationHolders('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:187404')/OperationHolderUsageLink('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperationUsageLink:187406')
URI for Sequence
DELETE Windchill/servlet/odata/MfgProcMgmt/OperationHolders('OR:com.ptc.windchill.mpml.processplan.sequence.MPMSequence:187276')/OperationHolderUsageLink('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperationUsageLink:187278')