Is it possible for the “file” record to be availab...
# ask-stanley-ai
r
Is it possible for the “file” record to be available using REST?
c
AI generated answer (using internal Slack threads):
Yes, it is possible for the “file” record to be available using REST. However, as per the conversations, it seems that the feature to retrieve a file from the file cabinet using the new REST web services is not yet fully supported. In SuiteScript, you can load a File Record using the N/file Module. For returning custom record attachments using SuiteScript 2.0 in RESTlet, you can read the file and send it as part of the JSON response. It will be base64 encoded. ****** 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.841815412
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832700789
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822152674
Please provide your feedback on this answer.