Time Records

This resource works with Enhanced Billing Mode (EBM) and is backwards compatible with the legacy time records data structures

If you are only working in EBM then you would be better off using the Time Entries resource

 

The Time Records resource represents system user entered time sheets. Time records MAY be linked to the Actions resources via the Tasks resources. Time Records have both an actual time value and a billable time value. No end timestamp for a time record exists, but is calculated using the "start" field and the "actualHours" field. Time Records are also specific to a division, which can be access via the Divisions resource.

 

Resource Properties
Scope Parametertimerecords
Location/timerecords
MethodsGET POST PUT DELETE
Default Page Size50
Max Page Size200
Default IncludesNone

 

Resource Attributes

 

FieldDescriptionFormatRequiredField TypeRestrictionsNotes
startTimestampTimestamp representing the start date/time of the recordtimestamptruedefault  
actualHoursThe total duration of the time recordnumbertruedefault Cannot be less than zero.
billableHoursThe total number of hours that are to be billednumberfalsedefault Cannot be less than zero.
notesA description of the time being recordedstringfalsedefault  
createdTimestampTimestamp of when the database record was createdtimestampfalsedefault  
ownerThe system user to whom the time record belongsstringfalselink  
activityThe pre-defined activity associated with the time recordstringfalselink  
divisionThe division to which the time record belongsstringfalselink  
taskThe task against which the actual and billable time is loggedstringfalselink  
createdByThe system user who created the time recordstringfalselinkread-only 
actionThe action this time record is associated withstringfalselink  
rateThe rate override for this time recordstringfalselink  

 

Link Templates
IdentifierResourceLocation Template
timerecords.activitytimerecordactivities/timerecordactivities/{timerecords.activity}
timerecords.divisiondivisions/divisions/{timerecords.division}
timerecords.tasktasks/tasks/{timerecords.task}
timerecords.ownerparticipants/participants/{timerecords.owner}
timerecords.createdByparticipants/participants/{timerecords.createdBy}

 

Errors
CodeFieldCondition
TR-01billableHoursThe billableHours value can't be less than zero.
TR-02actualHoursThe actualHours value can't be less than zero.
TR-03ownerThe owner is a system user.
TR-03ownerThe owner belongs to the specified division.
TR-04taskThe task belong to the specified division.
TR-05activityThe activity is available to the owner and division.

Related pages