Update a labor resource assignment for a task

patch

/fscmRestApi/resources/11.13.18.05/projectPlans/{ProjectId}/child/TaskLaborResourceAssignments/{TaskLaborResourceAssignmentId}

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
  • Title: Actual Labor Resource Bill Amount
    The actual bill amount for the labor resource associated with the task.
  • Title: Actual Labor Resource Cost Amount
    The actual cost amount for the labor resource associated with the task.
  • Title: Actual Labor Resource Effort in Hours
    Default Value: 0
    Actual effort in hours for the labor resource assigned to the task.
  • Title: Current Labor Resource Bill Amount
    The current bill amount for the labor resource associated with the task.
  • Title: Current Labor Resource Cost Amount
    The current cost amount for the labor resource associated with the task.
  • Title: Current Labor Resource Effort in Hours
    Estimated effort in hours on the task at completion for the labor resource.
  • Title: Effective Bill Rate
    Indicates the rate derived from the rate schedule for calculating the bill amount.
  • Title: Effective Cost Rate
    Indicates the rate derived from the rate schedule for calculating the burdened cost.
  • Title: Integration Source
    Indicates the task was created in a third-party application.
  • Title: Labor Resource ID
    Unique identifier of the labor resource assigned to the project task. You must enter either the Labor Resource ID or the Labor Resource Email when using POST or PATCH, but not both.
  • Title: Labor Resource Percent Complete
    Default Value: 0
    Indicates the percentage of work completed for the labor resource assigned to the task.
  • Title: Planned Labor Resource Bill Amount
    The planned bill amount for the labor resource associated with the task.
  • Title: Planned Labor Resource Cost Amount
    The planned cost amount for the labor resource associated with the task.
  • Title: Planned Labor Resource Effort in Hours
    Planned effort in hours of the labor resource assigned to the task.
  • Title: Primary Resource
    Indicates whether the resource is the primary labor resource for the project task. The resource is the primary labor resource when the value is True. The value is False when the resource is not the primary labor resource. Default value is False.
  • Title: Labor Resource Progress Status
    Maximum Length: 20
    Indicates the status of the work for the labor resource assigned to the task.
  • Title: Project Resource Assignment ID
    Unique identifier of the assignment of the labor resource in a project.
  • Title: Remaining Labor Resource Bill Amount
    The remaining bill amount for the labor resource associated with the task.
  • Title: Remaining Labor Resource Cost Amount
    The remaining cost amount for the labor resource associated with the task.
  • Title: Remaining Labor Resource Effort in Hours
    Remaining effort in hours for the labor resource assigned to the task.
  • Title: Labor Resource Allocation
    Allocation percentage of the labor resource assigned to the task. Default value is the same as the resource allocation for the project.
  • Title: Labor Resource Email
    Maximum Length: 240
    Email address of the labor resource assigned to the task. You must enter either the Labor Resource ID or the Labor Resource Email when using POST or PATCH, but not both.
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 : projectPlans-TaskLaborResourceAssignments-item-response
Type: object
Show Source
  • Title: Actual Labor Resource Bill Amount
    The actual bill amount for the labor resource associated with the task.
  • Title: Actual Labor Resource Cost Amount
    The actual cost amount for the labor resource associated with the task.
  • Title: Actual Labor Resource Effort in Hours
    Default Value: 0
    Actual effort in hours for the labor resource assigned to the task.
  • Title: Current Labor Resource Bill Amount
    The current bill amount for the labor resource associated with the task.
  • Title: Current Labor Resource Cost Amount
    The current cost amount for the labor resource associated with the task.
  • Title: Current Labor Resource Effort in Hours
    Estimated effort in hours on the task at completion for the labor resource.
  • Title: Effective Bill Rate
    Indicates the rate derived from the rate schedule for calculating the bill amount.
  • Title: Effective Cost Rate
    Indicates the rate derived from the rate schedule for calculating the burdened cost.
  • Title: Integration Source
    Indicates the task was created in a third-party application.
  • Title: Labor Resource ID
    Unique identifier of the labor resource assigned to the project task. You must enter either the Labor Resource ID or the Labor Resource Email when using POST or PATCH, but not both.
  • Links
  • Title: Labor Resource Percent Complete
    Default Value: 0
    Indicates the percentage of work completed for the labor resource assigned to the task.
  • Title: Planned Labor Resource Bill Amount
    The planned bill amount for the labor resource associated with the task.
  • Title: Planned Labor Resource Cost Amount
    The planned cost amount for the labor resource associated with the task.
  • Title: Planned Labor Resource Effort in Hours
    Planned effort in hours of the labor resource assigned to the task.
  • Title: Primary Resource
    Indicates whether the resource is the primary labor resource for the project task. The resource is the primary labor resource when the value is True. The value is False when the resource is not the primary labor resource. Default value is False.
  • Title: Labor Resource Progress Status
    Maximum Length: 20
    Indicates the status of the work for the labor resource assigned to the task.
  • Title: Project Resource Assignment ID
    Unique identifier of the assignment of the labor resource in a project.
  • Title: Remaining Labor Resource Bill Amount
    The remaining bill amount for the labor resource associated with the task.
  • Title: Remaining Labor Resource Cost Amount
    The remaining cost amount for the labor resource associated with the task.
  • Title: Remaining Labor Resource Effort in Hours
    Remaining effort in hours for the labor resource assigned to the task.
  • Title: Labor Resource Allocation
    Allocation percentage of the labor resource assigned to the task. Default value is the same as the resource allocation for the project.
  • Title: Labor Resource Email
    Maximum Length: 240
    Email address of the labor resource assigned to the task. You must enter either the Labor Resource ID or the Labor Resource Email when using POST or PATCH, but not both.
  • Title: Labor Resource Name
    Read Only: true
    Maximum Length: 240
    Name of the labor resource assigned to the project task.
  • Title: Task ID
    Identifier of the task to which the labor resource is assigned. Value is mandatory when using POST.
  • Title: Labor Resource Assignment ID
    Read Only: true
    Unique identifier of the labor resource assignment for the project task. Value is auto-generated when using POST and mandatory when using PATCH.
Back to Top

Examples

The following example shows how to update an expense resource assignment 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/projectPlans/300100124723999/child/TaskLaborResourceAssignments/300100124762026

Request Body Example

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

{

"ResourceEmail" : "prj_george_white_in_grp@oracle.com"
}

Response Body Example

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

{
  "ActualBillAmount" : null,
  "ActualCostAmount" : null,
  "CurrentBillAmount" : null,
  "CurrentCostAmount" : null,
  "LaborResourceId" : 300100023180799,
  "PlannedBillAmount" : null,
  "PlannedCostAmount" : null,
  "PlannedEffortinHours" : null,
  "PrimaryResourceFlag" : false,
  "RemainingBillAmount" : null,
  "RemainingCostAmount" : null,
  "ResourceAllocation" : 100.000000000000000,
  "ResourceName" : "George White",
  "ResourceEmail" : "prj_george_white_in_grp@oracle.com",
  "TaskId" : 300100124764034,
  "TaskLaborResourceAssignmentId" : 300100124762026
}
Back to Top