Zoho projects API unable to create subtask with start date

Zoho projects API unable to create subtask with start date

Good morning, 

I noticed a bug with the Zoho projects API.  When creating a task, I was able to create a task and set the start date and end date.  However, when creating the subtask I was unable to set the start and end date. 

Python pseudocode follows:

# Create the root task
post_params = {'authtoken': authtoken, 
               'name': task_name, 
               'start_date':  '11-01-2017' ,
                                'end_date':  '12-01-2017' ,  
               'person_responsible': assigned_person,
               'priority': priority,
               'tasklist_id': tasklist,
               'description': html_desc
               }

# Get Task ID and create task
task_id = str(requests.post(base_url_task,post_params).json()['tasks'][0]['id'])

base_url_subtask = base_url + 'tasks/' + task_id + '/subtasks/'
post_params = {'authtoken': authtoken, 
               'name': subtask_name, 
               'start_date': '11-01-2017', 
               'end_date': '12-01-2017', 
               'person_responsible': subperson_responsible,
               'priority': subpriority,
               'description': subhtml_desc
               }
response_new = requests.post(base_url_subtask,post_params)

If I comment out the lines with the  start_date and  end_date then this works; however, this works with the line(s) commented out.  

PS...The above should be considered pseudocode, as it is not exactly what I am using in my code.

Alex