Skip to Content

Öffentliche M2M-API — tenant

Prüfe Operation, Eingaben und Zugriff. Parameternamen und Enumerationswerte sind Protokollkennungen und müssen exakt bleiben. Optionale Eingaben und Standardwerte sind markiert; Pflichtfelder in einem optionalen Objekt gelten, wenn dieses Objekt übergeben wird. Nur statisch erkannte literale Grenzen werden gezeigt; zusätzliche Validierungen, Bedingungen und Anbieterregeln können gelten.

Authentifizierung und Berechtigungen · Anfragen, Ergebnisse und Wiederaufnahme

/api/v1/tenant

Exportierte Methoden: GET, PATCH

GET

  • Ressourcen-Scopes: tenant:read
  • Beobachtete Antwortschlüssel nach Ergebnis: appConfig, companyProfile, emailSettings, fiscalProfile, tenantId

PATCH

  • Ressourcen-Scopes: tenant:write
  • Explizite Antwortstatus: 400, 409, 422
  • Explizite Fehlercodes: invalid_request, onboarding_incomplete, tenant_update_failed
  • Beobachtete Antwortschlüssel nach Ergebnis: companyProfile, emailSettings, fiscalProfile, tenantId

Validierte Anfragefelder

FeldTypOptional/StandardNull zulässigZulässige LiteralwerteErkannte literale Grenzen
companyProfileobjectJaNein——
companyProfile.bankIbanstringJaJa—max(64)
companyProfile.bankNamestringJaJa—max(120)
companyProfile.citystringJaJa—max(100)
companyProfile.companyNamestringJaJa—max(160)
companyProfile.countrystringJaJa—max(4)
companyProfile.emailstringJaJa—email()
companyProfile.fiscalCodestringJaJa—max(40)
companyProfile.namestringJaNein—min(1), max(160)
companyProfile.pecEmailstringJaJa—email()
companyProfile.phonestringJaJa—max(40)
companyProfile.provincestringJaJa—max(20)
companyProfile.sdiCodestringJaJa—max(20)
companyProfile.streetstringJaJa—max(200)
companyProfile.vatNumberstringJaJa—max(40)
companyProfile.zipstringJaJa—max(20)
emailSettingsobjectJaNein——
emailSettings.brandColorstringJaJa—max(32)
emailSettings.footerTextstringJaJa—max(500)
emailSettings.replyToEmailstringJaJa—email()
emailSettings.senderNamestringJaJa—max(120)
fiscalProfileobjectJaNein——
fiscalProfile.autoInvoiceRemindersbooleanJaJa——
fiscalProfile.baseCurrencystringJaJa—length(3)
fiscalProfile.codiceFiscalestringJaJa——
fiscalProfile.countryCodestringJaNein—length(2)
fiscalProfile.defaultVatRatenumberJaJa—min(0), max(100)
fiscalProfile.eInvoiceFormatstringJaJa——
fiscalProfile.invoiceReminderIntervalDaysnumberJaJa—int(), min(1), max(365)
fiscalProfile.taxRegimestringJaJa——
fiscalProfile.vatNumberstringJaJa——