Global API
API Overview
3min
global class breadwinnerqbapi is a global class that can be used to make requests to quickbooks via breadwinner as it is a part of the managed package, you must prepend the namespace "breadwinner qbo" methods the method call (map\<string, object> request) is a static global method within the breadwinnerqbapi class, which can be used to make an api request format breadwinner qbo breadwinnerqbapi 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 breadwinnerqbapi call() method asynchronously, please annotate the method you are calling from with the future(callout=true), or use queueable apex example @future(callout=true) public static void createqbcustomer{ breadwinner qbo breadwinnerqbapi call(map\<string, object> request); } data in list format all data is sent and received via a list format, including single record responses this applies to both the request and the response