Skip to content

Instantly share code, notes, and snippets.

@thuutien
Last active September 19, 2023 20:31
Show Gist options
  • Save thuutien/f769e32749b0953d7801399b6dcfac19 to your computer and use it in GitHub Desktop.
Save thuutien/f769e32749b0953d7801399b6dcfac19 to your computer and use it in GitHub Desktop.
Get Saved Search NetSuite SOAP
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:messages="urn:messages_2023_1.platform.webservices.netsuite.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<urn:tokenPassport xmlns:urn="urn:messages_2023_1.platform.webservices.netsuite.com">
<ns8:account xmlns:ns8="urn:core_2023_1.platform.webservices.netsuite.com">********</ns8:account>
<ns8:consumerKey xmlns:ns8="urn:core_2023_1.platform.webservices.netsuite.com">************</ns8:consumerKey>
<ns8:token xmlns:ns8="urn:core_2023_1.platform.webservices.netsuite.com">*************</ns8:token>
<ns8:nonce xmlns:ns8="urn:core_2023_1.platform.webservices.netsuite.com">***********</ns8:nonce>
<ns8:timestamp xmlns:ns8="urn:core_2023_1.platform.webservices.netsuite.com">************</ns8:timestamp>
<ns8:signature xmlns:ns8="urn:core_2023_1.platform.webservices.netsuite.com" algorithm="HMAC_SHA256">**********</ns8:signature>
</urn:tokenPassport>
</soap:Header>
<soap:Body>
<ns24:search
xmlns:ns13="urn:customization_2023_1.setup.webservices.netsuite.com"
xmlns:ns24="urn:messages_2023_1.platform.webservices.netsuite.com">
<ns24:searchRecord xsi:type="ns13:CustomRecordSearchAdvanced" savedSearchScriptId="customsearch123"/>
</ns24:search>
</soap:Body>
</soap:Envelope>
@thuutien
Copy link
Author

Add this header to the request.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment