Update a nominated resource on a project resource request

patch

/fscmRestApi/resources/11.13.18.05/projectPlanResourceRequests/{ResourceRequestId}/child/ProjectPlanResourceRequestLines/{RequestLineId}

Request

Path Parameters
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : projectPlanResourceRequests-ProjectPlanResourceRequestLines-item-response
Type: object
Show Source
  • Title: Assigned Hours
    Read Only: true
    Assigned hours per day when the specify hours per day is selected for use project calendar flag.
  • Title: Assignment Finish Date
    Assignment finish date for the resource.
  • Title: Assignment ID
    Identifier of the assignment created for the resource, if an assignment is created for the resource on the request line.
  • Title: Assignment Start Date
    Assignment start date for the resource.
  • Title: Resource Staffing Status
    Read Only: true
    Maximum Length: 80
    Status of the assignment created for the resource to fulfill the request.
  • Title: Assignment Status Code
    Maximum Length: 30
    Code of the assignment created for the resource to fulfill the request.
  • Title: Current Indicator
    Read Only: true
    Maximum Length: 1
    Indicates whether the project resource request is the most recent request for the assignment. Valid values are Y and N.
  • Links
  • Title: Project Role
    Resource role for the project assignment.
  • Maximum Length: 80
    Reason the nominated resource is rejected for the project resource assignment.
  • Title: Rejection Reason Code
    Maximum Length: 30
    Code to indicate the reason the nominated resource is rejected for the project resource assigment.
  • Title: Request Line ID
    Unique identifier of the request line under the project resource request.
  • Title: Reservation Expiration Date
    Read Only: true
    Reservation expiration date for the resource if the assignment status is reserved.
  • Title: Reservation Reason
    Read Only: true
    Reservation reason for the resource if the assignment status is reserved.
  • Title: Resource Email
    Maximum Length: 240
    Name of the project enterprise resource associated to the project resource request.
  • Title: Request Fulfilled Date
    The date the resource on the request line is approved to fulfill the project resource request.
  • Title: Resource ID
    Identifier of the project enterprise resource associated to the project resource request.
  • Title: Resource Name
    Read Only: true
    Maximum Length: 240
    Email of the project enterprise resource associated to the project resource request.
  • Title: Resource HCM Person ID
    Read Only: true
    HCM person identifier of the project enterprise resource associated to the project resource request.
  • Title: Resource Proposed Date
    The date when the resource is proposed or nominated to fulfill the project resource request.
  • Title: Resource Staffing Status
    Maximum Length: 80
    Status of the resource associated to the project resource request.
  • Title: Resource Status Code
    Maximum Length: 20
    Default Value: NEW_LINE
    Status code for the resource associated to the project resource request.
  • Title: Resource System Status
    Read Only: true
    Resource system status based on the seeded values.
  • Title: Use Project Calendar Indicator
    Read Only: true
    Indicates whether to use project calendar hours or specific hours per day.
Back to Top

Examples

The following example shows how to update a nominated resource on a project resource request by submitting a PATCH request on the REST resource using cURL.

curl --user ppm_cloud_user -X PATCH -d @example_request_payload.json --header "Content-Type: application/json" https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectPlanResourceRequests/{ResourceRequestId}/child/ProjectPlanResourceRequestLines/{RequestLineId}

Request Body Example

The following shows an example of the request body in JSON format.

{
	"ResourceStatusCode": "REQUESTED_CONFIRM"
	}

Response Body Example

The following shows an example of the response body in JSON format.

{
		"RequestLineId": 300100180715440,
		"ResourceId": 300100151966221,
		"ResourceName": "PJR-P1-Resource1",
		"ResourceEmail": "PJR-P1-Resource1@oracle.com",
		"ResourcePersonId": null,
		"ResourceStatusCode": "REQUESTED_CONFIRM",
		"ResourceStatus": "Requested for Confirmed Assignment",
		"AssignmentId": 300100180715441,
		"AssignmentStatusCode": "CONFIRMED",
		"AssignmentStatus": "Confirmed",
		"ResourceProposedDate": "2019-06-19",
		"ResourceFulfilledDate": null,
		"RejectionReasonCode": null,
		"RejectionReason": null
	}
Back to Top