edit

Log Model

Represents a log entity within Zebreco. Logs record user actions within the software.

Due to the nature of logs they can be rather long JSON returns.

Name Type Description
id integer read only The unique id of the log
createddate DateTime read only The ISO DateTime the log was created
event string read only The log event
action string read only The log action
type string read only The log type
name string The name of the log - required
ipaddress string read only The ip address of the log
reference string read only The reference given to the log
field string read only The database field that was changed
fieldname string read only The name of the database field that was changed
oldvalue string read only The previous value of the field that was changed
oldvalueid string read only The previous id of the value of the field that was changed (if applicable)
value string The value the field was changed to - required
valueid string read only The id of the value the field was changed to
user Contact The user related to the log
contact Contact The contact related to the log - required
project Project The project the log is situated on
lead Lead The lead (if applicable) related to the log
ticket Ticket The ticket related to the log
ticketpost Ticket Post The ticket post related to the log
file File read only The file (if any) related to the log
invoice Invoice The invoice (if any) related to the log
quote [Quote](api-quote.md The quote (if any) related to the log
task Task read only The task (if any) related to the log
label Label Array of labels (if any) related to the log