Time entries

Get a time entry by id

get/time-entries/{timeEntryId}

Request

  • Base URL
    https://api3.autarc.energy/v1
  • Auth
    API key in header X-Api-Key

Path parameters

timeEntryIdstring uuid required

Response

One time entry

idstring uuid required
projectIdstring uuid nullable
jobIdstring uuid nullable

The appointment (see GET /jobs) the time was booked on.

profileIdstring uuid required

The team member the time belongs to.

startAtstring date-time required
endAtstring date-time required
startTimestring date-time required

Same as startAt. Use startAt; this name will be removed.

endTimestring date-time required

Same as endAt. Use endAt; this name will be removed.

breakTimeMinutesinteger required
durationMinutesinteger required

Minutes from startAt to endAt less breakTimeMinutes, never negative.

status'pending' | 'approved' | 'declined' required

Approval state.

entryType'working_hours' | 'absent' | 'null' nullable
absenceType'vacation' | 'sick_leave' | 'educational_leave' | 'overtime_compensation' | 'public_holiday' | 'vocational_school' | 'sick_child' | 'vacation_unpaid' | 'other' | 'null' nullable

Kind of absence when entryType is absent.

halfDayPeriod'morning' | 'afternoon' | 'null' nullable

Set when the absence covers half a day.

categoryIdstring uuid nullable
categoryNamestring nullable
notestring nullable
declinedReasonstring nullable
createdByProfileIdstring uuid required
updatedByProfileIdstring uuid nullable
companyIdstring uuid required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.