POST api/timesheet/clockify/sync/wipe

Wipe step of the one-time historical migration (RR 624860). Scoped to a [from,to] window. `mode` = "ledger" soft-deletes only the sd$timesheetWeeks referenced by live Clockify ledger rows in the window (safe - never touches manual SD entries); "all" additionally accounts for orphan SD week lines (no Clockify counterpart) - always reported, and soft-deleted too only when `deleteOrphans` is set. `dryRun` reports what would be affected without writing.

Request Information

URI Parameters

None.

Body Parameters

ClockifyWipeRequest
NameDescriptionTypeAdditional information
from

date

None.

to

date

None.

sdUserIds

Collection of integer

None.

mode

string

None.

dryRun

boolean

None.

excludeClockifyEntryIds

Collection of string

None.

deleteOrphans

boolean

None.

Request Formats

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

Sample:
{
  "from": "2026-11-16T14:20:31.8158727+00:00",
  "to": "2026-11-16T14:20:31.8158727+00:00",
  "sdUserIds": [
    1,
    2
  ],
  "mode": "sample string 3",
  "dryRun": true,
  "excludeClockifyEntryIds": [
    "sample string 1",
    "sample string 2"
  ],
  "deleteOrphans": true
}

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.