POST api/tasks/dependency/{TaskId}/{DepId}?Type={Type}&Lag={Lag}&LagUnit={LagUnit}
Create or Update a Dependency
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | globally unique identifier |
Required |
|
| DepId |
From Task Id |
globally unique identifier |
Required |
| Type |
Type of Lag |
DependencyType |
Required |
| Lag |
Lag Duration |
integer |
Required |
| LagUnit |
Lag Units |
string |
Default value is days |
Body Parameters
None.
Response Information
Resource Description
WorkPlanDep| Name | Description | Type | Additional information |
|---|---|---|---|
| $PhantomId | string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
|
| From | globally unique identifier |
None. |
|
| To | globally unique identifier |
None. |
|
| Type | integer |
None. |
|
| Lag | integer |
None. |
|
| LagUnit | string |
None. |
|
| Bidirectional | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"$PhantomId": "sample string 1",
"WorkPlanId": "855be617-d477-461f-8d01-e1e308c645c3",
"id": "b9f0e2c1-1263-4f94-a485-698d8ecf2ec9",
"ConfigId": "2d530d8b-6d3b-4df2-872b-6a995e8014b5"
}