POST api/tasks/dependency/{TaskId}/{DepId}?Type={Type}&Lag={Lag}&LagUnit={LagUnit}

Create or Update a Dependency

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "1f879e8c-8ea2-49a9-9869-a9a09286eb8c",
  "id": "dac6b1c2-24a3-4184-8e3e-efd51fdbf112",
  "ConfigId": "0e6f529d-534c-467d-97ed-747da1f61f85"
}