List all properties of an user

GET /api/user-property-values?user_id={user_id}

Attributes can only be returned for a particular user.
Therefore user_id is a mandatory parameter.

<?xml version="1.0" encoding="UTF-8"?>
<user-property-values type="array" page="1" per_page="100" total="2">
    <user-property-value>
        ...
    </user-property-value>
    <user-property-value>
        ...
    </user-property-value>
</user-property-values>

Get a single property

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>
    <user_property_id type="integer">3</user_property_id>
    <type>TEXTFIELD</type>
    <name>Department</name>
    <value>Marketing</value>
</user-property-value>

The type of the attribute can be: TEXTFIELD = single line textfield, TEXTAREA = multi line text field, CHECKBOX = Checkbox

Set property

POST /api/user-attribute-values
XML element Descriptionth> Type Default value Mandatory
user_id ID of the user INT yes
user_property_id ID of the property INT yes
value Value of the attribute ALNUM yes
<user-property-value>
    <user_id>2</user_id>
    <user_property_id>3</user_property_id>
    <value>Sales department</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>Department</name>
    <value>Sales department</value>
</user-property-value>