Werk #15378: timeperiod: day & time_ranges now load defaults when not included in the request

Component REST API
Title timeperiod: day & time_ranges now load defaults when not included in the request
Date Mar 1, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p24 2.2.0b1 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

This werk is to fix an issue when creating time periods via the rest-api. Previously when creating a time period, you could send an empty nested value for active_time_ranges. Now, if the attributes, day or time_ranges are not given, the defaults are used.

To the list of all Werks