Update a nominated resource on a project resource request
patch
/fscmRestApi/resources/11.13.18.05/projectPlanResourceRequests/{ResourceRequestId}/child/ProjectPlanResourceRequestLines/{RequestLineId}
Request
Path Parameters
-
RequestLineId(required): integer(int64)
Unique identifier of the request line under the project resource request.
-
ResourceRequestId(required): integer(int64)
Identifier of the project resource 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/json
Root Schema : schema
Type:
Show Source
object-
AssignmentFinishDate: string
(date)
Title:
Assignment Finish DateAssignment finish date for the resource. -
AssignmentStartDate: string
(date)
Title:
Assignment Start DateAssignment start date for the resource. -
ProjectRole: string
Title:
Project RoleResource role for the project assignment. -
RejectionReason: string
Maximum Length:
80Reason the nominated resource is rejected for the project resource assignment. -
RejectionReasonCode: string
Title:
Rejection Reason CodeMaximum Length:30Code to indicate the reason the nominated resource is rejected for the project resource assigment. -
ResourceStatus: string
Title:
Resource Staffing StatusMaximum Length:80Status of the resource associated to the project resource request. -
ResourceStatusCode: string
Title:
Resource Status CodeMaximum Length:20Default Value:NEW_LINEStatus code for the resource associated to the project resource request.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : projectPlanResourceRequests-ProjectPlanResourceRequestLines-item-response
Type:
Show Source
object-
AssignedHours: number
Title:
Assigned HoursRead Only:trueAssigned hours per day when the specify hours per day is selected for use project calendar flag. -
AssignmentFinishDate: string
(date)
Title:
Assignment Finish DateAssignment finish date for the resource. -
AssignmentId: integer
Title:
Assignment IDIdentifier of the assignment created for the resource, if an assignment is created for the resource on the request line. -
AssignmentStartDate: string
(date)
Title:
Assignment Start DateAssignment start date for the resource. -
AssignmentStatus: string
Title:
Resource Staffing StatusRead Only:trueMaximum Length:80Status of the assignment created for the resource to fulfill the request. -
AssignmentStatusCode: string
Title:
Assignment Status CodeMaximum Length:30Code of the assignment created for the resource to fulfill the request. -
CurrentFlag: boolean
Title:
Current IndicatorRead Only:trueMaximum Length:1Indicates whether the project resource request is the most recent request for the assignment. Valid values are Y and N. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProjectRole: string
Title:
Project RoleResource role for the project assignment. -
RejectionReason: string
Maximum Length:
80Reason the nominated resource is rejected for the project resource assignment. -
RejectionReasonCode: string
Title:
Rejection Reason CodeMaximum Length:30Code to indicate the reason the nominated resource is rejected for the project resource assigment. -
RequestLineId: integer
(int64)
Title:
Request Line IDUnique identifier of the request line under the project resource request. -
ReservationExpirationDate: string
(date)
Title:
Reservation Expiration DateRead Only:trueReservation expiration date for the resource if the assignment status is reserved. -
ReservationReason: string
Title:
Reservation ReasonRead Only:trueReservation reason for the resource if the assignment status is reserved. -
ResourceEmail: string
Title:
Resource EmailMaximum Length:240Name of the project enterprise resource associated to the project resource request. -
ResourceFulfilledDate: string
(date)
Title:
Request Fulfilled DateThe date the resource on the request line is approved to fulfill the project resource request. -
ResourceId: integer
(int64)
Title:
Resource IDIdentifier of the project enterprise resource associated to the project resource request. -
ResourceName: string
Title:
Resource NameRead Only:trueMaximum Length:240Email of the project enterprise resource associated to the project resource request. -
ResourcePersonId: integer
(int64)
Title:
Resource HCM Person IDRead Only:trueHCM person identifier of the project enterprise resource associated to the project resource request. -
ResourceProposedDate: string
(date)
Title:
Resource Proposed DateThe date when the resource is proposed or nominated to fulfill the project resource request. -
ResourceStatus: string
Title:
Resource Staffing StatusMaximum Length:80Status of the resource associated to the project resource request. -
ResourceStatusCode: string
Title:
Resource Status CodeMaximum Length:20Default Value:NEW_LINEStatus code for the resource associated to the project resource request. -
ResourceSystemStatus: string
Title:
Resource System StatusRead Only:trueResource system status based on the seeded values. -
UseProjectCalendarFlag: boolean
Title:
Use Project Calendar IndicatorRead Only:trueIndicates whether to use project calendar hours or specific hours per day.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
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
}