How to create a folder inside Parent folder in BOX.V2.Core in Dotnet
I want to create a folder inside a parent folder. If Folder already exist then it should get message folder already exist.I have Parent Folder name and New folder Name to create a Folder.
-
Official comment
Box will return a 409 error if there is already a subfolder already exists, within the given parent folder, with the same name you're trying to use.
Here's how to create a folder using our .NET SDK: https://github.com/box/box-windows-sdk-v2/blob/master/docs/folders.md#create-a-folder
You'll need to know the folder ID of the parent folder. In the example on the linked page above, Id = "0" which indicates the folder is at the root level.
Hope this helps point you in the right direction!
Best,
Kourtney, Box Developer Advocate
Comment actions
Please sign in to leave a comment.
Comments
1 comment