POST api/timesheet/clockify/sync/entries

Bulk upsert of all the entries for ONE (user, week). Used by the historical migration so the timesheet / week find-or-create runs once per week, not once per entry, and the week recompute + status change happen once. Webhooks keep using `entry`.

Request Information

URI Parameters

None.

Body Parameters

ClockifyEntryBatchRequest
NameDescriptionTypeAdditional information
sdUserId

integer

None.

weekEnding

date

None.

weekTargetStatus

string

None.

entries

Collection of ClockifyBatchEntry

None.

Request Formats

application/json, text/json, application/scim+json

Sample:
{
  "sdUserId": 1,
  "weekEnding": "2026-11-16T14:20:36.2263715+00:00",
  "weekTargetStatus": "sample string 3",
  "entries": [
    {
      "clockifyEntryId": "sample string 1",
      "clockifyProjectId": "sample string 2",
      "entryDate": "2026-11-16T14:20:36.2263715+00:00",
      "hours": 4.0,
      "routingTarget": 0,
      "sdProjectId": 1,
      "sdResourceItemId": 1
    },
    {
      "clockifyEntryId": "sample string 1",
      "clockifyProjectId": "sample string 2",
      "entryDate": "2026-11-16T14:20:36.2263715+00:00",
      "hours": 4.0,
      "routingTarget": 0,
      "sdProjectId": 1,
      "sdResourceItemId": 1
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/scim+json

Sample:

Sample not available.