Alle Attribute eines Benutzers auflisten
GET /api/user-property-values?user_id={user_id}
Attribute können immer nur für einen bestimmten Benutzer zurückgegeben werden.
Deshalb ist user_id ein Pflichtparameter.
<?xml version="1.0" encoding="UTF-8"?>
<user-property-values type="array">
<user-property-value>
...
</user-property-value>
<user-property-value>
...
</user-property-value>
</user-property-values>
Einzelnes Attribut aufrufen
GET /api/user-property-values/{id}
<?xml version="1.0" encoding="UTF-8"?>
<user-property-value>
<id type="integer">1</id>
<user_id type="integer">2</user_id>
<clieusernt_property_id type="integer">3</user_property_id>
<type>TEXTFIELD</type>
<name>Abteilung</name>
<value>Marketing</value>
</user-property-value>
Attribut setzen
POST /api/user-attribute-values
| XML-Element | Beschreibung | Typ | Default-Wert | Pflichtfeld |
|---|---|---|---|---|
| user_id | ID des Benutzers | INT | ja | |
| user_property_id | ID des Attributs | INT | ja | |
| value | Wert des Attributs | ALNUM | ja |
<user-property-value>
<user_id>2</user_id>
<user_property_id>3</user_property_id>
<value>Innendienst</value>
</user-property-value>
<?xml version="1.0" encoding="UTF-8"?>
<user-property-value>
<id type="integer">1</id>
<user_id type="integer">2</user_id>
<user_property_id type="integer">3</user_property_id>
<type>TEXTFIELD</type>
<name>Abteilung</name>
<value>Innendienst</value>
</user-property-value>
Deutsch »
English