/api/documents

Create Document

Creates a new document from the provided data, associating it within the requester's scope.

Module: Documents

Returns: Documents → Documents → DocumentRead (single)

Authorization

Required Token Scopes: Platform (0)

Allowed Party Types (Account Role): Admin (1), Property Management Company (2)

Required Permissions: Create (0)

This will be evaluated against your used access token.
Body Params
string
required
length between 1 and 255

Title of the document.

string | null

Optional description providing additional information about the document.

int32 | null

Identifier of the document group used for categorization. Documents can also be placed at root-level, when leaving this field null.

date-time | null

Business-related date of the document (e.g. issue date or effective date).

int32 | null

Identifier of the property this document is assigned to. At least one of PropertyId, UnitId, ContractId or PartyId must be provided.

int32 | null

Identifier of the unit this document is assigned to. At least one of PropertyId, UnitId, ContractId or PartyId must be provided.

int32 | null

Identifier of the contract this document is assigned to. At least one of PropertyId, UnitId, ContractId or PartyId must be provided.

int32 | null

Identifier of the party this document is assigned to. This doesn't imply immediate access to the document for this party. At least one of PropertyId, UnitId, ContractId or PartyId must be provided.

int32
required

Identifier of the file entity containing the document content.

string | null

Optional identifier linking the document to an external system.

Headers
string

Language preference header. Allowed languages: German (en-DE).

string
Defaults to 2.0

API version to use (1 or 2) either with trailing .0 or without. Defaults to 2.0, if omitted. Can be prefilled based on the currently selected API Definition (Swagger UI).

Responses

401

Error: Unauthorized

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json