POST api/timesheet/clockify/sync/entry

Create or update one Clockify time entry. Idempotent on clockifyEntryId. Cascade: find-or-create sd$timesheets (user, weekEnding) -> sd$timesheetWeeks (project/event) -> sd$timesheetDays (date); then apply this entry's hours through the ledger (create = add, update = adjust by delta); then recompute sd$timesheetWeeks.hours = SUM(days.hours); then set the week status.

Request Information

URI Parameters

None.

Body Parameters

ClockifyEntryWriteRequest
NameDescriptionTypeAdditional information
clockifyEntryId

string

None.

clockifyProjectId

string

None.

sdUserId

integer

None.

entryDate

date

None.

hours

decimal number

None.

routingTarget

ClockifyRoutingTarget

None.

sdProjectId

integer

None.

sdResourceItemId

integer

None.

targetStatus

string

None.

Request Formats

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

Sample:
{
  "clockifyEntryId": "sample string 1",
  "clockifyProjectId": "sample string 2",
  "sdUserId": 3,
  "entryDate": "2026-11-16T14:20:23.9914568+00:00",
  "hours": 5.0,
  "routingTarget": 0,
  "sdProjectId": 1,
  "sdResourceItemId": 1,
  "targetStatus": "sample string 6"
}

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.