1.6p17 CEE: Possible bug or design flaw in API call for downtime creates multiple downtimes if hostname is missing in call

Easy test is to call the view with these parameters and take a look what you see.
I would not invest to much time in this problem as the 1.7 aka 2.0 brings also changes to the complete API / Web automation things.