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