Global API
API Overview
2min
global class breadwinnernetsuiteapi is a global class that can be used to make requests to netsuite via breadwinner as it is a part of the managed package, you must prepend the namespace breadwinner ns methods the method call(map\<string, object> request) is a static global method within the breadwinnernetsuiteapi class, which can be used to make an api request breadwinner ns breadwinnernetsuiteapi call(map\<string, object> request); breadwinner accepts the request data in the form of map\<string, object> , and even returns the response data as a map\<string, object> , thus making the requests and responses dynamic for more information, please refer to the example requests and responses section note this is a synchronous method, it will make http callouts so, to access breadwinnernetsuiteapi call() method please enable callouts by annotating the future method, or use queueable apex eg @future(callout=true)