ForumsDevelopersEdit Folders doesn't get reflected!


Edit Folders doesn't get reflected!
Author Message
watodoapp

Posted: Mar 30, 2011
Score: 0 Reference
Hi i dunno what i am doing wrongly. basically i am try to get the changes from my Android apps folders to sync with Toodledo.

Say on my app the folder name is: apples22
On toodledo it is: apples

i send this http string in: http://api.toodledo.com/2/folders/edit.php?key=mykey;name=apples22;id=448534

the response i get is this
[{"id":"448534","name":"apples22","private":"0","archived":"0","ord":"4"}]

yet when i go to toodledo the changes re not shown in the folders! what could be wrong???
watodoapp

Posted: Mar 30, 2011
Score: 0 Reference
ok i found out whats wrong! this is abit stupid.

the order you specify this is important

http://api.toodledo.com/2/folders/edit.php?id=12345;name=MyFolder;key=YourKey


i jumble up the order and it doesnt work.
Jake

Toodledo Founder
Posted: Mar 31, 2011
Score: 0 Reference
I think that there is something else at play here because the order of fields doesn't matter. I just tested it to make sure. Perhaps your code is editing it twice and reverting to the old version that way.
watodoapp

Posted: Apr 05, 2011
Score: 0 Reference
thanks for reverting. i got by this issue
You cannot reply yet

U Back to topic home

R Post a reply

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