Reassigning Work Items to Another User
This example shows you how to reassign work items to another user. Use the following POST request.
URI
POST /Windchill/servlet/odata/Workflow/ReassignWorkItems HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body for Default Activity
{
"WorkItems": [
{"ID": "OR:wt.workflow.work.WorkItem:293767"},
{"ID": "OR:wt.workflow.work.WorkItem:293775"}
],
"User": {"ID":"OR:wt.org.WTGroupr:292710"},
"Comment": "some reassign comment demo",
"RestrictReassignToRole " : false
}