# NetSuite SOAP pagination method

## Overview

This pagination method has been developed specifically for the NetSuite SOAP connector. It should not be used with other systems. &#x20;

## Pagination options

<table><thead><tr><th width="284">Option</th><th>Summary</th></tr></thead><tbody><tr><td>Limit</td><td>Enter the number of items to be returned per page. For example: <code>50</code>.</td></tr><tr><td>XPATH to the search ID field in the response</td><td>Enter the XPath to the <em>ID</em> field in your request responses.</td></tr><tr><td>XPATH to the total pages field in the response </td><td>Enter the XPath to the <em>total pages</em> field in your request responses.</td></tr></tbody></table>

## Special notes

To find the required xPaths, tools such as [xPath finder](https://xmltoolbox.appspot.com/xpath_generator.html) can be useful. Paste in a sample NetSuite SOAP response (first page) to obtain the required paths to fields.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/developer-hub/connector-builder/building-your-own-connector/4-endpoints/endpoint-options/pagination/netsuite-soap-pagination-method.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
