Skip to main content

Get a timesheet log

GET 

/api/timesheet-logs/{id}

Required permissions:

  • report.view_timesheet: allows view of timesheet logs.

Here the dedicated support page.

Request

Path Parameters

    id integerrequired

    Possible values: Value must match regular expression [0-9]+

    The ID of the timesheet log to view

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 requested timesheet log.

Schema

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