Skip to main content

List timesheets

GET 

/api/timesheets

Required permissions:

  • timetracking.view: allows view of resources owned by the user.
  • timetracking.view_other: allows view of resources not owned by the user.

Here the dedicated support page.

Request

Query Parameters

    limit integer

    Possible values: <= 100

    Default value: 100

    The number of items to include in the response.

    offset integer

    Default value: 0

    The offset of the first returned item.

    updated_at date-time

    Filter items by the updated_at field. This is in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

    Examples:

    Filter items updated on a date.

    Example: 2024-01-01T20:00:00%2B02:00

    person_id any

    The id of the person to filter the results on.

    project_id integer

    The id of the project to filter the results on.

    date date

    The date to filter the results on.

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Responses

Returns the list of daily timesheets.

Schema

  • Array [

  • id integerrequired

    Possible values: >= 1

    created_at date-timerequired
    updated_at date-timerequired
    date daterequired

    The date of the timesheet

    hours floatrequired

    The daily hours of the timesheet

    notes string

    Notes of the timesheet

    mode stringrequired

    The mode of the timesheet

    project_id integerrequired

    Possible values: >= 1

    ID of the project related to the timesheet

    person_id integerrequired

    Possible values: >= 1

    ID of the person related to the timesheet

  • ]

Loading...