Update a project team member

patch

/fscmRestApi/resources/11.13.18.05/projects/{ProjectId}/child/ProjectTeamMembers/{TeamMemberId}

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: Assignment Type
    Indicates if a request is for a billable or a nonbillable assignment. Examples are BILLABLE, NON-BILLABLE, or leave blank.
  • Title: Assignment Type Code
    Code to indicate if a request is for a billable or a nonbillable assignment. Examples are BILLABLE, NON-BILLABLE, or leave blank.
  • Title: Billable Percent
    Indicates the percentage of assignment time that is billable for an assignment that is defined as billable assignment. For a non-billable assignment, the value is ignored. Valid values are positive integers between 0 and 100.
  • Title: Billable Percent Reason
    Indicates the reason that the billable percentage of the project resource assignment is less than 100%. For a non-billable assignment, the value is ignored.
  • Title: Billable Percent Reason Code
    Code that indicates the reason that the billable percentage of the project resource assignment is less than 100%. For a non-billable assignment, the value is ignored.
  • Title: Team Member End Date
    Date on which the assignment of the project team member to the project is scheduled to end.
  • Title: Resource Allocation Percentage
    Percentage of time for which a resource is assigned to the project. The default value is 100.
  • Title: Resource Assignment Effort in Hours
    Number of hours for which a resource is assigned to the project.
  • Title: Resource Planning Bill Rate
    Bill Rate of the resource assignment for the planning purpose. If no value is specified, Bill Rate of the resource defined in Project Enterprise Resource is used if it is available in the project currency.
  • Title: Resource Planning Cost Rate
    Cost Rate of the resource assignment for the planning purpose. If no value is specified, Cost Rate of the resource defined in Project Enterprise Resource is used if it is available in the project currency.
  • Title: Team Member Start Date
    Date from which the assignment of the team member to the project is scheduled to begin.
  • Title: Track Time
    Maximum Length: 255
    Indicates whether time cards are expected from internal team members. Valid values are true and false. The default value is false. Information about missing time cards is displayed on the project manager dashboard.
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 : projects-ProjectTeamMembers-item-response
Type: object
Show Source
  • Title: Assignment Type
    Indicates if a request is for a billable or a nonbillable assignment. Examples are BILLABLE, NON-BILLABLE, or leave blank.
  • Title: Assignment Type Code
    Code to indicate if a request is for a billable or a nonbillable assignment. Examples are BILLABLE, NON-BILLABLE, or leave blank.
  • Title: Billable Percent
    Indicates the percentage of assignment time that is billable for an assignment that is defined as billable assignment. For a non-billable assignment, the value is ignored. Valid values are positive integers between 0 and 100.
  • Title: Billable Percent Reason
    Indicates the reason that the billable percentage of the project resource assignment is less than 100%. For a non-billable assignment, the value is ignored.
  • Title: Billable Percent Reason Code
    Code that indicates the reason that the billable percentage of the project resource assignment is less than 100%. For a non-billable assignment, the value is ignored.
  • Title: Team Member End Date
    Date on which the assignment of the project team member to the project is scheduled to end.
  • Links
  • Title: Team Member Email
    Maximum Length: 240
    Email of the person assigned as a team member to the project.
  • Title: Person ID
    Unique identifier of the person assigned as a team member to the project.
  • Title: Team Member Name
    Maximum Length: 240
    Name of the person assigned as a team member to the project.
  • Title: Project ID
    Unique identifier of the project.
  • Title: Project Role
    Maximum Length: 240
    A classification of the relationship that an employee has to a project. You use project roles to define an employee's level of access to project information. Examples are Project Manager, Project Accountant, and Technical Lead.
  • Title: Resource Allocation Percentage
    Percentage of time for which a resource is assigned to the project. The default value is 100.
  • Title: Resource Assignment Effort in Hours
    Number of hours for which a resource is assigned to the project.
  • Title: Resource Planning Bill Rate
    Bill Rate of the resource assignment for the planning purpose. If no value is specified, Bill Rate of the resource defined in Project Enterprise Resource is used if it is available in the project currency.
  • Title: Resource Planning Cost Rate
    Cost Rate of the resource assignment for the planning purpose. If no value is specified, Cost Rate of the resource defined in Project Enterprise Resource is used if it is available in the project currency.
  • Title: Team Member Start Date
    Date from which the assignment of the team member to the project is scheduled to begin.
  • Title: Team Member ID
    Read Only: true
    Unique identifier of the team member assigned to the project.
  • Title: Track Time
    Maximum Length: 255
    Indicates whether time cards are expected from internal team members. Valid values are true and false. The default value is false. Information about missing time cards is displayed on the project manager dashboard.
