Update a task dependency

patch

/fscmRestApi/resources/11.13.18.05/projects/{ProjectId}/child/TaskDependencies/{DependencyId}

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 : projects-TaskDependencies-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a project task dependency 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/projects/300100072576989/child/TaskDependencies/300100125161048

Example of Request Body

The following example shows the request body to update the lag and dependency type of the project task dependency with dependency ID 300100125161048 that belongs to the project with project ID 300100072576989.

{
    "Lag": 3,
    "DependencyType": "ff"
}

Example of Response Body

The following example shows the contents of the response body in JSON format, including the updated billable property and task description.

 {
    "DependencyId": 300100125161048,
    "ProjectId": 300100125163003,
    "PredecessorTaskName": "Task 2",
    "ExternalPredecessorTaskId": "1.02",
    "PredecessorTaskNumber": "1.02",
    "PredecessorTaskId": 300100125163014,
    "TaskName": "Task 1",
    "ExternalTaskId": "1.01",
    "TaskNumber": "1.01",
    "TaskId": 300100125163011,
    "Lag": 3,
    "DependencyType": "ff"
}
Back to Top