https://netsuiteprofessionals.com logo
b

Brian Brown

05/06/2022, 4:34 PM
Any way to upload files to the NetSuite FILE CABINET via SuiteTalk?
d

dbarnett

05/06/2022, 5:52 PM
n

NS Admin

05/10/2022, 12:32 PM
We ended up building a RESTlet and wrote a C# app to call it that way. We needed to attach to records while adding it to file cabinet and that seems like the easiest way for us.
b

Brian Brown

05/10/2022, 12:32 PM
Ahhh ty @Shawn Talbert and @NS Admin
Exactly what I was looking for there. I figured it wasn't possible natively with SuiteTalk. To upload a file to the FILE CABINET
d

dbarnett

05/10/2022, 12:40 PM
it is possible though? you shouldn't needed a secondary RESTlet or anything you can even just do through raw POST with XML in whatever language you prefer, you don't necessarily need to use particular C#/Java app
n

NS Admin

05/10/2022, 12:43 PM
Yeah, if you just want it in the file cabinet, that is possible. Our use case needed it attached to an existing record, so there needed to be logic in code to handle those use cases.
👍 1
b

Brian Brown

05/10/2022, 12:44 PM
Ahh, so it is possible natively? To use SOAP API maybe? What about with REST API? Possible to upload a file to the FILE CABINET?
d

dbarnett

05/10/2022, 1:25 PM
yah just SOAP Api in whatever implementation you choose doesn't look like File is exposed in REST Api https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2022.1/index.html
s

Shawn Talbert

05/10/2022, 2:56 PM
also, I see no reason you can't attach a file to a record using the SOAP api.
That said, we often use a RESTlet framework for external integration that makes such operations a 'low-code' experience for the restlet command developer.
b

battk

05/10/2022, 5:34 PM
File and attach detail how soap webservices handle uploading files and attaching them
there are no rest web services equivalents