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
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p24 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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