Retrieving the List of Valid Users to Reassign Work Items
This example shows you how to retrieve a list of users to whom the specified work items can be reassigned. Use the following GET request.
URI
GET /Windchill/servlet/odata/Workflow/GetWorkItemReassignUserList(WorkItems=@wi)?@wi=["OR:wt.workflow.work.WorkItem:232279","OR:wt.workflow.work.WorkItem:232290","OR:wt.workflow.work.WorkItem:232297"] HTTP/1.1
@wi represents an alias, which can be replaced with any other name.
URI
In this example the parameter RestrictReassignToRole is set to true. When set to true this request will retrieve only users who are associated with the role or resource pool specified in the task.
GET /Windchill/servlet/odata/Workflow/GetWorkItemReassignUserList(WorkItems=@wi,RestrictReassignToRole=true)?@wi=["OR:wt.workflow.work.WorkItem:293767","OR:wt.workflow.work.WorkItem:293775"] HTTP/1.1
@wi represents an alias, which can be replaced with any other name.