Skip to content
Richard Thombs edited this page Feb 20, 2014 · 2 revisions

The Audit Log tracks actions that have affected certain TeamHaven objects, providing an audit trail of who has modified them.

GET /api/audit/:type/:id

List actions that modified the specified object.

URL parameters

type
call or projecttarget
id
The TeamHaven ID of the object being audited. Ie, a Call ID when type=call

Response

[{Action: 1,// Enum value for the action performedDescription: "/Actions/ImportCall",// Localisation label describing the actionDate: "2013-02-14T12:02:49.807",// UTC timestamp of when the action was performedCount: 42,// The total number of objects that were affected by the actionUserID: 2,// The User ID of the user who performed the actionUsername: "admin",// The Username of the user who performed the actionDisplayName: "Administrator",// The Display Name of the user who performed the action},{/* Next action */}]

Clone this wiki locally