I am trying to update a subtask. More specifically just the due date. I have tried several things and have failed. This is what I have tried so far:
Attempt 1: URL: https://app.asana.com/api/1.0/tasks/ JSON: {"data":{"due_on":"6/18/2017 12:00:00 AM"}} Error: The remote server returned an error: (400) Bad Request.
Attempt 2: Added a parent id to JSON request URL: /tasks/ JSON: ParentID is masked for security reasons {"data":{"due_on":"6/18/2017 12:00:00 AM","parent":{"id":################,"name":null}}} Error: The remote server returned an error: (400) Bad Request.
attempt 3: using /subtask in URL URL: /tasks//subtasks/ JSON: {"data":{"due_on":"6/18/2017 12:00:00 AM"}} ERROR: The remote server returned an error: (404) Not Found
What should be the correct URL to send the JSON request and what should be in the request to modify the subtask due date ?
Any help is greatly appreciated. Thanks Viv