Timesheet (time tracking items)Get my weekly registrations

Get my weekly registrations

Returns the calling user's registrations for the 7 days from startDate, grouped by day and task, with daily and weekly norm hours and the difference.

The weekly-timesheet view of the CALLER's time. The window is startDate through startDate + 6 days (no alignment to a week start: send the Monday yourself if you want an ISO week). All registrations of the window are read (no paging), grouped by day, then by task, and each day gets the employee's norm hours and registered − norm. Week totals: TotalRegisteredHours (days with registrations) and TotalNormHours — so a day with no registrations is missing from Tasks but still counts in TotalNormHours.

Use it to:

  • Weekly timesheet grid in a time-tracking client
  • 'Am I short this week?' — TotalHoursDifference

Not for:

  • A flat, paged list → GET /v1/time-tracking-item/get-by-date
  • Approval status per day → GET /v1/approval/timesheets/get-status-by-dates

Behaviour:

  • Idempotent.
  • Safe to retry.
  • Duplicates: n/a (read)
  • Changes are visible to the next read immediately.

Next: GET /v1/time-tracking-item/{timeRegistrationID}, POST /v1/approval/timesheets/submit-period

See also: GET /v1/time-tracking-item/get-by-date

Not yet documented: examples.

curl -X GET "https://app3.timelog.com/your-account/api/v1/time-tracking-item/get-weekly-registrations?startDate=2024-12-25T10%3A00%3A00Z" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "Properties": {
    "TotalRegisteredHours": 3.14,
    "TotalNormHours": 3.14,
    "TotalHoursDifference": 3.14,
    "Tasks": [
      {
        "Date": "2024-12-25T10:00:00Z",
        "RegisteredHours": 3.14,
        "NormHours": 3.14,
        "HoursDifference": 3.14,
        "TaskInfos": [
          {
            "CustomerID": "null",
            "CustomerName": "John Doe",
            "CustomerNo": "example_string",
            "ProjectID": "null",
            "ProjectName": "John Doe",
            "ProjectNo": "example_string",
            "TaskID": "null",
            "TaskName": "John Doe",
            "TaskFullName": "John Doe",
            "IsFixedPrice": "null",
            "TaskNo": "example_string",
            "TaskIsActive": "null",
            "AbsenceCodeID": "null",
            "AbsenceName": "John Doe",
            "AbsenceCode": "example_string",
            "AdditionalTextIsRequired": true,
            "DefaultBillable": true,
            "IsETCProject": true,
            "ShowBillable": true,
            "IsFavourite": true,
            "EntityID": 123,
            "EntityType": 42,
            "AbsenceIsActive": "null",
            "Registrations": [
              {
                "AllocatedHour": "null",
                "TimeRegistrationID": 123,
                "UserID": 123,
                "Created": "2024-12-25T10:00:00Z",
                "CreatedBy": 42,
                "LastModified": "2024-12-25T10:00:00Z",
                "LastModifiedBy": 42,
                "IsBillable": true,
                "Status": true,
                "Date": "2024-12-25T10:00:00Z",
                "MonthlyPeriod": "example_string",
                "Comment": "example_string",
                "Hours": 3.14,
                "AdditionalTextField": "example_string",
                "InvoiceStatus": true,
                "TimeRegistrationApprovalStatus": 42,
                "TimeTrackingFormat": 42,
                "Minutes": 42,
                "BillableHours": 3.14,
                "BillableMinutes": 42,
                "StartTime": "null",
                "EndTime": "null",
                "IsTimestampOverlapping": true
              }
            ]
          }
        ]
      }
    ]
  },
  "Links": [
    {
      "Href": "example_string",
      "Rel": "example_string"
    }
  ],
  "Actions": [
    {}
  ]
}
GET
/v1/time-tracking-item/get-weekly-registrations
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

OAuth 2.0 bearer token, sent as Authorization: Bearer <token>. JWT and reference tokens are both accepted. The token must carry the required scope (default tlp). The token's sub claim is the acting user. A token WITHOUT sub (client-credentials) acts as the system service user. If the sub user cannot log in (inactive, locked, deleted), the request is rejected with 401 — it is no longer let through without a user. > Not yet documented: how to obtain a token. > Not yet documented: token lifetime.

OAuth 2.0 bearer token, sent as Authorization: Bearer <token>. JWT and reference tokens are both accepted. The token must carry the required scope (default tlp). The token's sub claim is the acting user. A token WITHOUT sub (client-credentials) acts as the system service user. If the sub user cannot log in (inactive, locked, deleted), the request is rejected with 401 — it is no longer let through without a user. > Not yet documented: how to obtain a token. > Not yet documented: token lifetime.
query
startDatestring
Required

First day of the 7-day window; the window ends startDate + 6 days (inclusive). Omitting it → 404. Filters on TimeTrackingItemRead.Date (between).

Format: date-time
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. OAuth 2.0 bearer token, sent as Authorization: Bearer <token>. JWT and reference tokens are both accepted. The token must carry the required scope (default tlp).

The token's sub claim is the acting user. A token WITHOUT sub (client-credentials) acts as the system service user. If the sub user cannot log in (inactive, locked, deleted), the request is rejected with 401 — it is no longer let through without a user.

Not yet documented: how to obtain a token.

Not yet documented: token lifetime.

Query Parameters

startDatestring
Required

First day of the 7-day window; the window ends startDate + 6 days (inclusive). Omitting it → 404.

Filters on TimeTrackingItemRead.Date (between).

Responses

Propertiesobject

The calling employee's registrations for one 7-day window, grouped first by day and then by task, with the employee's norm (expected) time per day and the difference. It is the data behind TimeLog's weekly timesheet: "how much did I register each day, on what, and how far am I from my norm". Despite its name, Tasks is the list of DAYS. The object has no ID; it is identified by (caller, startDate).

Linksarray
Actionsobject[]