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