NetSuite Integration - create linked Box folder via SuiteScript
I'm using SuiteScript to connect to Box and move image files from a general inbound folder to the individual customer folders. In order to do this and maintain the linkage between NetSuite and Box, the user needs to go into the Box Files tab and click to create the Box folder for the customer (we're using the Box Bundle NetSuite integration v1.9). This creates some kind of link between the two systems.
Can I automatically create this linkage/folder from an API call, and if so, how? I've looked behind the calls and to mimic the current action, I'd need to do some kind of SSO, get redirected to a form page, and then do a POST of some kind after that. I'd really just like a single API call to create the linked folder using token based authentication.
Once created, I'd also like a single API call (again with token based auth) to get the box folder ID for a given NetSuite entity type and ID. Currently, if there are two folders with the same name at different levels of the box folder structure I'll get 2 folders when searching for the folder by simply using NetSuite's entityid - which is what Box appears to be using.
Is there a particular search criteria I can include to ensure I retrieve the correct Box folder in the case of duplicate folder names?
Is this currently possible with JWT and just not published? Or even with oauth and not published?
Any insight into the innards of this NetSuite integration would be greatly appreciated.
Thanks!
Please sign in to leave a comment.
Comments
0 comments