| Qore NetSuiteRestClient Module Reference 1.0

Loading...
Searching...
No Matches
NetSuiteRestClient Module

# NetSuiteRestClient Introduction

The NetSuiteRestClient module provides an API for calling Oracle NetSuite REST API services.

To use this module, use `"%requires NetSuiteRestClient"` in your code.

All the public symbols in the module are defined in the NetSuiteRestClient namespace.

The main classes are:

- NetSuiteRestClient: this class provides the REST client API for communuication with the NetSuite REST API; it also automates authentication and authorization to the target
- NetSuiteRestConnection: provides a REST connection object to Oracle NetSuite cloud services (based on the ConnectionProvider module)

Example:
  #!/usr/bin/env qore
  %new-style
  %strict-args
  %require-types
  %enable-all-warnings
  %requires NetSuiteRestClient
  %requires ConnectionProvider
  NetSuiteRestClient rest = get_connection("my-netsuite-connection");
  hash<auto> ans = rest.get("/some/uri/path");
  printf("%N\n", ans.body);

# Release Notes

## NetSuiteRestClient v1.0

- the initial version of the NetSuiteRestClient module