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

    person_id integer

    Possible values: >= 1

    Filter items by the person_id field.

    date date

    Filter items by the date field.

    Operators:

    Usage: eq:{value}

    project_id integer

    Possible values: >= 1

    Filter items by the project_id field.

    to_project_id integer

    Possible values: >= 1

    Filter items by the to_project_id field.

    mode string

    Possible values: [DAILY, WEEKLY, DETAILED]

    Filter items by the mode field.

    order string

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

    Default value: -created_at

    Order the results by a specific attribute. If no operator is provided, the default order is ascending.

    Operators:

    Description: Sort in ascending order.

    Usage: +{field}

    limit integer

    Possible values: >= 1 and <= 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.

    Operators:

    Usage: eq:{value}

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