Timesheets Deleted

Last Updated: April 24, 2017

Following is a list of the properties that are common to timesheet deleted objects, and a description of each.
Note: Deleted timesheets will be kept on the server and accessible for 180 days since their deletion.

id:
Integer. Id of timesheet.
user_id:
Integer. User id for the user that this timesheet belongs to.
jobcode_id:
Integer. Jobcode id for the jobcode that this timesheet is recorded against.
start:
String (ISO8601 format). Date/time that represents the start time of this timesheet (i.e. 2004-02-12T15:19:21+00:00).
end:
String (ISO8601 format). Date/time that represents the end time of this timesheet (i.e. 2004-02-12T15:19:21+00:00). Enter an empty string to make the timesheet active.
date:
String. YYYY-MM-DD formatted date. The timesheet's date.
duration:
Integer. The total number of seconds recorded for this timesheet.
locked:
Integer. If greater than 0, the timesheet is locked for editing. A timesheet could be locked for various reasons, such as being approved, invoiced, etc.
notes:
String. Notes associated with the timesheet.
customfields:
JSON object. Only present if the Advanced Tracking Add-on is installed. This is a key / value map of customfield ids to the customfield items that are associated with the timesheet.
created:
String (ISO8601 format). Date/time when this object was created (i.e. 2004-02-12T15:19:21+00:00).
last_modified:
String (ISO8601 format). Date/time when this object was last modified (i.e. 2004-02-12T15:19:21+00:00).
type:
String. Either 'regular' or 'manual'. Regular timesheets have a start/end time (duration is calculated by TSheets). Manual timesheets have a date and a duration (in seconds). Unique properties for each timesheet type are below.