Поделиться через


EntityType: AssignmentBaselineTimephasedData (ProjectData service)

In this article
Definition
Parent element
Child elements

Contains the properties that define the reporting data for assignment baseline timephased data in the ProjectData service.

Example

The following REST query uses the AssignmentBaselineTimephasedDataSet entity set with the AssignmentId and ProjectId keys to get the specified assignment baseline timephased dataset. The query is all on one line.

http://<pwa_url>/_api/ProjectData/AssignmentBaselineTimephasedDataSet
    ?$filter=AssignmentId eq guid'7ffecbe8-ada6-e111-9f30-78e7d101788a'
    and ProjectId eq guid'76fecbe8-ada6-e111-9f30-78e7d101788a'

Definition

<EntityType Name="AssignmentBaselineTimephasedData">
  <Key>
    <PropertyRef Name="ProjectId" />
    <PropertyRef Name="AssignmentId" />
    <PropertyRef Name="TimeByDay" />
    <PropertyRef Name="BaselineNumber" />
  </Key>
  <Property Name="ProjectId" Type="Edm.Guid" Nullable="false" />
  . . .
  <NavigationProperty Name="Assignment" Relationship="ReportingData.AssignmentBaselineTimephasedData_Assignment" ToRole="Assignment" FromRole="AssignmentBaselineTimephasedData" />
  . . .
</EntityType>

Parent element

Element

Description

ReportingData

The schema for the reporting data in the ProjectData service.

Child elements

Child elements are properties of assignment baseline timephased data and navigation properties of that assignment baseline timephased data. Attributes of the Property elements specify the property name and type, and whether the property can be a null value. The NavigationProperty elements specify collections of entities, such as baselines and projects, that are associated with timephased data for an assignment. A navigation property uses an Association element in a query for a related entity or collection

The Key elements specify the properties that are the primary keys for a query for assignment baseline timephased data. ProjectId is the project GUID, AssignmentId is the GUID of the assignment, TimeByDay is a day in the timeline, and BaselineNumber is the number of the assignment baseline.

Property elements

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

Attribute Values for the Property elements of AssignmentBaselineTimephasedData

Name

Type

Nullable

Description

AssignmentBaselineBudgetCost

Edm.Decimal

false

The planned cost of an assignment.

AssignmentBaselineBudgetMaterialWork

Edm.Decimal

false

The planned number of units of the supplies or other consumable items that are to be used to complete an assignment.

AssignmentBaselineBudgetWork

Edm.Decimal

false

The planned total amount of time that is needed to complete an assignment.

AssignmentBaselineCost

Edm.Decimal

false

The planned cost of the assignment.

AssignmentBaselineCumulativeCost

Edm.Decimal

false

The original estimated cumulative timephased baseline costs of an assignment up to the status date or today's date.

AssignmentBaselineCumulativeWork

Edm.Decimal

false

The original estimated cumulative timephased baseline work on an assignment up to the status date or today's date.

AssignmentBaselineMaterialWork

Edm.Decimal

false

The planned number of units of supplies or other consumable items that are to be used to complete an assignment.

AssignmentBaselineRemainingCumulativeWork

Edm.Decimal

false

The current remaining amount of timephased baseline work on an assignment up to the status date or today's date.

AssignmentBaselineWork

Edm.Decimal

false

The total planned person-hours scheduled for an assignment.

AssignmentId

Edm.Guid

false

Key
The GUID of the assignment.

BaselineNumber

Edm.Int32

False

Key
An integer number that identifies a baseline in a project.

ProjectId

Edm.Guid

false

Key
The GUID of the project that is associated with the assignment baseline timephased data.

ProjectName

Edm.String

true

The name of the project that is associated with the assignment baseline timephased data.

ResourceId

Edm.Guid

false

The GUID of the resource.

TaskId

Edm.Guid

false

The GUID of the task that is associated with the assignment baseline timephased data.

TaskName

Edm.String

true

The name of the task.

TimeByDay

Edm.DateTime

false

Key
A primary key that identifies a day along a timeline. The granularity is in days only.

The following table lists attribute values for the NavigationProperty elements of the AssignmentBaselineTimephasedData entity. The Name and Relationship columns contain attribute values for each navigation property.

There are two types of Relationship attributes. One type contains 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 example, for the Tasks navigation property, the primary type is AssignmentBaselineTimephasedData, and the secondary type is Task. For this type of navigation, the FromRole is AssignmentBaselineTimephasedData_Tasks, and the ToRole is Task_AssignmentsBaselineTimephasedData.

The other type of Relationship attribute contains a single pair of names. The first name in the pair is the primary entity type in the navigation. The second name in the pair is the secondary entity type in the navigation. For example, in the Assignment navigation property relationship, AssignmentBaselineTimephasedData is the primary entity type and Assignment is the secondary entity type.

Attribute values for the NavigationProperty elements

Name

Relationship

Description

Assignment

AssignmentBaselineTimephasedData_Assignment

Establishes navigation from a collection of assignment baselines to an assignment.

Baseline

AssignmentBaseline_AssignmentBaselineTimephasedDataSet_AssignmentBaselineTimephasedData_Baseline

Establishes navigation from an assignment baseline to an assignment baseline timephased dataset and from a collection of assignment baseline timephased data to a baseline.

Project

AssignmentBaselineTimephasedData_Project

Establishes navigation from a collection of assignment baseline timephased data to a project.

Tasks

AssignmentBaselineTimephasedData_Tasks_Task_AssignmentsBaselineTimephasedData

Establishes navigation from a collection of assignment baseline timephased data to a task and from a task to a collection of assignment baseline timephased data.

See also

Reference

AssignmentBaselineTimephasedDataSet

ReportingData

Concepts

Querying OData feeds for Project 2013 reporting data