Actions83
- Absence Actions
- Attachment Actions
- Comment Actions
- Flavor Actions
- Folder Actions
- Permissions Actions
- Project Actions
- Reporting (Export) Actions
- Settings / Utilities Actions
- Status Report Actions
- Task Actions
- Time Record Actions
Settings / Utilities → Create Working Times
AI-generatedSummary
Create a new working time record for a specific user in the smenso workspace, defining their work schedule and capacities per weekday within a given date range.
Inputs
- User ID or Email (required) — The identifier (ID or email) of the user whose working times are being created.
- Start Date (required) — The start date for the working time period.
- Additional Fields — Optional fields to specify end date, daily capacities in minutes for each weekday (Monday to Sunday), an external identifier, and the timezone ID (defaults to 'W. Europe Standard Time').
Output shape
a single JSON object representing the created working time record.
The operation sends a POST request to create the working time and returns the API response JSON. Fields in 'Additional Fields' are merged into the request. Timezone defaults to 'W. Europe Standard Time' if not set. The call is asynchronous but the response contains the created record.
Examples
Example 1: Create a working time for user 'john.doe@example.com' starting 2024-01-01 with default weekday capacities.
User ID or Email: john.doe@example.com; Start Date: 2024-01-01; all other fields left default.
Example 2: Create a working time for user with ID 123, starting 2024-01-01 and ending 2024-12-31, with custom capacities on Monday and Friday.
User ID or Email: 123; Start Date: 2024-01-01; Additional Fields: End Date set to 2024-12-31, Monday (min) set to 300, Friday (min) set to 420, Timezone ID left default.