/api/parties

Create Party

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

Module: Identity

Returns: Identity → Parties → PartyRead (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 | null
int32
enum
required

Possible values:

  • 1 = Admin
  • 2 = PropertyManagementCompany
  • 3 = PoolManager
  • 5 = Contractor
  • 7 = User
  • 10 = EnergyProvider
  • 11 = Guest
  • 13 = InsuranceBroker
  • 14 = Insurer
  • 15 = Mediator
string | null

Should be the first name (including additional first names) for natural persons, and empty for legal entities. Either PrimaryName or SecondaryName has to be set.

string | null

Should be the last name for natural persons, and the full name for legal entities. Either PrimaryName or SecondaryName has to be set.

string | null

This can be used, if the party contains more than one natural person / legal entity (in addition to PrimaryName and Secondary). It should contain the full name of the additional person as Max Mustermann.

string | null

Same as TernaryName, just an additional one.

string | null
string | null
string | null
string | null
string | null
string | null
int32 | null
boolean
required

Personal preference set by the party itself whether they want to be contacted via email.

boolean
required

Personal preference set by the party itself whether they want to be contacted via push notifications. Can't be enabled exclusively, as either email or mail must be enabled too.

boolean
required

Personal preference set by the party itself whether they want to be contacted via physical mail.

string | null
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