API-Dokumentation Webhosting für alle LWS besuchen

Schema

Contact

Klasse Contact, zur Verarbeitung und Validierung von Kontaktdaten

  • company string

    Firmenname (optional)

    Beispiel: Meine Firma

  • lastname string

    Nachname

    Beispiel: Müller

  • firstname string

    Vorname

    Beispiel: Hans

  • address string

    Straße und Hausnummer

    Beispiel: 1 rue de la Paix

  • postal string

    Postleitzahl

    Beispiel: 75000

  • city string

    Stadt

    Beispiel: Paris

  • country string

    Ländercode (ISO 3166-1 alpha-2)

    Beispiel: FR

  • phone string

    Telefonnummer des Kontakts im internationalen Format 00{Ländercode}{Nummer}

    Muster ^00\d{1,3}\d{6,12}$ Beispiel: 0033612345678

  • email string

    E-Mail-Adresse

    Beispiel: [email protected]

  • password string

    Passwort (10 bis 15 Zeichen, muss mindestens einen Großbuchstaben, einen Kleinbuchstaben, eine Ziffer und ein Sonderzeichen aus -!*$@%_ enthalten)

    Beispiel: password

  • is_company boolean

    Gibt an, ob der Kontakt für eine Firma ist oder nicht

    Beispiel: false

  • credit integer

    Guthabenstand

    Beispiel: 0

Beispiel
{
  "company": "Meine Firma",
  "lastname": "Müller",
  "firstname": "Hans",
  "address": "1 rue de la Paix",
  "postal": "75000",
  "city": "Paris",
  "country": "FR",
  "phone": "0033612345678",
  "email": "[email protected]",
  "password": "password",
  "is_company": false,
  "credit": 0
}