Deleting Multiple MPMOperationToStandardCCLinks
To delete existing single or multiple MPMOperationToStandardCCLinks, you must first check out the Operation. You can delete the MPMOperationToStandardCCLink objects by specifying the MPMOperationToStandardCCLink OIDs in the request body.
* 
To delete an MPMOperationToStandardCCLinks, you can specify only the latest iteration of the latest revision of the Operation object.
This example shows you how to delete two MPMOperationToStandardCCLink objects specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:230001')/PTC.MfgProcMgmt.DeleteMPMOperationToStandardCCLinks
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"LinksOIDs": [
{
"ID": "OR:com.ptc.windchill.mpml.pmi.MPMOperationToStandardCCLink:196057"
},
{
"ID": "OR:com.ptc.windchill.mpml.pmi.MPMOperationToStandardCCLink:195127"
}
]
}
Example: Deleting an MPMOperationToStandardCCLink in Context of Change
This example shows you how to delete an MPMOperationToStandardCCLink object in the context of Change by specifying the Change OID in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:230001')/PTC.MfgProcMgmt.DeleteMPMOperationToStandardCCLinks
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"LinksOIDs": [
{
"ID": "OR:com.ptc.windchill.mpml.pmi.MPMOperationToStandardCCLink:196058"
}
],
"ChangeOID": "OR:wt.change2.WTChangeOrder2:1858584"
}
The request deletes the link and adds the modified Operation object as a Resultant object to the specified Change object.