---
title: "getProjectData"
slug: "api/project/operations/getprojectdata"
sidebar:
  order: 595
---

<a id="ref-9f2a3c368cc2"></a>
<a id="ref-d3db0a60a593"></a>
<a id="ref-c23436fdf046"></a>

## Synopsis

```text
ProjectData getProjectData(
    string sessionId,
    TextFormat textFormat
)
```

See also: [`ProjectData`](/pCon/configuratorOnline/specs/api/project/types/projectdata#ref-e233d08a73a1), [`TextFormat`](/pCon/configuratorOnline/specs/api/project/types/textformat#ref-c7a8beb6b77f)

If the argument is present, and has a value other than `None`, the returned instance of [ProjectData](/pCon/configuratorOnline/specs/api/project/types/projectdata#ref-e233d08a73a1) contains a possibly empty element projectTexts, containing all project texts converted to the specified format.

Allow use of operation [setProjectData](/pCon/configuratorOnline/specs/api/project/operations/setprojectdata#ref-25ff6e92a622) of project service to set all project texts.

If the instance of [ProjectData](/pCon/configuratorOnline/specs/api/project/types/projectdata#ref-e233d08a73a1) contains the element `projectTexts`, then all current project texts are removed and the specified project texts are set in order of appearance.

The operation is atomic. If one of the new project texts uses an unsupported format (None and HTML) or does not conform to its supposed format, the operation has no effect on the project.
