SOAP Action: getAll
Scenario: get all records of currency
Request
<soapenv:Envelope
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:platformCore='urn:core_2021_2.platform.webservices.netsuite.com'
xmlns:listRel='urn:relationships_2021_2.lists.webservices.netsuite.com'
xmlns:listAcct='urn:accounting_2021_2.lists.webservices.netsuite.com'
xmlns:platformMsgs='urn:messages_2021_2.platform.webservices.netsuite.com'>
<soapenv:Header>
<tokenPassport xsi:type='platformCore:TokenPassport'>
<account xsi:type='xsd:string'>{{accountId}}</account>
<consumerKey xsi:type='xsd:string'>{{consumerKey}}</consumerKey>
<token xsi:type='xsd:string'>{{tokenId}}</token>
<nonce xsi:type='xsd:string'>{{nonce}}</nonce>
<timestamp xsi:type='xsd:long'>{{timestamp}}</timestamp>
<signature algorithm='HMAC_SHA256' xsi:type='platformCore:TokenPassportSignature'>{{signature}}</signature>
</tokenPassport>
</soapenv:Header>
<soapenv:Body>
<getAll xsi:type='platformMsgs:GetAllRequest'>
<record recordType='currency' xsi:type='platformCore:GetAllRecord'/>
</getAll>
</soapenv:Body>
</soapenv:Envelope>
Response
<?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:Header>
<platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2021_2.platform.webservices.netsuite.com">
<platformMsgs:nsId>WEBSERVICES_TSTDRV2779698_072720231691284412170025339_54b050</platformMsgs:nsId>
</platformMsgs:documentInfo>
</soapenv:Header>
<soapenv:Body>
<getAllResponse xmlns="">
<platformCore:getAllResult xmlns:platformCore="urn:core_2021_2.platform.webservices.netsuite.com">
<platformCore:status isSuccess="true"/>
<platformCore:totalRecords>4</platformCore:totalRecords>
<platformCore:recordList>
<platformCore:record internalId="1" xsi:type="listAcct:Currency" xmlns:listAcct="urn:accounting_2021_2.lists.webservices.netsuite.com">
<listAcct:name>USA</listAcct:name>
<listAcct:symbol>USD</listAcct:symbol>
<listAcct:isBaseCurrency>true</listAcct:isBaseCurrency>
<listAcct:isInactive>false</listAcct:isInactive>
<listAcct:overrideCurrencyFormat>false</listAcct:overrideCurrencyFormat>
<listAcct:displaySymbol>$</listAcct:displaySymbol>
<listAcct:symbolPlacement>_beforeNumber</listAcct:symbolPlacement>
<listAcct:locale>_unitedStatesEnglish</listAcct:locale>
<listAcct:formatSample>$1,234.56</listAcct:formatSample>
<listAcct:exchangeRate>1.0</listAcct:exchangeRate>
<listAcct:currencyPrecision>_two</listAcct:currencyPrecision>
</platformCore:record>
<platformCore:record internalId="2" xsi:type="listAcct:Currency" xmlns:listAcct="urn:accounting_2021_2.lists.webservices.netsuite.com">
<listAcct:name>British pound</listAcct:name>
<listAcct:symbol>GBP</listAcct:symbol>
<listAcct:isBaseCurrency>false</listAcct:isBaseCurrency>
<listAcct:isInactive>false</listAcct:isInactive>
<listAcct:overrideCurrencyFormat>false</listAcct:overrideCurrencyFormat>
<listAcct:displaySymbol>£</listAcct:displaySymbol>
<listAcct:symbolPlacement>_beforeNumber</listAcct:symbolPlacement>
<listAcct:locale>_unitedKingdomEnglish</listAcct:locale>
<listAcct:formatSample>£1,234.56</listAcct:formatSample>
<listAcct:exchangeRate>2.365</listAcct:exchangeRate>
<listAcct:currencyPrecision>_two</listAcct:currencyPrecision>
</platformCore:record>
<platformCore:record internalId="3" xsi:type="listAcct:Currency" xmlns:listAcct="urn:accounting_2021_2.lists.webservices.netsuite.com">
<listAcct:name>Canadian Dollar</listAcct:name>
<listAcct:symbol>CAD</listAcct:symbol>
<listAcct:isBaseCurrency>false</listAcct:isBaseCurrency>
<listAcct:isInactive>false</listAcct:isInactive>
<listAcct:overrideCurrencyFormat>false</listAcct:overrideCurrencyFormat>
<listAcct:displaySymbol>$</listAcct:displaySymbol>
<listAcct:symbolPlacement>_beforeNumber</listAcct:symbolPlacement>
<listAcct:locale>_canadaEnglish</listAcct:locale>
<listAcct:formatSample>$1,234.56</listAcct:formatSample>
<listAcct:exchangeRate>1.559</listAcct:exchangeRate>
<listAcct:currencyPrecision>_two</listAcct:currencyPrecision>
</platformCore:record>
<platformCore:record internalId="4" xsi:type="listAcct:Currency" xmlns:listAcct="urn:accounting_2021_2.lists.webservices.netsuite.com">
<listAcct:name>Euro</listAcct:name>
<listAcct:symbol>EUR</listAcct:symbol>
<listAcct:isBaseCurrency>false</listAcct:isBaseCurrency>
<listAcct:isInactive>false</listAcct:isInactive>
<listAcct:overrideCurrencyFormat>false</listAcct:overrideCurrencyFormat>
<listAcct:displaySymbol>€</listAcct:displaySymbol>
<listAcct:symbolPlacement>_beforeNumber</listAcct:symbolPlacement>
<listAcct:locale>_franceFrenchEuro</listAcct:locale>
<listAcct:formatSample>€1 234,56</listAcct:formatSample>
<listAcct:exchangeRate>1.509</listAcct:exchangeRate>
<listAcct:currencyPrecision>_two</listAcct:currencyPrecision>
</platformCore:record>
</platformCore:recordList>
</platformCore:getAllResult>
</getAllResponse>
</soapenv:Body>
</soapenv:Envelope>