GET /api/activity-feed
<?xml version="1.0" encoding="UTF-8"?> <activity-feed type="array" page="1"> <activity> <resource>invoices</resource> <id type="integer">835694</id> <date type="datetime">2014-07-10T10:06:11+02:00</date> <title>Invoice 123</title> <text>Status changed from Draft to outstanding.</text> <user_id>5716</user_id> </activity> <activity> <resource>invoices</resource> <id type="integer">835697</id> <date type="datetime">2014-07-10T09:37:50+02:00</date> <title>Invoice 456</title> <text>Invoice created.</text> <user_id>5716</user_id> </activity> </activity-feed>
XML element | Description | Type |
---|---|---|
resource | Name of the resource (invoices, delivery-notes, …) | ALNUM |
id | ID of the element | INT |
date | Activity date | DATETIME |
title | Title of the activity | ALNUM |
text | Activity text | ALNUM |
user_id | ID of the user. If the activity is a system message, the ID is empty. | INT |
GET /api/activity-feed?page=2
You can call further activities by using the parameter page.