Updating Multiple Made From Sets
You can update single or multiple Made From Set objects and their attributes by specifying the Made From Set OIDs and their attributes in the request body. You can update both modeled and all other types of attributes associated with the Made From Set object. To update a Made From Set object, you must first check out the object. You can update only the latest iteration of a Made From Set object revision.
You can also choose to update the Made From Set object in context of Change (Change Task or Change Notice).
You must have Modify permissions to the Made From Set and Change objects. You must first reserve the Change object for Edit.
* 
You cannot edit the Made From Set master attributes and other attributes such as Location, View, Life Cycle State and so on.
Example: Updating Multiple Made From Set Objects
This example shows you how to update two Made From Set objects specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/BomTransformation/UpdateMadeFromSets
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"MadeFromSets": [
{
"ID": "OR:wt.part.WTPart:198649",
"NewAttr": "Test1.1",
"SoftAttributeBoolean": true,
"SoftAttributeString": "abc"
},
{
"ID": "OR:wt.part.WTPart:201783",
"NewAttr": "Test1.2",
"SoftAttributeBoolean": false,
"SoftAttributeString": "test"
}
]
}
Example: Updating Multiple Made From Set Objects in Context of Change
This example shows you how to update two Made From Set objects in context of Change object specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/BomTransformation/UpdateMadeFromSets
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"MadeFromSets": [
{
"ID": "OR:wt.part.WTPart:198649",
"NewAttr": "Test1.1",
"SoftAttributeBoolean": true,
"SoftAttributeString": "abc",
"ResultedByObjects@odata.bind": [
"ChangeItems('VR:wt.change2.WTChangeOrder2:200982')"
]
},
{
"ID": "OR:wt.part.WTPart:201783",
"NewAttr": "Test1.2",
"SoftAttributeBoolean": false,
"SoftAttributeString": "test",
"ResultedByObjects@odata.bind": [
"ChangeItems('VR:wt.change2.WTChangeOrder2:200982')"
]
}
]
}
The request adds each modified Made From Set object as a Resultant object to the specified Change object.