Ability to create schedule using APIs

Currently the APIs do not allow creating a fixed schedule. Having this ability would be great to allow creation of schedule based on local guidance (for example, where city mandates watering only on certain days based on the rain and the availability of water in reservoirs)