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
WorkPlanDepName | 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": "802b1e17-b288-46fa-9450-8188a2c50158", "id": "0ad28844-bd36-4bbb-8a52-e3c5aa49e060", "ConfigId": "e418c62a-7930-454c-b5b9-3975fd512920" }