Skip to main content
Question

I could see different API's available for Box for .net applications .I am confused which one install

  • May 22, 2025
  • 5 replies
  • 8 views

Forum|alt.badge.img

I need to create a .net console application where I need to pull all the files available in NAS location and upload it to box one by one in box folders. I am confused which box api to refer in my code. Can anyone please help me in this?

5 replies

Forum|alt.badge.img

Hey , 

 

Just to clarify are you stumped on the Box-Windows-SDK installing portion? Or need assistance in figuring out which endpoints to call in order to execute the uploading files to different Box Folders. 

 

Thanks! 


Forum|alt.badge.img

Hey Cary,

 

Thanks for the response. First of all I am not sure which endpoint to call in order to execute the uploading files to different box applications from .net

 

Thanks and Regards,

Sirisha.


Forum|alt.badge.img

Hey , 

 

I believe the call you are looking for can be found here.

 

You can specify the folder you would like to upload to in the "Parent" field for the request by specifying the folder id. In the example you will see a "0" specified because 0 is the default ID for the root folder.

 

Let me know if this is helpful and if I can assist you in anything else, thank you! 


Forum|alt.badge.img

Hi Cary,

 

Thanks for the response.I think I need to install Box Windows V2 SDK and VS 2017 is a prerequisite for this. I hope then I can create a .NET Console application with the classes and methods present in Box Windows VS SDK to upload files from a source to Box folders. Please correct me if I am wrong.

 

Thanks and Regards,

Sirisha.

.

 

 


Forum|alt.badge.img

Hi

Thanks for your post.

I have checked the link which you have provided. I have a folder structure available on my machine where the files are placed  in sublevel folders as below.

C:\\ Sirisha\\ Folder1\\Folder2\\Folder3\\ files

C:\\ Sirisha\\ Folder4\\Folder5\\Folder6\\ files

Now my requirement is to upload Folder 1 and Folder 4 to box through the API  so that sub folders as well as files inside them will get uploaded to box automatically. Is this functionality achievable through Box API?