time entries

PATCH /companies/{companySlug}/timeEntries/{timeEntryId}

Changed on

Partially updates time entry with provided id. Only provided fields will be updated.

Request

  • Base URL
    https://api.fiken.no/api/v2
  • URL
    https://api.fiken.no/api/v2/companies/{companySlug}/timeEntries/{timeEntryId}
  • Auth
    OAuth 2
    Authorization code: https://fiken.no/oauth/authorize
    Token URL: https://fiken.no/oauth/token

Request body

datestring date

Date of the time entry, format yyyy-MM-dd

hoursnumber double

Number of hours worked

startTimestring

Start time of the work, format HH:mm (optional)

descriptionstring

Description of work performed (visible on invoices)

internalNotestring

Internal note (not visible on invoices)

activityIdinteger

ID of the activity this time entry belongs to

projectIdinteger

ID of the project this time entry belongs to (optional)

Example request

{
  "date": "2024-03-15",
  "hours": 7.5,
  "startTime": "09:00",
  "description": "Implemented new feature",
  "internalNote": "Need to follow up with client",
  "activityId": 12345,
  "projectId": 67890
}

Response

OK

Changes