← API-reference

Organisation & konfiguration

Organisation, lokationer, integrationer og abonnement — konfigurer arbejdsområdet.

Organisation

Endpoints

GET /organizations
POST /organizations
GET /organizations/{id}
POST /organizations/clear
POST /organizations/icon
POST /organizations/logo
GET /organizations/mail-footer
PATCH /organizations/mail-footer

Skemafelter

FeltType
id string
type string
status string
name string
slug string
stripeCustomerId stringnull
manualBilling boolean
databaseStatus arraynull
organizationUsers array
organizationUserInvitations array
organizationModules array
subscriptions array
organizationConfigs array
organizationAddresses array
createdAt string (date-time)
updatedAt string (date-time)
demo boolean
productionLike boolean
currentSubscription string,null (iri-reference)

Lokation

Endpoints

GET /locations
POST /locations
GET /locations/{id}
PATCH /locations/{id}

Skemafelter

FeltType
name* string
officeOpenHour integernull
officeCloseHour integernull

Land

Endpoints

GET /countries
GET /countries/{id}

Skemafelter

FeltType
id* string

Sprog

Endpoints

GET /languages
POST /languages
GET /languages/{id}

Skemafelter

FeltType
id* string

Integration

Endpoints

POST /integrations/kontomatik/pull
POST /integrations/kontomatik/revoke
POST /integrations/kontomatik/setup

Møde

Endpoints

GET /meetings
POST /meetings
GET /meetings/{id}
PATCH /meetings/{id}

Skemafelter

FeltType
employee* string,null (iri-reference)
dateFrom* string (date-time)
dateTo* string (date-time)
notes stringnull
time string,null (date-time)

Abonnement

Endpoints

GET /subscriptions
POST /subscriptions
GET /subscriptions/{id}
POST /subscriptions/{id}/cancel
GET /subscriptions/{id}/invoices
POST /subscriptions/apply-coupon
POST /subscriptions/clear-coupon

Skemafelter

FeltType
id string
organization string (iri-reference)
organizationAddress string (iri-reference)
type string
paymentMethod string,null (iri-reference)
products array
seats integer
modules array
status string
externalId stringnull
metadata array
createdAt string (date-time)
updatedAt string (date-time)
active boolean
awaiting boolean