Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Rescheduled tasks created as completed



AuthorMessage
c.e.perry

Posted: Apr 15, 2009
Score: 0



When I complete a task locally and then sync the edit back to Toodledo with the "reschedule=1" option, Toodledo creates the new rescheduled task in the completed state. Is that right? It seems that a newly created task should be created uncompleted. Here's the API call I'm using (with the key changed):

http://api.toodledo.com/api.php?method=editTask;key=da91a73ce4313d20e4ThisIsAFakeKey;id=16348507;fol der=0;context=0;startdate=2009-04-15;duedate=0000-00-00;completed=1;completedon=2009-04-15;repeat=50 ;rep_advanced=Every 1 day;reschedule=1;status=0
Jake

Toodledo Admin
Posted: Apr 16, 2009
Score: 0



When you pass "reschedule=1" what should happen is that the task you are editing will be moved forward and be toggled to be uncompleted, and a new completed task will be inserted in the past to represent the old completed task.

So, you'll keep the same task ID number for each future version. It just keeps moving the same task ID forward and forward. New completed tasks are inserted in the past for historical purposes.


This message was edited Apr 16, 2009.
You cannot reply yet


To participate in these forums, you must be signed in.



Toodledo Forums > Developers