Skip to main content

List timesheet logs

GET 

/api/timesheet-logs

Required permissions:

  • report.view_timesheet: allows view of timesheet logs.

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 integer

    The ID of the person related to the timesheet.

    date integer

    The date of the timesheet.

    Examples:

    Filter timesheets on a specific date.

    Example: 2024-01-01

    project_id integer

    The ID of the project related to the timesheet.

    to_project_id integer

    The ID of the project to which the timesheet was moved.

    mode string

    Possible values: [DAILY, WEEKLY, DETAILED]

    The mode of the timesheet.

    order string

    Possible values: [created_at, +created_at, -created_at, date, +date, -date]

    Default value: -created_at

    Order the results by a specific attribute. Optionally, prefix with + for ascending and - for descending order. Default is ascending order.

    Examples:

    Order by created_at in ascending order.

    Example: +created_at

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 timesheet logs.

Schema

  • Array [

  • id integerrequired

    Possible values: >= 1

    The unique identifier of the resource

    created_at date-timerequired

    The date and time when the resource was created

    updated_at date-timerequired

    The date and time when the resource was last updated

    person_id integerrequired

    The ID of the person related to the timesheet

    date daterequired

    The date of the timesheet

    project_id integerrequired

    The ID of the project related to the timesheet

    to_project_id integer

    The ID of the project to which the timesheet was moved

    mode stringrequired

    Possible values: [DAILY, WEEKLY, DETAILED]

    The mode of the timesheet

    from_hours float

    The previous hours set for the given date, project and person

    to_hours float

    The new hours set for the given date, project and person

    author_id integer

    The ID of the person who changed the timesheet

  • ]

Loading...