RE: How to get more than 1000 saved searchs using SOAP method

When I am using the below request I am getting 1000 records


<getSavedSearch xmlns="urn:messages_2023_1.platform.webservices.netsuite.com">

<record searchType="transaction"/>

</getSavedSearch>

I need to get all saved searches

This is how I am trying to do the pagination using pageSize and pageIndex values in the request.


<getSavedSearch xmlns="urn:messages_2023_1.platform.webservices.netsuite.com">

<record searchType="transaction"/>

<pageSize>5</pageSize>

<pageIndex>1</pageIndex>

</getSavedSearch>

 

I am getting below error


<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<soapenv:Fault>

<faultcode>soapenv:Server.userException</faultcode>

<faultstring>org.xml.sax.SAXException: operation description is missing parameter description!</faultstring>

<detail>

<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">partners210.prod-iad-na10.core.ns.internal</ns1:hostname>

</detail>

</soapenv:Fault>

</soapenv:Body>

</soapenv:Envelope>

Saurabh Rookie Asked on April 3, 2024 in SuiteApps.
Add Comment
2 Answers

Hi Chris,

 

Thanks for your response, I am getting the below error when we are using pageSize and pageIndex on the request.

<soapenv:Fault><faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXException: operation description is missing parameter description!
</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
partners210.prod-iad-na10.core.ns.internal</ns1:hostname>
</detail>
</soapenv:Fault>

but when we are using the below request we can get 1000 records.

<getSavedSearch xmlns="urn:messages_2023_1.platform.webservices.netsuite.com">
<record searchType="transaction"/>
</getSavedSearch>

 

We have 1500 saved searches, how can we get the remaining 500 saved searches?

Rookie Answered on April 8, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.