Assigns or unassigns a user to an operation resource in a maintenance work orders using a user-defined action.
post
/fscmRestApi/resources/11.13.18.05/maintenanceWorkOrders/action/manageResourceAssignment
Creates work order operation resources assignments. A work order may have one or more operations. For each operation, none, one or more resources may be defined. For each unique resource, one or more users may be optionally assigned. To be assigned to an operation resource, a user must have a labor instance defined for the same resource. Once assigned, a user can search for work orders and operations where they are assigned.
A user can be unassigned from an operation resource as long as resource transactions for their assignment have not be reported.
A user can be assigned or unassigned to a single operation or all operations in a work order.
Request
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): string
If the action completes successfully, then a labor instance is assigned or unassigned to an operation resource.