Wow, a lot of doc on API! Trying to sort thru it all.
I have an in-house ASP.NET web forms app that displays information for an order. I want to put a link on the page that will pull up a given .pdf file that is stored in the our companies Box folder available to anyone using the web page (read only).
I will know the folder path/name where the file will be stored as well as the exact file name (order#.pdf).
So looking thru the doc, I believe the function I want is the "Get Shared Link" from https://developer.box.com/reference
string fileId = "11111";
BoxFile file = await client.FilesManager.GetInformationAsync(fileId);
string sharedLinkUrl = file.SharedLink.Url;
Then the link I want to put on the page is passed in from file.SharedLink.Url. Correct?
The piece I am not finding is how do I get "fileId" of a file when I know it's path and name?
Is there a function for that?
Thanks