Checking In or Checking Out a Routing Plan
The following examples show how to check in or check out a routing plan.
Example: Checking Out a Routing Plan
This example demonstrates how you can check out a routing plan using the following POST URI with the request body. You must specify the checkout note in the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/RoutingPlans('OR:wt.mpm.routing.WCRoutingPlan:275751')/PTC.MfgProcMgmt.CheckOut
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"CheckOutNote": "Checked out"
}
Example: Checking In a Routing Plan
This example demonstrates how you can check in a routing plan using the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/RoutingPlans('OR:wt.mpm.routing.WCRoutingPlan:275749')/PTC.MfgProcMgmt.CheckIn
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"KeepCheckedOut": "false",
"CheckInNote": "check in",
"CheckOutNote": ""
}