---
title: API Overview
slug: netsuite/api-overview
description: Learn how to use the BreadwinnerNetSuiteAPI, a powerful global class that enables users to send requests to NetSuite through Breadwinner. With its static global method, ".call()", users can make API requests and receive data in the form of a dynamic Map<S
docTags: 
createdAt: 2021-09-13T21:15:26.000Z
---

### 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.

```apex
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)`





