Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Next »

The information in this document is currently in BETA and subject to change.

 

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 TypeNotes
startTimestampTimestamp representing the start date/time of the recordtimestamptruedefault 
actualHoursThe total duration of the time recordnumbertruedefaultCannot be less than zero.
billableHoursThe total number of hours that are to be billednumberfalsedefaultCannot 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 belongsstringfalselinkread only
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 recordstringfalselink 
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.
  • No labels