Updating an Existing Engineering Material Part Describe Link
An engineering material part describe link exists between an existing engineering material object and a document.
Example: Updating the Attributes for an Existing Engineering Material Part Describe Link
The following example shows you how to update an IBA attribute of type String for a specific engineering material part describe link by specifying the engineering material OID and the engineering material part describe link OID in the request URI.
In this example, the TestStringIBA1 attribute value is specified as UpdatedTestIBAValue1 in the request body.
Use the following PATCH URI with the request body.
URI
PATCH /Windchill/servlet/odata/Sustainability/EngineeringMaterials('OR:wt.part.WTPart:533673')/DescribedBy('OR:wt.part.WTPartDescribeLink:533676')
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"TestStringIBA1": "UpdatedTestIBAValue1"
}
The request returns the modified engineering material part describe link with the value of the TestStringIBA1 attribute updated to UpdatedTestIBAValue1.
這是否有幫助?