OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation updates the status of a specific weekday in a work schedule, marking it as either a working day or a weekend day. It is useful for managing and customizing work calendars programmatically, such as setting company holidays, adjusting weekly shifts, or defining non-working days dynamically.

Practical examples include:

  • Automatically marking public holidays as non-working days.
  • Adjusting work schedules for different teams or regions.
  • Integrating with HR systems to reflect employee-specific workdays.

Properties

Name Meaning
Day The week day number from 1 to 7, where 1 represents Monday and 7 represents Sunday.
Type The type of schedule entry; only "Week Day" is supported here.
Working Boolean indicating if the specified day is a working day (true) or a weekend day (false).

Output

The node outputs JSON data reflecting the updated work schedule day. This typically includes confirmation of the day updated and its new working status. No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating requests to the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in credentials.
  • The node uses the OpenProject REST API to perform the update operation.

Troubleshooting

  • Invalid Day Number: Providing a day number outside the range 1-7 may cause errors. Ensure the day value is within this range.
  • Authentication Errors: Missing or incorrect API credentials will prevent successful updates. Verify that the API key and base URL are correctly set.
  • API Connectivity Issues: Network problems or incorrect endpoint URLs can cause request failures. Check network connectivity and credential configuration.
  • Unsupported Type: Only the "Week Day" type is supported for this operation. Using other types may result in errors.

Links and References

Discussion