List all tags (tagcloud)

GET /api/reminder-tags
<?xml version="1.0" encoding="UTF-8"?>
<reminder-tags type="array" page="1" per_page="100" total="2">
    <reminder-tag>
        <id type="integer">1</id>
        <name>foo</name>
        <count type="integer">12</count>
    </reminder-tag>
    <reminder-tag>
        <id type="integer">1</id>
        <name>bar</name>
        <count type="integer">7</count>
    </reminder-tag>
</reminder-tags>

List all tags for a payment reminder

GET /api/reminder-tags?reminder_id={reminder_id}

Tags can only be returned for a particular invoice.
Therefore reminder_id is a mandatory parameter.

<?xml version="1.0" encoding="UTF-8"?>
<reminder-tags type="array" page="1" per_page="100" total="2">
    <reminder-tag>
        ...
    </reminder-tag>
    <reminder-tag>
        ...
    </reminder-tag>
</reminder-tags>

Get single tag

GET /api/reminder-tags/{id}
<?xml version="1.0" encoding="UTF-8"?>
<reminder-tag>
    <id type="integer">1</id>
    <reminder_id type="integer">1</reminder_id>
    <name>foo</name>
</reminder-tag>

Create tag

POST /api/reminder-tags
XML element Description Type Default value Mandatory
reminder_id ID of the reminder INT yes
name Name of the tag ALNUM yes
<reminder-tag>
    <reminder_id>1</reminder_id>
    <name>foo</name>
</reminder-tag>
<?xml version="1.0" encoding="UTF-8"?>
<reminder-tag>
    <id type="integer">1</id>
    <reminder_id type="integer">1</reminder_id>
    <name>foo</name>
</reminder-tag>

Delete tag

DELETE /api/reminder-tags/{id}