Sign in

Update timesheet submission rules

documented

Update timesheet submission rules for a workschedule.

PUT /workschedules/{workscheduleId}/timesheet_submission_rulesTimesheetsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.wrike.com/api/v4/workschedules/{{$workscheduleId}}/timesheet_submission_rules" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"per_day": {"monday": {{$monday_hours}}, "tuesday": {{$tuesday_hours}}, "wednesday": {{$wednesday_hours}}, "thursday": {{$thursday_hours}}, "friday": {{$friday_hours}}, "saturday": {{$saturday_hours}}, "sunday": {{$sunday_hours}}}, "per_week": {"hours": {{$weekly_hours}}}, "mode": "{{$mode}}"}'
Update timesheet submission rules · Wrike · OpenIntegrations