Can I access the file cabinet through the rest api...
# ask-stanley-ai
i
Can I access the file cabinet through the rest api?
c
AI generated answer (using internal Slack threads):
Based on the conversations from the Slack threads, it appears that the File Cabinet is not supported by the REST API in NetSuite. This means you cannot directly access or manipulate files in the File Cabinet using the REST API. However, there are alternative methods mentioned in the threads. One of them is using a Restlet, which is a custom script that provides a RESTful interface. But it's important to note that there is a file size limitation of 10MB when using Restlets. Another method mentioned is making files available without login and using the file's URL to access it. This method, however, has a security concern as anyone who knows the URL can access the file. Depending on your use case, you might want to use a SuiteLet or RESTlet that will either open the file for you or return the file content / file URL. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850136518
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847343087
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846955061
Please provide your feedback on this answer.