Back to Top

Examples

Example 1

The following example shows how to update a project team member 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.0.0/projects/100010025119098/child/ProjectTeamMembers/300100074907408

Example 1 Request Body

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

{
  "StartDate": "2015-02-02",
  "FinishDate": "2016-02-02"
}

Example 1 Response Body

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

{
  "FinishDate": "2016-02-02"
  "PersonEmail": "prj_wf_notifications_in_grp@oracle.com"
  "PersonId": null
  "PersonName": "Charles Smith"
  "ProjectId": 100010025119098
  "ProjectRole": "Project Team Member"
  "RoleId": null
  "StartDate": "2015-02-02"
  "TeamMemberId": 300100074907408
  -"links": [3]
  -0:  {
    "rel": "self"
    ...
       }
}

Example 2

The following example shows how to update project team members by submitting a BATCH operation using cURL.

curl --user ppm_cloud_user -X  POST -d @sample_batch_prjtm_payload.json --header "Content-Type: application/vnd.oracle.adf.batch+json" https://your_organization.com:port/fscmRestApi/resources/

Example 2 Request Body

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

{
 "parts": [
 {
  "id": "part1",
  "path": "/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319587",
  "operation": "update",
  "payload":
{
"FinishDate":"2020-12-12",
"TrackTimeFlag":true
}
},
 {
  "id": "part2",
  "path": "/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319590",
  "operation": "update",
  "payload":
{
"FinishDate":"2020-12-12",
"TrackTimeFlag":true
}
}
 ]
}

Example 2 Response Body

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

{"parts":[ {
"id" : "part1",
"path" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319587",
"operation" : "update",
"payload" : {
  "FinishDate" : "2020-12-12",
  "PersonEmail" : "prj_connor_horton_in_grp@oracle.com",
  "PersonName" : "Connor Horton",
  "ProjectId" : 300100186320487,
  "ProjectRole" : "Team Member",
  "StartDate" : "2020-08-21",
  "TeamMemberId" : 300100186319587,
  "PersonId" : 29,
  "TrackTimeFlag" : true,
  "ResourcePlanningCostRate" : null,
  "ResourceAllocationPercentage" : null,
  "ResourceAssignmentEffortInHours" : null,
  "ResourcePlanningBillRate" : null,
  "AssignmentType" : null,
  "BillablePercentReason" : null,
  "AssignmentTypeCode" : null,
  "BillablePercentReasonCode" : null,
  "BillablePercent" : null,
  "links" : [ {
    "rel" : "self",
    "href" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319587",
    "name" : "ProjectTeamMembers",
    "kind" : "item"
  }, {
    "rel" : "canonical",
    "href" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319587",
    "name" : "ProjectTeamMembers",
    "kind" : "item"
  }, {
    "rel" : "parent",
    "href" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487",
    "name" : "projects",
    "kind" : "item"
  } ]
}
},
{
"id" : "part2",
"path" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319590",
"operation" : "update",
"payload" : {
  "FinishDate" : "2020-12-12",
  "PersonEmail" : "prj_charles_smith_in_grp@oracle.com",
  "PersonName" : "Charles Smith",
  "ProjectId" : 300100186320487,
  "ProjectRole" : "Team Member",
  "StartDate" : "2020-08-21",
  "TeamMemberId" : 300100186319590,
  "PersonId" : 31,
  "TrackTimeFlag" : true,
  "ResourcePlanningCostRate" : null,
  "ResourceAllocationPercentage" : null,
  "ResourceAssignmentEffortInHours" : null,
  "ResourcePlanningBillRate" : null,
  "AssignmentType" : null,
  "BillablePercentReason" : null,
  "AssignmentTypeCode" : null,
  "BillablePercentReasonCode" : null,
  "BillablePercent" : null,
  "links" : [ {
    "rel" : "self",
    "href" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319590",
    "name" : "ProjectTeamMembers",
    "kind" : "item"
  }, {
    "rel" : "canonical",
    "href" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487/child/ProjectTeamMembers/300100186319590",
    "name" : "ProjectTeamMembers",
    "kind" : "item"
  }, {
    "rel" : "parent",
    "href" : "https://your_organization:port/fscmRestApi/resources/11.13.18.05/projects/300100186320487",
    "name" : "projects",
    "kind" : "item"
  } ]
}
} ]
}
Back to Top