Creating Localized Operations in a Routing Plan
You can create one or more localized operations in a routing plan, which is linked to a process plan and a plant. You can create one or more localized operations by specifying the route holder OID and one or more operation usage link OIDs in the request body.
* 
A route holder represents a process plan, plant, or workstation.
Example: Creating Multiple Localized Operations in a Routing Plan
The following example shows you how to create multiple localized operations for the specified routing plan. This example shows you how to create two localized operations in a workstation by specifying the workstation OID and two operation usage OIDs in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/RoutingPlans('OR:wt.mpm.routing.WCRoutingPlan:275751')/PTC.MfgProcMgmt.LocalizeOperations
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"routeHolder": {
"ID": "OR:com.ptc.windchill.mpml.resource.MPMWorkCenter:201000"
},
"operationUsageLink": [
{
"ID": "OR:com.ptc.windchill.mpml.processplan.operation.MPMOperationUsageLink:202012"
},
{
"ID": "OR:com.ptc.windchill.mpml.processplan.operation.MPMOperationUsageLink:202014"
}
]
}
The request creates two localized operations in the specified workstation.
Was this helpful?