Deleting Multiple Standard Operations
You can delete existing single or multiple Standard Operations by specifying the Standard Operation OIDs in the request body.
* 
You cannot delete a checked out Standard Operation.
To delete a Standard Operation, you can specify only the latest iteration of the latest revision of a Standard Operation.
Example: Deleting a Standard Operation
This example shows you how to delete a Standard Operation object specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/DeleteOperations
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Operations": [
{
"ID": "OR:com.ptc.windchill.mpml.processplan.operation.MPMStandardOperation:214795"
}
]
}
Example: Deleting Multiple Standard Operations
This example shows you how to delete two Standard Operation objects specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/DeleteOperations
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Operations": [
{
"ID": "OR:com.ptc.windchill.mpml.processplan.operation.MPMStandardOperation:214795"
},
{
"ID": "OR:com.ptc.windchill.mpml.processplan.operation.MPMStandardOperation:215845"
}
]
}
Was this helpful?