That's the wrong URI. You need to use the <entry>'s edit URI (/feeds/ documents/.. feed): http://docs.google.com/feeds/documents/private/full/folder%3AFOLDER_ID/VERSION
Refer to: http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#TrashingDocs Eric On Dec 18, 2:26 am, CianoIT <[email protected]> wrote: > Hi guys, > i write a function for delete a folder by id, this function not work's > and return this error: > Execution of request > failed:http://docs.google.com/feeds/folders/private/full/folder:8163a121-376... > ---> System.Net.WebException: Errore del server remoto: (400) > Richiesta non valida. > > why? where is the problem? > > this is a function: > public void DeleteFolder(string idfolder) > { > string strUri = "http://docs.google.com/feeds/folders/private/full/ > folder%3A" + idfolder; > Uri myfeeduri = new Uri(strUri); > myService.Delete(myfeeduri); > > } > > where idfolder is unique id, for example 8163a121-3764-47e5-bfce- > a36e642e7396 and myservice is a documentservice. > > thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
