Updating an Occurrence on a Part Usage Link
This example shows you how to update a specific occurrence on a WTPartUsageLink (link between parent part and child part) by specifying the parent part OID, WTPartUsageLink OID, and PartUsesOccurrence OID in the request URI. Use the following PATCH URI with the request body.
URI
PATCH /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:167652')/Uses('OR:wt.part.WTPartUsageLink:167655')/Occurrences('OR:wt.part.PartUsesOccurrence:167661')
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"ReferenceDesignator": "R60",
"Location": {
"PointX": 0,
"PointY": 1,
"PointZ": 1,
"PointUnit": "m",
"AngleX": 1.07,
"AngleY": 1.07,
"AngleZ": 1.07,
"AngleUnit": "r"
}
}
これは役に立ちましたか?