Planning
The Planning entity set provides endpoints for managing project schedules, work packages, milestones, and their publications. Planning elements form a hierarchical task breakdown structure within a project.
Planning
A planning element represents a single task, milestone, or grouping within a project schedule. Elements can be nested to form a work breakdown structure (WBS).
Properties
| Property | Type | Description |
|---|---|---|
PlanningId | Guid | Primary key. Unique identifier for the planning element. |
ProjectId | Guid? | Foreign key to the associated project. |
DisplayName | string | Display name of the planning element. |
ParentPlanningId | Guid? | Foreign key to the parent element. Null for top-level elements. |
PlanningTypeId | int? | Type discriminator for the planning element. |
PositionNumber | string | Hierarchical position number (e.g., 1.2.3). |
CustomColor | string | Hex color code for Gantt chart rendering. |
Progress | double? | Completion percentage (0.0 – 1.0). |
StartDateTime | DateTimeOffset? | Scheduled start date and time. |
EndDateTime | DateTimeOffset? | Scheduled end date and time. |
DurationTicks | long? | Duration in ticks (100-nanosecond intervals). |
IsMilestone | bool | Whether the element is a milestone (zero duration). |
IsGrouping | bool | Whether the element is a summary group. |
IsProjectGrouping | bool | Whether the element is the top-level project summary. |
IsCollapsed | bool | Whether child elements are collapsed in the UI. |
DescriptionHTML | string | HTML-formatted description. |
PSPCode | string | Work breakdown structure (WBS) code. |
Location | string | Location associated with the planning element. |
CalendarId | Guid? | Foreign key to the calendar used for scheduling. |
ConstraintType | int? | Scheduling constraint type (e.g., As Soon As Possible, Must Start On). |
ConstraintDate | DateTimeOffset? | Date for the scheduling constraint. |
WorkAmountSum | double? | Total work amount across all assigned resources. |
Endpoints
List Planning Elements
/odata/PlanningReturns all planning elements. Supports OData query options.
GET /odata/Planning?$filter=ProjectId eq {projectId}&$orderby=PositionNumber
Create Planning Element
/odata/PlanningCreates a new planning element.
{
"ProjectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"DisplayName": "Design Phase",
"StartDateTime": "2024-03-01T08:00:00Z",
"EndDateTime": "2024-03-15T17:00:00Z",
"IsMilestone": false,
"IsGrouping": false
}
Get Planning Element
/odata/Planning({key})Returns a single planning element by its ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Update Planning Element
/odata/Planning({key})Partially updates an existing planning element.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Delete Planning Element
/odata/Planning({key})Deletes a planning element.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Count Planning Elements
/odata/Planning/$countReturns the total number of planning elements.
Actions
Add Document to Planning
/odata/Planning({key})/AddDocumentToPlanningLinks a document to the planning element.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Remove Document from Planning
/odata/Planning({key})/RemoveDocumentFromPlanningRemoves a document link from the planning element.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Add Relation
/odata/Planning({key})/AddRelationCreates a relation between the planning element and another entity.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Remove Relation
/odata/Planning({key})/RemoveRelationRemoves a relation from the planning element.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Convert Backward Scheduling
/odata/Planning({key})/ConvertBackwardSchedulingConverts the planning element from backward scheduling to forward scheduling.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
Backward scheduling calculates start dates from a fixed end date. This action converts the element to forward scheduling, preserving the computed dates.
Notification Followers
Manage contacts who receive notifications when a planning element changes.
/odata/Planning({key})/AddNotificationFollowersAdds one or more contacts as notification followers.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
/odata/Planning({key})/RemoveNotificationFollowerRemoves a contact from the notification followers list.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
/odata/Planning({key})/GetNotificationFollowerContacts()Returns all contacts following the planning element for notifications.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningId. |
PlanningPublication
Planning publications represent snapshots of a project schedule shared with stakeholders. Publications capture the state of the plan at a point in time.
Properties
| Property | Type | Description |
|---|---|---|
PlanningPublicationId | guid | Unique identifier of the publication. |
SourcePlanningId | guid | Source planning element. |
SourceProjectId | guid | Source project. |
SourceProjectName | string? | Name of the source project (read-only). |
SourceProjectNumber | string? | Number of the source project (read-only). |
SourceProjectImageId | guid? | Image ID of the source project (read-only). |
DisplayName | string? | Display name of the publication. |
TargetProjectId | guid | Target project. |
TargetProjectNumber | string? | Number of the target project (read-only). |
TargetProjectName | string? | Name of the target project (read-only). |
TargetProjectImageId | guid? | Image ID of the target project (read-only). |
Endpoints
/odata/PlanningPublicationReturns all planning publications.
/odata/PlanningPublicationCreates a new planning publication (snapshot).
/odata/PlanningPublication({key})Returns a single publication by its ID.
/odata/PlanningPublication({key})Deletes a planning publication.
/odata/PlanningPublication/$countReturns the total number of planning publications.
Planning publications are immutable snapshots. Use PATCH on the original planning elements to update the schedule, then create a new publication.
PlanningTemplate
Planning templates store reusable project schedule structures. Templates can be exported, imported, and applied to projects.
Properties
| Property | Type | Description |
|---|---|---|
PlanningTemplateId | guid | Unique identifier of the template. |
Name | string | Name of the template. |
Endpoints
/odata/PlanningTemplateReturns all planning templates.
/odata/PlanningTemplateCreates a new planning template.
/odata/PlanningTemplate({key})Returns a single planning template by its ID.
/odata/PlanningTemplate({key})Updates an existing planning template.
/odata/PlanningTemplate({key})Deletes a planning template.
/odata/PlanningTemplate/$countReturns the total number of planning templates.
Actions
Save Template for Project
/odata/PlanningTemplate/SaveTemplateForProjectSaves the current project schedule as a reusable template.
Load Template for Project
/odata/PlanningTemplate({key})/LoadTemplateForProjectApplies a planning template to a project, creating the defined schedule structure.
The import settings (ApiPlanningTemplateImportSettings) include:
| Property | Type | Description |
|---|---|---|
CalculationMode | string? | Calculation mode for scheduling (e.g., automatic or manual). |
StartDateForManualCalculation | datetime? | Start date when using manual calculation mode. |
LoadResourceData | boolean | Whether to import resource assignments from the template. |
LoadCompletionData | boolean | Whether to import completion/progress data from the template. |
Loading a template into a project may overwrite existing planning elements. Verify the target project's schedule before applying.
Download Template
/odata/PlanningTemplate({key})/DownloadTemplate()Downloads the template as an InLoox template file.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningTemplate ID. |
Download Planning Template
/odata/PlanningTemplate({key})/DownloadPlanningTemplate()Downloads the planning template in InLoox planning format.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningTemplate ID. |
Download MS Project XML
/odata/PlanningTemplate({key})/DownloadMSProjectXML()Exports the planning template as Microsoft Project XML.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | Guid | ✅ | The PlanningTemplate ID. |
The MS Project XML export enables interoperability with Microsoft Project and other tools that support the .xml project format.