Deleting Multiple Made From Set Objects
You can delete existing single or multiple Made From Set objects by specifying the Made From Set OIDs in the request body.
You must have Delete permissions to the Made From Set object.
* 
To delete Made From Set objects, you must first remove all the Made From Set associations, that is, the associations between a finished part and the Made From Sets associated with it. Refer to the Removing Multiple Made From Set Associations topic in the WRS Help Center.
To delete Made From Set objects, you must specify only the latest iteration of the latest revision of the Made From Set objects. The request deletes all iterations of the latest revision of the specified Made From Set object.
This example shows you how to delete two Made From Set objects. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/BomTransformation/DeleteMadeFromSets
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"MadeFromSets": [
{
"ID": "OR:wt.part.WTPart:196586"
},
{
"ID": "OR:wt.part.WTPart:196785"
}
]
}
Was this helpful?