NetSuite REST Connector 1.0 Reference
Anypoint Connector for NetSuite REST (NetSuite REST Connector) uses the NetSuite REST Record Web Services API to create, read, update, delete, and query NetSuite records, run SuiteQL queries, manage batch and asynchronous jobs, and listen for record changes.
Configurations
Config
Default configuration. Timeout defaults set here are inherited by operations and sources unless you override them on the connection, operation, or source.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Name |
String |
Name for this configuration. Connectors reference the configuration with this name. |
x |
|
Connection |
The connection types to provide to this configuration. |
x |
||
Read Timeout |
Number |
Default maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. You can override this value per connection, operation, or source. |
60 |
|
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
SECONDS |
|
Connection Timeout |
Number |
Default maximum time to wait for a TCP connection to be established. Interpreted with Connection Timeout Unit. You can override this value per connection. |
60 |
|
Connection Timeout Unit |
Enumeration, one of:
|
Time unit for the Connection Timeout field. |
SECONDS |
|
Encoding |
String |
Charset for the record payloads the connector emits to the flow, including paginated and SuiteQL item explosion and the CDC sources. If blank, the connector falls back to the runtime encoding (UTF-8 by default). Wire traffic to NetSuite remains UTF-8. |
||
Name |
String |
ID used to reference this configuration. |
x |
|
Expiration Policy |
Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. |
Connection Types
OAuth 2.0 Client Credentials (JWT Bearer)
Use OAuth 2.0 client credentials with a JWT bearer assertion, signed with a private key registered in NetSuite, to authenticate to NetSuite REST.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Token Object Store |
ObjectStore |
Object Store for OAuth token persistence across cluster nodes. When unset, a persistent, config-name-keyed store is created automatically. |
||
Account ID |
String |
NetSuite account ID (for example, TSTDRV1234567 or 1234567_SB1). |
x |
|
Client ID |
String |
OAuth 2.0 Client ID from the integration record in NetSuite. |
x |
|
Certificate ID |
String |
The certificate ID (kid) registered in NetSuite for JWT signing. |
x |
|
Private Key (PEM) |
String |
PKCS#8 PEM-encoded private key (BEGIN PRIVATE KEY; EC P-256 for ES256, EC P-384 for ES384, EC P-521 for ES512, or RSA for PS256, PS384, or PS512). SEC1 keys (BEGIN EC PRIVATE KEY) are not supported. |
x |
|
Signature Algorithm |
Enumeration, one of:
|
JWT signing algorithm: ES512 (recommended), ES256, ES384, PS256, PS384, or PS512. |
ES512 |
|
Reconnection |
When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy. |
|||
Max Connections |
Number |
Maximum number of outbound HTTP connections. -1 means unlimited. |
-1 |
|
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. |
60 |
|
Read Timeout Unit |
Enumeration, one of:
|
Unit for the Read Timeout field. |
SECONDS |
|
Connection Timeout |
Number |
Maximum time to wait for a TCP connection to be established. Interpreted with Connection Timeout Unit. |
60 |
|
Connection Timeout Unit |
Enumeration, one of:
|
Unit for the Connection Timeout field. |
SECONDS |
|
Proxy Configuration |
ProxyConfig |
HTTP proxy configuration for outbound connections to NetSuite. |
||
Concurrency Management Strategy |
One of: |
A strategy for dealing with HTTP 429 (Too Many Requests) and 503 (Service Unavailable) responses. Defaults to no retry when unspecified. |
||
TLS Configuration |
Optional TLS context (custom truststore or keystore) for connections to NetSuite, which always uses HTTPS. Defaults to the JVM default truststore when unspecified. |
Operations
Add List
<ms-netsuite-rest:add-list>
Submits an asynchronous batch create request for up to 100 records. The operation returns immediately with a job ID. Record creation runs asynchronously on the NetSuite server. Use Get Async Job Status to poll for completion and Get Async Job Task Result to retrieve per-record results. This operation sends an HTTP POST to /record/v1/{recordType} with the Prefer: respond-async header.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type for every item in the batch. |
x |
|
Body |
Any |
Pre-formatted batch body as {"items": [..]} with at most 100 records. |
#[payload] |
|
Idempotency Key |
String |
Optional UUID (RFC 4122) for idempotent submission. Sent as the |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Attach Record
<ms-netsuite-rest:attach-record>
Attaches a contact or file to another record. The NetSuite REST API officially supports attaching contacts and files. When attaching a contact, you can specify the role in the body. For files, omit the body or send an empty JSON object. Both return HTTP 204 No Content on success. Both record IDs support the external ID format eid:EXTERNAL_ID. Endpoint: POST /services/rest/record/v1/{recordType}/{recordId}/!attach/{attachRecordType}/{attachRecordId}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
Type of record to attach to (for example, customer, opportunity). |
x |
|
Record ID |
String |
Internal ID or external ID (use 'eid:EXTERNAL_ID' format) of record to attach to. |
x |
|
Attach Record Type |
String |
Type of record being attached. Supported values are |
x |
|
Attach Record ID |
String |
Internal ID or external ID (use 'eid:EXTERNAL_ID' format) of record being attached. |
x |
|
Attach Body |
Any |
Optional JSON body for contact role (for example, |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Create Form
<ms-netsuite-rest:create-form>
Retrieves a prefilled create form for a new record of the specified type, with NetSuite defaults applied. You can optionally seed the form with field values (for example, entity or subsidiary) to trigger server-side defaulting. The form is not submitted. Use the returned data as a template for a subsequent Create Record call. Endpoint: POST /services/rest/record/v1/{recordType} with Accept: application/vnd.oracle.resource+json; type=create-form.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Record Body |
Any |
Optional JSON body with seed field values (for example, |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Expand Sub-Resources |
Boolean |
If true, inline sublists and sub-records via |
false |
|
Expand |
String |
Comma-separated list of specific sublists or subrecords to expand inline (for example, addressBook,currency). |
||
Fields |
String |
Comma-separated list of field names to include. When set, only these fields are returned (for example, companyName,email). |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Create Record
<ms-netsuite-rest:create-record>
Creates a new record of the specified type in NetSuite. This operation sends an HTTP POST to /record/v1/{recordType}. To help avoid duplicate records, consider using Upsert Record with an external ID instead.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Record Body |
Any |
JSON body containing the field values for the new record. |
#[payload] |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Delete List
<ms-netsuite-rest:delete-list>
Submits an asynchronous batch delete request for up to 100 records by ID. Accepts a comma-separated list of internal IDs or external IDs. For external IDs, use the eid: prefix (for example, eid:CUST-EXT-001). This operation sends an HTTP DELETE to /record/v1/{recordType}?ids=… with the Prefer: respond-async header.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type for every ID in the batch (single record type per batch). |
x |
|
IDs |
String |
Comma-separated internal IDs or external IDs with the |
x |
|
Idempotency Key |
String |
Optional UUID (RFC 4122) for idempotent submission. Sent as the |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Delete Record
<ms-netsuite-rest:delete-record>
Deletes a record by its internal ID. This operation sends an HTTP DELETE to /record/v1/{recordType}/{id}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Internal ID |
String |
The internal ID of the record to delete. |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Detach Record
<ms-netsuite-rest:detach-record>
Detaches a record (for example, a contact, employee, file, or invoice) from another record. Both record IDs support the external ID format eid:EXTERNAL_ID. Endpoint: POST /services/rest/record/v1/{recordType}/{recordId}/!detach/{detachRecordType}/{detachRecordId}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
Type of record to detach from (for example, customer, opportunity). |
x |
|
Record ID |
String |
Internal ID or external ID (use 'eid:EXTERNAL_ID' format) of record to detach from. |
x |
|
Detach Record Type |
String |
Type of record being detached (for example, contact, employee, file, or invoice). |
x |
|
Detach Record ID |
String |
Internal ID or external ID (use 'eid:EXTERNAL_ID' format) of record being detached. |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Edit Form
<ms-netsuite-rest:edit-form>
Retrieves a recalculated edit form for an existing record with proposed changes applied. The record is not modified. The response shows what the record would look like if the changes were saved. Use this to preview server-side calculations such as tax, totals, and dependent fields before you commit an update. Endpoint: PATCH /services/rest/record/v1/{recordType}/{id} with Accept: application/vnd.oracle.resource+json; type=edit-form.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Internal ID |
String |
The internal ID of the record to preview changes on. |
x |
|
Record Body |
Any |
JSON body of the record changes used to preview the update without committing it to NetSuite. |
#[payload] |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Expand Sub-Resources |
Boolean |
If true, inline sublists and sub-records via |
false |
|
Expand |
String |
Comma-separated list of specific sublists or subrecords to expand inline (for example, addressBook,currency). |
||
Fields |
String |
Comma-separated list of field names to include. When set, only these fields are returned (for example, companyName,email). |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get All Records
<ms-netsuite-rest:get-all-records>
Retrieves a collection of records with automatic pagination and optional filtering. Returns ID stubs. Use Get Record to fetch full record bodies. Use a For Each scope to process individual records. Pagination attributes such as hasMore, offset, and links are available on each item’s message attributes. Endpoint: GET /services/rest/record/v1/{recordType}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Filter Query |
String |
NetSuite filter expression (for example, 'email IS john@example.com'). Uses the same endpoint as Record Collection Query; use SuiteQL for complex queries. |
||
Page Size |
Number |
Number of records per page (maps to REST API limit param; default: 100). |
100 |
|
Max Total Results |
Number |
Maximum total records to return across all pages (-1 = unlimited; default: -1). |
-1 |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Output
Type |
Array of Message of Binary payload and NetSuite REST Attributes attributes |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Async Job Status
<ms-netsuite-rest:get-async-job-status>
Retrieves the current status of an asynchronous job. Poll this operation until completed is true. While the job is in progress, progress is processing. On success it becomes succeeded. endTime is absent until the job finishes. When completed is true, use Get Async Job Task List to retrieve task IDs, then Get Async Job Task Result for per-record results. This operation sends an HTTP GET to /async/v1/job/{jobId}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Job ID |
String |
The async job ID returned by a batch operation (for example, Add List, Update List, or Get List). |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Async Job Task List
<ms-netsuite-rest:get-async-job-task-list>
Retrieves the list of tasks for a completed asynchronous job. Call this after Get Async Job Status reports completed: true. The response contains a links array. Extract task IDs from the last path segment of each href (for example, /async/v1/job/{jobId}/task/{taskId}). This operation sends an HTTP GET to /async/v1/job/{jobId}/task/.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Job ID |
String |
The async job ID whose tasks should be listed. |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Async Job Task Result
<ms-netsuite-rest:get-async-job-task-result>
Retrieves the result of a single task within an asynchronous job. Call this for each task ID from Get Async Job Task List. Successful tasks return an empty body {}. Failed tasks return a body that describes the failure. Check attributes.statusCode to distinguish success (2xx) from failure (4xx/5xx). This operation sends an HTTP GET to /async/v1/job/{jobId}/task/{taskId}/result.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Job ID |
String |
The async job ID. |
x |
|
Task ID |
String |
The task ID whose result should be retrieved. Extract this ID from the Get Async Job Task List response. |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Governance Limits
<ms-netsuite-rest:get-governance-limits>
Retrieves governance concurrency limits for the current account and integration. Returns account-level limits (total and unallocated) and integration-level limits (allocated concurrency and limit type). Requires admin-level permissions. The integrationConcurrencyLimit field is present only when integrationLimitType is integrationSpecific. Endpoint: GET /services/rest/system/v1/governanceLimits.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get List
<ms-netsuite-rest:get-list>
Submits an asynchronous batch read request for up to 100 records by ID. Accepts a comma-separated list of internal IDs or external IDs. For external IDs, use the eid: prefix. Quote external IDs that contain spaces (for example, eid:'ext ID with spaces'). When Expand Records is true, full record bodies are included. Otherwise only metadata is returned. This operation sends an HTTP GET to /record/v1/{recordType}?ids=…&expandRecords=… with the Prefer: respond-async header.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type for every ID in the batch (single record type per batch). |
x |
|
IDs |
String |
Comma-separated internal IDs or external IDs with the |
x |
|
Idempotency Key |
String |
Optional UUID (RFC 4122) for idempotent submission. Sent as the |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Expand Sub-Resources |
Boolean |
If true, inline sublists and sub-records via |
false |
|
Expand |
String |
Comma-separated list of specific sublists or subrecords to expand inline (for example, addressBook,currency). |
||
Fields |
String |
Comma-separated list of field names to include. When set, only these fields are returned (for example, companyName,email). |
||
Expand Records |
Boolean |
Whether to include full record bodies in each task result. |
true |
|
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Record
<ms-netsuite-rest:get-record>
Retrieves a record by internal ID or external ID. Provide exactly one of Internal ID or External ID. When Expand Sub-Resources is true, sublists and sub-records (for example, addressBook and contacts) are inlined in the response instead of returned as links. This operation sends an HTTP GET to /record/v1/{recordType}/{id} or /record/v1/{recordType}/eid:{externalId}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Expand Sub-Resources |
Boolean |
If true, inline sublists and sub-records (addressBook, contacts, etc.) via |
false |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Internal ID |
String |
The internal ID of the record to retrieve. |
||
External ID |
String |
The external ID of the record to retrieve (alternative to Internal ID). |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Record Metadata
<ms-netsuite-rest:get-record-metadata>
Retrieves the OpenAPI metadata schema for a record type, including field definitions, data types, required fields, and valid select values. You can use this metadata for validation or documentation. This operation sends an HTTP GET to /record/v1/metadata-catalog/{recordType} with Accept: application/swagger+json.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder). |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Record Types Catalog
<ms-netsuite-rest:get-record-types-catalog>
Retrieves the list of available record types from the metadata catalog, including standard and custom types with their internal names and labels. When Select has a single value (for example, customer), the API returns a single record-type object instead of an items collection. For reliable results, use a single Select value. This operation sends an HTTP GET to /record/v1/metadata-catalog/, optionally with ?select=type.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Select |
String |
Optional comma-separated record type names to retrieve from the catalog (for example, |
||
As Swagger Spec |
Boolean |
When |
false |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Select Value
<ms-netsuite-rest:get-select-value>
Retrieves select-option metadata for one or more fields on a record type, with automatic pagination. Each For Each iteration yields one select-option object (for example, {"id": 16, "refName": "Active"}), with page attributes copied onto each item. Endpoint: POST /services/rest/record/v1/{recordType}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Fields |
String |
Comma-separated list of field names to retrieve select options for, passed as the |
x |
|
Page Size |
Number |
Number of select options per page (maps to REST API limit param; default: 100). |
100 |
|
Max Total Results |
Number |
Maximum total select options to return across all pages (-1 = unlimited; default: -1). |
-1 |
|
Record Body |
Any |
Optional JSON body that provides record context used to filter the returned select options (for example, based on parent record state). |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Output
Type |
Array of Message of Binary payload and NetSuite REST Attributes attributes |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Get Server Time
<ms-netsuite-rest:get-server-time>
Retrieves the current NetSuite server time in UTC, regardless of the user’s time zone. Useful for synchronization that must compare against server time rather than client time. Endpoint: GET /services/rest/system/v1/serverTime.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Initialize Record (Transform)
<ms-netsuite-rest:initialize-record>
Transforms a source record into a target record type and pre-populates fields (for example, salesOrder to invoice). Returns a prefilled form that is not submitted. You can modify the form before you submit it with Create Record. Endpoint: POST /services/rest/record/v1/{sourceType}/{id}/!transform/{targetType} with Accept: application/vnd.oracle.resource+json; type=create-form.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Source Record Type |
String |
The source record type (for example, salesOrder). |
x |
|
Source Internal ID |
String |
The internal ID of the source record. |
x |
|
Target Record Type |
String |
Target record type to transform into (for example, invoice). |
x |
|
Override Fields |
Any |
Optional JSON body with field overrides to apply on top of the prefilled defaults. |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Expand Sub-Resources |
Boolean |
If true, inline sublists and sub-records via |
false |
|
Expand |
String |
Comma-separated list of specific sublists or subrecords to expand inline (for example, addressBook,currency). |
||
Fields |
String |
Comma-separated list of field names to include. When set, only these fields are returned (for example, companyName,email). |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
SuiteQL Query
<ms-netsuite-rest:suiteql-query>
Runs a SuiteQL query against NetSuite data with automatic pagination. SuiteQL is a SQL-like query language that provides direct access to NetSuite records without needing structured search criteria. This operation uses Mule’s PagingProvider framework. Use a For Each scope to process individual rows (each page’s items array is exploded). Pagination attributes are available on each item’s message attributes. This is a REST-only operation with no direct SOAP equivalent. The closest SOAP analog is the search operation, but they use fundamentally different approaches: SOAP uses structured XML criteria with metadata resolution, while SuiteQL uses raw SQL-like query strings. Endpoint: POST /services/rest/query/v1/suiteql.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Query |
String |
SuiteQL query string (for example, SELECT id, companyname FROM customer WHERE companyname LIKE 'A%'). |
x |
|
Page Size |
Number |
Number of rows per page (maps to REST API limit param; default: 100). |
100 |
|
Max Total Results |
Number |
Maximum total rows to return across all pages. The default of 100000 matches NetSuite’s hard cap per query. Set to |
100000 |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Output
Type |
Array of Message of Binary payload and NetSuite REST Attributes attributes |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Update List
<ms-netsuite-rest:update-list>
Submits an asynchronous batch update request for up to 100 records. Each item must include id or externalId to identify the record. Only fields included in each item are updated (merge-patch semantics). This operation sends an HTTP PATCH to /record/v1/{recordType} with the Prefer: respond-async header.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type for every item in the batch (single record type per batch). |
x |
|
Body |
Any |
Request body in NetSuite format: {"items": [..]}. Each item must have ID or externalId. Max 100 items per request. |
#[payload] |
|
Idempotency Key |
String |
Optional UUID (RFC 4122) for idempotent submission. Sent as the |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Update Record
<ms-netsuite-rest:update-record>
Updates an existing record with a partial update (merge-patch semantics). Only fields in the request body are updated. Omitted fields are left unchanged. This operation sends an HTTP PATCH to /record/v1/{recordType}/{id}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
Internal ID |
String |
The internal ID of the record to update. |
x |
|
Record Body |
Any |
JSON body of the record fields to update. Set a field to |
#[payload] |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Upsert List
<ms-netsuite-rest:upsert-list>
Submits an asynchronous batch upsert request for up to 100 records. Each item must have externalId or id. If both are provided, the internal ID takes precedence. If a matching record exists, it is updated. Otherwise a new record is created. This operation sends an HTTP PUT to /record/v1/{recordType} with the Prefer: respond-async header.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type for every item in the batch (single record type per batch). |
x |
|
Body |
Any |
Request body in NetSuite format: {"items": [..]}. Each item must have |
#[payload] |
|
Idempotency Key |
String |
Optional UUID (RFC 4122) for idempotent submission. Sent as the |
||
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Upsert Record
<ms-netsuite-rest:upsert-record>
Creates or updates a record by using its external ID. If a record with that external ID exists, it is updated. Otherwise a new record is created. This operation uses HTTP PUT semantics and requires all mandatory fields in the body. This operation sends an HTTP PUT to /record/v1/{recordType}/eid:{externalId}.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
The NetSuite record type (for example, customer, salesOrder, invoice). |
x |
|
External ID |
String |
The external ID of the record. Creates the record if it is not found and updates it if it exists. Because an external ID is required, upsert is supported only for record types that have an external ID field. |
x |
|
Record Body |
Any |
JSON body containing field values. Must include all mandatory fields for creation. |
#[payload] |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable. |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Throws
-
MS-NETSUITE-REST:BAD_REQUEST
-
MS-NETSUITE-REST:CONFLICT
-
MS-NETSUITE-REST:CONNECTIVITY
-
MS-NETSUITE-REST:FORBIDDEN
-
MS-NETSUITE-REST:INTERNAL_SERVER_ERROR
-
MS-NETSUITE-REST:NETSUITE_ERROR
-
MS-NETSUITE-REST:NOT_FOUND
-
MS-NETSUITE-REST:RETRY_EXHAUSTED
-
MS-NETSUITE-REST:SERVICE_UNAVAILABLE
-
MS-NETSUITE-REST:TOO_MANY_REQUESTS
-
MS-NETSUITE-REST:UNAUTHORIZED
-
MS-NETSUITE-REST:VALIDATION
Sources
On Deleted Object
<ms-netsuite-rest:deleted-object-listener>
Polls NetSuite for deleted-record metadata and emits an event for each deletion found. Queries the deletedrecord SuiteQL table filtered on deleteddate and the case-sensitive uppercase type column. Emitted rows are deletion metadata (for example, record ID, type, and deleted date), not the deleted record’s full body. If the deletedrecord table is unavailable, the connector raises a typed connector error instead of a raw SuiteQL parse error.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
NetSuite record type to poll (for example, customer). For On Deleted Object, this is matched case-insensitively against the deletedrecord 'type' column. |
x |
|
Start Date |
String |
Calendar-day lower bound for the first poll when no watermark has been stored yet (for example, 2025-01-15). Only the date portion is used. If omitted, the source defaults to today in the configured Start Timezone (or UTC if that is also omitted). |
||
Start Timezone |
String |
IANA timezone used to compute today when neither a stored watermark nor a Start Date is present (for example, America/Los_Angeles). |
UTC |
|
Page Size |
Number |
Rows fetched per SuiteQL page (1-1000). The source paginates until a short/last page is reached. |
100 |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Primary Node Only |
Boolean |
Determines whether to execute this source on only the primary node when running Mule instances in a cluster. |
true |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Scheduling Strategy |
SchedulingStrategy |
Configures the scheduler that triggers the polling. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Redelivery Policy |
Defines a policy for processing the redelivery of the same message. |
|||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
On Modified Object
<ms-netsuite-rest:modified-object-listener>
Polls NetSuite for records of a specified type that were created or updated since the last poll and emits an event for each one found. Filters on lastmodifieddate, which is set on insert and on update, so this source includes both new and later-modified records. Cluster and watermark behavior matches On New Object.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
NetSuite record type to poll (for example, customer). |
x |
|
Start Date |
String |
Calendar-day lower bound for the first poll when no watermark has been stored yet (for example, 2025-01-15). Only the date portion is used. If omitted, the source defaults to today in the configured Start Timezone (or UTC if that is also omitted). |
||
Start Timezone |
String |
IANA timezone used to compute today when neither a stored watermark nor a Start Date is present (for example, America/Los_Angeles). |
UTC |
|
Page Size |
Number |
Rows fetched per SuiteQL page (1-1000). The source paginates until a short/last page is reached. |
100 |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Primary Node Only |
Boolean |
Determines whether to execute this source on only the primary node when running Mule instances in a cluster. |
true |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Scheduling Strategy |
SchedulingStrategy |
Configures the scheduler that triggers the polling. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Redelivery Policy |
Defines a policy for processing the redelivery of the same message. |
|||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
On New Object
<ms-netsuite-rest:new-object-listener>
Polls NetSuite for records of a specified type that were created since the last poll and emits an event for each one found. Filters on datecreated. In a cluster, only the primary node polls by default. The watermark ObjectStore is shared so a failover can resume from the persisted boundary day with at-least-once delivery.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Record Type |
String |
NetSuite record type to poll (for example, customer). |
x |
|
Start Date |
String |
Calendar-day lower bound for the first poll when no watermark has been stored yet (for example, 2025-01-15). Only the date portion is used. If omitted, the source defaults to today in the configured Start Timezone (or UTC if that is also omitted). |
||
Start Timezone |
String |
IANA timezone used to compute today when neither a stored watermark nor a Start Date is present (for example, America/Los_Angeles). |
UTC |
|
Page Size |
Number |
Rows fetched per SuiteQL page (1-1000). The source paginates until a short/last page is reached. |
100 |
|
Output Mime Type |
String |
The MIME type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Primary Node Only |
Boolean |
Determines whether to execute this source on only the primary node when running Mule instances in a cluster. |
true |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Scheduling Strategy |
SchedulingStrategy |
Configures the scheduler that triggers the polling. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Redelivery Policy |
Defines a policy for processing the redelivery of the same message. |
|||
Read Timeout |
Number |
Maximum time to wait for a response from NetSuite. Interpreted with Read Timeout Unit. Overrides the config default when set. |
||
Read Timeout Unit |
Enumeration, one of:
|
Time unit for the Read Timeout field. |
||
Reconnection Strategy |
Retry strategy in case of connectivity errors. |
Types
Reconnection
Configures a reconnection strategy for an operation.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Fails Deployment |
Boolean |
When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy. |
||
Reconnection Strategy |
Reconnection strategy to use. |
Reconnect
Configures a standard reconnection strategy, which specifies how often to reconnect and how many reconnection attempts the connector source or operation can make.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Frequency |
Number |
How often to attempt to reconnect, in milliseconds. |
||
Blocking |
Boolean |
If |
||
Count |
Number |
How many reconnection attempts the Mule app can make. |
Reconnect Forever
Configures a forever reconnection strategy by which the connector source or operation attempts to reconnect at a specified frequency for as long as the Mule app runs.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Frequency |
Number |
How often to attempt to reconnect, in milliseconds. |
||
Blocking |
Boolean |
If |
TLS
Configures TLS to provide secure communications for the Mule app.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Enabled Protocols |
String |
Comma-separated list of protocols enabled for this context. |
||
Enabled Cipher Suites |
String |
Comma-separated list of cipher suites enabled for this context. |
||
Trust Store |
Configures the TLS truststore. |
|||
Key Store |
Configures the TLS keystore. |
|||
Revocation Check |
Configures a revocation checking mechanism. |
Truststore
Configures the truststore for TLS.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Path |
String |
Path to the truststore. Mule resolves the path relative to the current classpath and file system. |
||
Password |
String |
Password used to protect the truststore. |
||
Type |
String |
Type of store. |
||
Algorithm |
String |
Algorithm that the truststore uses. |
||
Insecure |
Boolean |
If |
Keystore
Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a public certificate.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Path |
String |
Path to the keystore. Mule resolves the path relative to the current classpath and file system. |
||
Type |
String |
Type of store. |
||
Alias |
String |
Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file. |
||
Key Password |
String |
Password used to protect the private key. |
||
Password |
String |
Password used to protect the keystore. |
||
Algorithm |
String |
Algorithm that the keystore uses. |
Standard Revocation Check
Configures standard revocation checks for TLS certificates.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Only End Entities |
Boolean |
Which elements to verify in the certificate chain:
Verify only the last element in the certificate chain.
Verify all elements in the certificate chain. |
||
Prefer Crls |
Boolean |
How to check certificate validity:
Check the Certification Revocation List (CRL) for certificate validity.
Use the Online Certificate Status Protocol (OCSP) to check certificate validity. |
||
No Fallback |
Boolean |
Whether to use the secondary method to check certificate validity:
Use the method that wasn’t specified in the Prefer Crls field (the secondary method) to check certificate validity.
Do not use the secondary method to check certificate validity. |
||
Soft Fail |
Boolean |
What to do if the revocation server can’t be reached or is busy:
Avoid verification failure.
Allow the verification to fail. |
Custom OCSP Responder
Configures a custom OCSP responder for certification revocation checks.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Url |
String |
URL of the OCSP responder. |
||
Cert Alias |
String |
Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore. |
CRL File
Specifies the location of the certification revocation list (CRL) file.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Path |
String |
Path to the CRL file. |
Expiration Policy
Configures an expiration policy strategy.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Max Idle Time |
Number |
Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. |
||
Time Unit |
Enumeration, one of:
|
Time unit for the Max Idle Time field. |
NetSuite REST Attributes
Provides metadata about a NetSuite REST API response, such as pagination details, HATEOAS links, and the ID of the record that the operation acted on.
For Create Record (POST), the Location header contains the new record’s URL (for example, /record/v1/customer/123). The connector parses that value into Record Id when present.
For collection, SuiteQL, and select-value operations, the pagination fields from the JSON envelope (hasMore, offset, totalResults, and the HATEOAS links map) are copied onto each exploded item so DataWeave can read attributes.hasMore and attributes.links['next'] without re-parsing the payload. On singular-record, empty (204), non-paged, or non-JSON responses, Has More defaults to false, numeric fields are null, and Links is an empty map.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Has More |
Boolean |
Whether more results are available beyond the current page. |
||
Headers |
Object |
Map of HTTP headers in the message. |
||
Links |
Object |
Map of HATEOAS links related to the record. |
||
Offset |
Number |
Offset of the current page of results. |
||
Record Id |
String |
Internal ID of the record that the operation acted on. |
||
Status Code |
Number |
HTTP status code of the response. |
||
Total Results |
Number |
Total number of results available across all pages. |
Repeatable In Memory Stream
Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX buffer size. Always run performance tests to find the optimal buffer size for your specific use case.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Initial Buffer Size |
Number |
Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of Max Buffer Size value. |
||
Buffer Size Increment |
Number |
This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full. |
||
Max Buffer Size |
Number |
Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a |
||
Buffer Unit |
Enumeration, one of:
|
Unit for the Initial Buffer Size, Buffer Size Increment, and Max Buffer Size fields. |
Repeatable File Store Stream
Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream content in memory. If the stream content is larger than the configured buffer size, Mule backs up the buffer’s content to disk and then clears the memory.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
In Memory Size |
Number |
Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:
|
||
Buffer Unit |
Enumeration, one of:
|
Unit for the In Memory Size field. |
Redelivery Policy
Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Max Redelivery Count |
Number |
Maximum number of times that a redelivered request can be processed unsuccessfully before returning a REDELIVERY_EXHAUSTED error. |
||
Message Digest Algorithm |
String |
Secure hashing algorithm to use if the Use Secure Hash field is |
||
Message Identifier |
One or more expressions that determine if a message was redelivered. This property can be set only if the Use Secure Hash field is |
|||
Object Store |
ObjectStore |
Configures the object store that stores the redelivery counter for each message. |
Redelivery Policy Message Identifier
Configures how to identify a redelivered message and how to find out when the message was redelivered.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Use Secure Hash |
Boolean |
If |
||
Id Expression |
String |
One or more expressions that determine when a message was redelivered. You can set this property only if the Use Secure Hash field is |
Error Mapping
Maps an error type thrown by the operation to a different Mule error type that your app can catch.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Source |
Enumeration, one of:
|
Source of the error. |
||
Target |
String |
The Mule error type to map to. |
x |
Repeatable In Memory Iterable
Configures the in-memory iterable strategy by which Mule keeps a configured number of instances in memory to provide random access to the stream. Always run performance tests to find the optimal buffer size for your specific use case.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Initial Buffer Size |
Number |
The amount of instances that is initially allowed to be kept in memory to consume the stream and provide random access to it. If the stream contains more data than can fit into this buffer, then the buffer expands according to the Buffer Size Increment attribute, with an upper limit of Max Buffer Size. Default value is 100 instances. |
||
Buffer Size Increment |
Number |
This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full. Default value is 100 instances. |
||
Max Buffer Size |
Number |
Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a |
Repeatable File Store Iterable
Configures the repeatable file-store iterable strategy by which Mule keeps a configured number of instances in memory. If the number of instances exceeds the configured limit, Mule buffers the remaining instances to disk.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
In Memory Objects |
Number |
The maximum amount of instances to keep in memory. If more than that is required, content on the disk is buffered. |
||
Buffer Unit |
Enumeration, one of:
|
Unit for the In Memory Objects field. |
Randomized Exponential Backoff
Configures a retry strategy that uses randomized exponential backoff (full jitter) for HTTP 429 (Too Many Requests) and 503 (Service Unavailable) responses. Only Max Retries and Max Retry Delay Timeout (with its unit) are user-configurable. Retry-After handling and related defaults are applied automatically.
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Max Retries |
Number |
Maximum number of retry attempts for HTTP 429 and 503 responses. Values above 200 are clamped to 200; negative values are treated as 0. |
15 |
|
Max Retry Delay Timeout |
Number |
Maximum delay between retries. Interpreted with Max Retry Delay Timeout Unit. |
64 |
|
Max Retry Delay Timeout Unit |
Enumeration, one of:
|
Time unit for the Max Retry Delay Timeout field. |
SECONDS |



