Deleting Pending Effectivities for Process Plans/Operations/Sequences
You can delete multiple existing pending effectivities (Date, Lot, Unit, or Serial) for Process Plans, Operations, Sequences, or their subtypes by specifying the effectivity OIDs in the request body.
Example: Deleting Pending Date Effectivities
This example shows you how to delete three pending Date Effectivities. Use the following POST URI with the request body.
URI
POST Windchill/servlet/odata/ChangeMgmt/DeletePendingEffectivities
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"PendingEffectivities": [
{
"ID": "OR:wt.eff.PendingDateEffectivity:193040"
},
{
"ID": "OR:wt.eff.PendingDateEffectivity:193521"
},
{
"ID": "OR:wt.eff.PendingDateEffectivity:193532"
}
]
}