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