POST api/timesheet/clockify/sync/week/state
Move a whole (user, week) between Saved and Submitted. Clockify approval is weekly, per person, so every entry in that week moves at once. Mirrors the SQL of TimesheetManager.SubmitTimesheet / ResetTimesheet (sd$association + sd$timesheets + sd$timesheetHistory) WITHOUT the holiday-insertion block. No workflow engine.
Request Information
URI Parameters
None.
Body Parameters
ClockifyWeekStateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| sdUserId | integer |
None. |
|
| weekEnding | date |
None. |
|
| targetStatus | string |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"sdUserId": 1,
"weekEnding": "2026-11-16T14:20:33.133663+00:00",
"targetStatus": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample:
Sample not available.