Updating Attributes of a Routing Plan
To update the attributes of an existing routing plan or its subtype, you must first check out the routing plan. You can update the OOTB attributes, Description and LongDescription. You can also update modeled and all other types of attributes, including IBAs such as enumerated lists.
To update a soft attribute, you must specify the value with its valid internal name. If a constraint is applied to the attribute, you must specify the internal name of the value specified in the constraint.
* 
You cannot modify the following attributes: Name, Number, and the related part, process plan, and plant.
Attributes like Category and Unit are immutable and cannot be updated after their values are assigned while creating a routing plan.
Example: Updating Attributes of a Specific Routing Plan
This example shows you how to update the attributes of a specific routing plan. Use the following PATCH URI with the request body.
URI
PATCH /Windchill/servlet/odata/MfgProcMgmt/RoutingPlans('OR:wt.mpm.routing.WCRoutingPlan:275751')
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Description": "Updated_Routing_Plan",
"LongDescription": "This is an updated routing plan for testing.",
"CustomAttribute": "UpdatedTest1",
"CustomAttributeBoolean": true
}
Was this helpful?