Downtime of host with REST-API does not work

I do not understand where the flexible downtime comes from. In the script I use “recur”: “fixed”. And I do not see the downtime in the [Status of Host] and there is no Downtime icon.