Skip to content

Instantly share code, notes, and snippets.

@thuutien
Last active September 19, 2023 14:42
Show Gist options
  • Save thuutien/7486a73f8c9dfd2395ab507490538531 to your computer and use it in GitHub Desktop.
Save thuutien/7486a73f8c9dfd2395ab507490538531 to your computer and use it in GitHub Desktop.
NetSuite SOAP Token Base Request Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:messages_2023_1.platform.webservices.netsuite.com" xmlns:urn1="urn:core_2023_1.platform.webservices.netsuite.com">
<soapenv:Header>
<urn:tokenPassport>
<urn1:account>ACC_ID</urn1:account>
<urn1:consumerKey>CON_KEY</urn1:consumerKey>
<urn1:token>TO_ID</urn1:token>
<urn1:nonce>NONCE</urn1:nonce>
<urn1:timestamp>TIMESTAMP</urn1:timestamp>
<urn1:signature algorithm="HMAC_SHA256">COMPUTED_KEY</urn1:signature>
</urn:tokenPassport>
</soapenv:Header>
<soapenv:Body>
<urn:getSavedSearch>
<urn:record searchType="transaction"/>
</urn:getSavedSearch>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment