c# Update parent id of a folder in box.com via we application.
Hi
I have created a web application, and integrated web application with box.com.
Now our requirement is to create a file/folder and after creating folder/file in box.com we have to update parent.id of folder to associate with another folder in box.com.
I was working .net with c#.
Any help/suggestion would be helpful for me.
Thanks
-
Hi,
There is no API to convert the parent id of a certain folder. However, you could use copy API to copy the folder into some other folder and then delete the current folder.
https://developer.box.com/v2.0/reference#copy-a-folder
and use delete API on the source folder with recursive : true to delete all contents inside the folder as well.
https://developer.box.com/v2.0/reference#delete-a-folder
Hope this helps.
Thanks,
Bibek
Please sign in to leave a comment.
Comments
1 comment