GET /api/client-property-values
<?xml version="1.0" encoding="UTF-8"?> <client-property-values type="array" page="1" per_page="100" total="2"> <client-property-value> … </client-property-value> <client-property-value> … </client-property-value> </client-property-values>
GET /api/client-property-values?client_id=123
Parameter | Beschreibung |
---|---|
client_id | ID eines speziellen Kunden |
client_property_id | ID eines speziellen Attributs |
value | Wert des Attributs |
GET /api/client-property-values/{id}
<?xml version="1.0" encoding="UTF-8"?> <client-property-value> <id type="integer">1</id> <client_id type="integer">2</client_id> <client_property_id type="integer">3</client_property_id> <type>TEXTFIELD</type> <name>Abteilung</name> <value>Marketing</value> </client-property-value>
Als Typ des Attributs sind folgende Werte möglich: TEXTFIELD = einzeiliges Textfeld, TEXTAREA = mehrzeiliges Textfeld, CHECKBOX = Checkbox
POST /api/client-property-values
XML-Element | Beschreibung | Typ | Default-Wert | Pflichtfeld |
---|---|---|---|---|
client_id | ID des Kunden | INT | ja | |
client_property_id | ID des Attributs | INT | ja | |
value | Wert des Attributs | ALNUM | ja |
<client-property-value> <client_id>2</client_id> <client_property_id>3</client_property_id> <value>Innendienst</value> </client-property-value>
<?xml version="1.0" encoding="UTF-8"?> <client-property-value> <id type="integer">1</id> <client_id type="integer">2</client_id> <client_property_id type="integer">3</client_property_id> <type>TEXTFIELD</type> <name>Abteilung</name> <value>Innendienst</value> </client-property-value>