Replace existing resource with a different resource on a project resource assignment.
post
/fscmRestApi/resources/11.13.18.05/projectResourceAssignments/{AssignmentId}/action/replaceResource
Replace existing resource with a different resource on a project resource assignment with this action. The resource assignment must be in confirmed or reserved status to allow this action.
Request
Path Parameters
-
AssignmentId(required): integer
Unique identifier of the project resource assignment.
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
Root Schema : schema
Type:
Show Source
object
-
replacementReason: string
Reason for replacing the resource on the project resource assignment.
-
resourceEmail: string
Email of the resource who will replace the existing resource on the project resource assignment.
-
resourceHCMPersonId: number
Unique identifier of the HCM person who will replace the existing resource on the project resource assignment.
-
resourceId: number
Unique identifier of the resource who will replace the existing resource on the project resource assignment
-
resourceName: string
Name of the resource who will replace the existing resource on the project resource assignment.
-
staffingOwnerEmail: string
Email of the resource who's responsible for replacing the resource on the project resource assignment.
-
staffingOwnerHCMPersonId: number
Unique identifier of the HCM Person who's responsible for replacing the resource on the project resource assignment.
-
staffingOwnerId: number
Unique identifier of the resource who's responsible for replacing the resource on the project resource assignment.
-
staffingOwnerName: string
Name of the resource who's responsible for replacing the resource on the project resource assignment.
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
Returns SUCCESS if the replace resource operation completes successfully and returns FAILURE if the operation isn't successful.