GET /api/offer-tags
<?xml version="1.0" encoding="UTF-8"?> <offer-tags type="array" page="1" per_page="100" total="2"> <offer-tag> <id type="integer">1</id> <name>foo</name> <count type="integer">12</count> </offer-tag> <offer-tag> <id type="integer">1</id> <name>bar</name> <count type="integer">7</count> </offer-tag> </offer-tags>
GET /api/offer-tags?offer_id={offer_id}
<?xml version="1.0" encoding="UTF-8"?> <offer-tags type="array" page="1" per_page="100" total="2"> <offer-tag> … </offer-tag> <offer-tag> … </offer-tag> </offer-tags>
GET /api/offer-tags/{id}
<?xml version="1.0" encoding="UTF-8"?> <offer-tag> <id type="integer">1</id> <offer_id type="integer">1</offer_id> <name>foo</name> </offer-tag>
POST /api/offer-tags
XML-Element | Beschreibung | Typ | Default-Wert | Pflichtfeld |
---|---|---|---|---|
offer_id | ID des Angebotes | INT | ja | |
name | Schlagwort | ALNUM | ja |
<offer-tag> <offer_id>1</offer_id> <name>foo</name> </offer-tag>
<?xml version="1.0" encoding="UTF-8"?> <offer-tag> <id type="integer">1</id> <offer_id type="integer">1</offer_id> <name>foo</name> </offer-tag>
DELETE /api/offer-tags/{id}