Alle Benutzer-Attribute auflisten
GET /api/user-properties
<?xml version="1.0" encoding="UTF-8"?>
<user-properties type="array">
<user-property>
...
</user-property>
<user-property>
...
</user-property>
</user-properties>
Einzelnes Benutzer-Attribut aufrufen
GET /api/user-properties/{id}
<?xml version="1.0" encoding="UTF-8"?>
<user-property>
<id type="integer">7</id>
<account_id type="integer">1</account_id>
<name>Premium-Kunden-Mitarbeiter</name>
<type>CHECKBOX</type>
</user-property>
Benutzer-Attribut erstellen
POST /api/user-properties
| XML-Element |
Beschreibung |
Typ |
Default-Wert |
Pflichtfeld |
| name |
Name des Attributs |
ALNUM |
|
ja |
| type |
Typ des Attributs (TEXTFIELD = einziliges Textfeld, TEXTAREA = mehrzeiliges Textfeld, CHECKBOX = Checkbox) |
ALNUM |
|
ja |
| default_value |
Standardwert |
ALNUM |
|
|
| is_nvl |
Soll der Standardwert verwendet werden, wenn kein anderer Wert gesetzt wurde? 1=ja |
INT |
|
|
<user-property>
<name>Geburtstag</name>
<type>TEXTFIELD</type>
</user-property>
<?xml version="1.0" encoding="UTF-8"?>
<user-property>
<id type="integer">11</id>
<account_id type="integer">1</account_id>
<name>Geburtstag</name>
<type>TEXTFIELD</type>
</user-property>
Benutzer-Attribut bearbeiten
PUT /api/user-properties/{id}
<user-property>
<name>private Anschrift</name>
<type>TEXTAREA</type>
</user-property>
Attribut löschen
DELETE /api/user-properties/{id}