You are not logged in.
Pages: 1
here is below the method I am trying to use in my API code to create new parent folder.
Folders.CreateFolder/params={"folderName"="koko",parentid=0,"type"="FOLDER"}
but unfortunately I received this bad error input!
{"result":{"api":"BAD_INPUT","action":"API_ERROR","debug":"Parameter, 'type' not found for 'Createfolder' action."}}
How I can solve this error ? Appreciate your kind help
Thanks
Ash.
Offline
Hi Ash,
Could you supply the JSON output produced by your code. It should look similar to this:
"apiVersion": "1.0.1", "action": "folders.CreateFolder", "inParams": { "folderName": "koko", "parentId": 0, "type": "FOLDER", "description": "A test folder", "folderDate": 1403166530, "options": "", "searchParams": "" }, "sessionId": "Y-eDhhjkDzrstcahkA4Hyju-vwQN3D-z" }
Best Regards,
Steve
Offline
Hi Steve I managed to create new folder.
Thank you so much
Ash.
Offline
is it possible to rename the folder using the API ?
Offline
Yes, you can use Folders_SetName:
http://yoursite.com/apidocumentation.tl … rs_SetName
Best Regards,
Steve
Offline
Cheers for that have a good day.
Offline
Pages: 1