Edit

dependency resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

An edge that expresses a dependency constraint between two items (for example, two tasks) in a plan. All four endpoint properties (sourceItemType, sourceItemId, targetItemType, targetItemId) are returned by default because they are the entity's intrinsic content.

Inherits from plannerDelta.

Methods

Method Return type Description
List dependency collection Get a list of the dependency objects and their properties.
Create dependency Create a new dependency object.
Get dependency Read the properties and relationships of dependency object.
Update dependency Update the properties of a dependency object.
Delete None Delete a dependency object.

Properties

Property Type Description
archivalInfo plannerArchivalInfo Information about whether the entity is archived, and when it was archived.
constraint dependencyType The kind of dependency constraint between the source and target items. The possible values are: sourceFinishDrivesTargetStart, sourceStartDrivesTargetStart, sourceFinishDrivesTargetFinish, targetStartDrivesSourceFinish, unknownFutureValue.
creationInfo creationInfo Read-only creation metadata for the entity.
extensions extensionFieldCollection Custom extension field values set on the entity. Supports $select.
id String The unique identifier of the entity. Read-only. Inherited from entity
lastModifiedBy identitySet Identity of the user (or application) who last modified the entity. Read-only.
lastModifiedDateTime DateTimeOffset Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only.
sourceItemId String ID of the source item in the dependency.
targetItemId String ID of the target item in the dependency.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.dependency",
  "id": "String (identifier)",
  "sourceItemId": "String",
  "targetItemId": "String",
  "constraint": "String",
  "creationInfo": {
    "@odata.type": "microsoft.graph.creationInfo"
  },
  "archivalInfo": {
    "@odata.type": "microsoft.graph.plannerArchivalInfo"
  },
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "extensions": {
    "@odata.type": "microsoft.graph.extensionFieldCollection"
  }
}