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,

Could you hare the response you get?

I’m thinking you might need to use searchMoreWithId.

Thanks,

Chris

Advanced Answered on April 5, 2024.
Add Comment

Your Answer

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