Collapse the table of content
Expand the table of content
Expand Minimize

EntityType: ProjectWorkflowStageData (ProjectData service)

Office 2013

Last modified: March 09, 2015

In this article
Definition
Parent element
Child elements

Contains the properties that define the reporting data for project workflow stage data in the ProjectData service.

The following REST query uses the ProjectWorkflowStageDataSet entity set and the ProjectId key to get the workflow stage data for the specified project. The query is all on one line.

https://<pwa_url>/_api/ProjectData/ProjectWorkflowStageDataSet
    ?$filter=ProjectId eq guid'5263ee3e-66e6-e111-9fc9-00155d35d32e'

<EntityType Name="ProjectWorkflowStageData">
  <Key>
    <PropertyRef Name="ProjectId" />
    <PropertyRef Name="StageId" />
  </Key>
  <Property Name="ProjectId" Type="Edm.Guid" Nullable="false" />
  . . .
  <NavigationProperty Name="Project" Relationship="ReportingData.Project_StagesInfo_ProjectWorkflowStageData_Project" ToRole="Project_StagesInfo" FromRole="ProjectWorkflowStageData_Project" />
</EntityType>

Element

Description

ReportingData

The schema for the reporting data in the ProjectData service.

Child elements are properties of project workflow stage data and navigation properties of that stage data. Attributes of the Property elements specify the property name and type, and whether the property can be a null value. The NavigationProperty element specifies project entities that are associated with project workflow stage data. A navigation property uses an Association element in a query for a related entity collection

The Key elements specify the properties that are the primary keys for a query for project workflow stage data. ProjectId is the project GUID and StageId is the workflow stage GUID.

Property elements

The following table lists the Property elements for the ProjectWorkflowStageData entity. The Name, Type, and Nullable columns contain attribute values for each property.

Attribute values for the Property elements of ProjectWorkflowStageData

Name

Type

Nullable

Description

LastModifiedDate

Edm.DateTime

true

The date and time that a workflow stage data was last updated.

LCID

Edm.Int32

false

The locale identifier.

PhaseDescription

Edm.String

true

The description for a workflow phase.

PhaseName

Edm.String

true

The name of a workflow phase.

ProjectId

Edm.Guid

false

Key
The GUID that identifies a project for workflow stage data.

ProjectName

Edm.String

true

The name of the project.

StageCompletionDate

Edm.DateTime

true

The completion date and time of a workflow stage.

StageDescription

Edm.String

true

The description of a workflow stage.

StageEntryDate

Edm.DateTime

true

The date and time that a workflow stage begins.

StageId

Edm.Guid

false

Key
The GUID of a workflow stage.

StageInformation

Edm.String

true

Information for a workflow stage.

StageName

Edm.String

true

The name of a workflow stage.

StageOrder

Edm.Int32

false

The order of a stage in a workflow.

StageStateDescription

Edm.String

true

The description of the state of a workflow stage.

StageStatus

Edm.Int32

false

The status of a workflow stage.

NavigationProperty elements

The following table lists attribute values for the NavigationProperty element of the ProjectWorkflowStageData entity. The Name and Relationship columns contain attribute values.

The Relationship attribute has two pairs of names; each pair of names indicates a navigation direction. The first pair starts with the entity type that has the primary, or starting, role in the navigation. The second pair starts with the entity type that has the secondary, or dependent, role in the navigation. For the Project navigation property, the primary type is Project, and the secondary type is ProjectWorkflowStageData. For this type of navigation, the FromRole is Project_StagesInfo, and the ToRole is ProjectWorkflowStageData_Project.

Attribute values for the NavigationProperty elements

Name

Relationship

Description

Project

Project_StagesInfo_ProjectWorkflowStageData_Project

Establishes navigation from a project to a collection of project workflow stage information and from a collection of project workflow stage data to a project.

Show:
© 2015 Microsoft