Get Timesheet

Retrieve a specific timesheet by ID. Returns 404 if archived unless include_archived=true is passed.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

timesheet_idstringRequired

Query parameters

include_archivedbooleanOptionalDefaults to false
Return the timesheet even if it has been archived.

Response

Timesheet details
idinteger
Unique identifier.
typeenum or null
Time entry type.
statusenum or null
Processing status of the time entry.
startDatestring or nullformat: "date-time"
endDatestring or nullformat: "date-time"
distancedouble or null
Distance traveled, for TRAVEL entries.
notestring or null
isArchivedboolean or null
createdAtstringformat: "date-time"
updatedAtstringformat: "date-time"
projectIdinteger or null

Set when the linked record is a Project. Null when it is an Account (see accountId) or Opportunity (see opportunityId).

accountIdinteger or null
Set when the linked record is an Account. Null otherwise.
opportunityIdinteger or null
Set when the linked record is an Opportunity. Null otherwise.
workOrderIdinteger or null
targetUserIdinteger or null
The worker the time entry is logged for.
createdByinteger or null
updatedByinteger or null
laborHourlyRatedouble or null

Labor cost ($/hr). Only visible with the appropriate financial privilege.

laborTotalCostdouble or null
Only visible with the appropriate financial privilege.

Errors

401
Unauthorized Error
404
Not Found Error
502
Bad Gateway Error