EntityType: AssignmentBaseline (ProjectData service)
In this article
Definition
Parent element
Child elements
Contains the properties that define the reporting data for an assignment baseline in the ProjectData service.
Example
The following REST query uses the AssignmentBaselines entity set with the AssignmentId, BaselineNumber, and ProjectId keys to get the specified baseline. The query is all on one line.
http://<pwa_url>/_api/ProjectData/AssignmentBaselines
?$filter=AssignmentId eq guid'a85aaf31-c2f2-e111-9b73-001aa0d20198'
and BaselineNumber eq 2
and ProjectId eq guid'd8ef483f-c2f2-e111-9b73-001aa0d20198'
Definition
<EntityType Name="AssignmentBaseline">
<Key>
<PropertyRef Name="ProjectId" />
<PropertyRef Name="AssignmentId" />
<PropertyRef Name="BaselineNumber" />
</Key>
<Property Name="ProjectId" Type="Edm.Guid" Nullable="false" />
. . .
<NavigationProperty Name="Assignment" Relationship="ReportingData.AssignmentBaseline_Assignment_Assignment_Baseline" ToRole="Assignment_Baseline" FromRole="AssignmentBaseline_Assignment" />
. . .
</EntityType>
Parent element
Element |
Description |
---|---|
The schema for the reporting data in the ProjectData service. |
Child elements
Child elements are properties of an assignment baseline and navigation properties of that assignment baseline. 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 tasks and projects, that are associated with an assignment baseline. 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 key for an assignment baseline query. ProjectId is the project GUID, AssignmentId is the GUID of the assignment, and BaselineNumber is the identifying number of the assignment baseline.
Property elements
The following table lists the values of the Property elements for the AssignmentBaseline entity. The Name, Type, and Nullable columns contain attribute values for each property.
Attribute values for the Property elements of AssignmentBaseline
Name |
Type |
Nullable |
Description |
---|---|---|---|
AssignmentBaselineBudgetCost |
Edm.Decimal |
false |
The cost of the originally planned budget for the assignment. |
AssignmentBaselineBudgetMaterialWork |
Edm.Decimal |
false |
The original, estimated, and budgeted number of units of the supplies or other consumable items that are used to complete an assignment. |
AssignmentBaselineBudgetWork |
Edm.Decimal |
false |
The amount of work scheduled in the planned budget for the assignment. |
AssignmentBaselineCost |
Edm.Decimal |
false |
The planned total cost for an assignment. |
AssignmentBaselineFinishDate |
Edm.DateTime |
true |
The planned finish date of the assignment. |
AssignmentBaselineMaterialWork |
Edm.Decimal |
false |
The number of units of supplies or other consumable items that are planned to be used to complete an assignment. |
AssignmentBaselineStartDate |
Edm.DateTime |
true |
The planned start date of the assignment. |
AssignmentBaselineWork |
Edm. Decimal |
false |
The planned amount of work for the assignment. |
AssignmentId |
Edm.Guid |
false |
Key |
AssignmentType |
Edm.Int32 |
false |
An enumerated value that represents the type of assignment. |
BaselineNumber |
Edm.Int32 |
false |
Key |
ProjectId |
Edm.Guid |
false |
Key |
ProjectName |
Edm.String |
true |
The name of the project. |
TaskId |
Edm.Guid |
false |
The GUID that identifies the task. |
TaskName |
Edm.String |
true |
The name of the task. |
NavigationProperty elements
The following table lists attribute values for the NavigationProperty elements of the AssignmentBaseline entity. The Name and Relationship columns contain attribute values for each navigation property.
Each 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 example, for the Assignment navigation property, the primary type is AssignmentBaseline, and the secondary type is Assignment. For this type of navigation, the FromRole is AssignmentBaseline_Assignment, and the ToRole is Assignment_Baseline.
Attribute values for the NavigationProperty elements
Name |
Relationship |
Description |
---|---|---|
Assignment |
Establishes navigation from a collection of assignment baselines to an assignment and from an assignment to a collection of baselines. |
|
AssignmentBaselineTimephasedDataSet |
AssignmentBaseline_AssignmentBaselineTimephasedDataSet_AssignmentBaselineTimephasedData_Baseline |
Establishes navigation from an assignment baseline to a collection of assignment baseline timephased data and from an assignment baseline timephased data entity to a baseline. |
Project |
Establishes navigation from a project to a collection of assignment baselines and from an assignment baseline to a project. |
|
Task |
Establishes navigation from a collection of assignment baselines to a task and from a task to a collection of assignment baselines. |