I’m attempting to search for customers with isPerson=false. I have searched a lot of documentation and tried a few things. At this point, I think I’m close but I need some assistance to get my soap request working:
<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_2019_2.platform.webservices.netsuite.com'
xmlns:listRel='urn:relationships_2019_2.lists.webservices.netsuite.com'
xmlns:platformMsgs='urn:messages_2019_2.platform.webservices.netsuite.com'>
<soapenv:Header>
<tokenPassport xsi:type='platformCore:TokenPassport'>
<account xsi:type='xsd:string'>{{account}}</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>
<search xmlns:platformMsgs='urn:messages_2019_2.platform.webservices.netsuite.com' xsi:type='platformMsgs:SearchRequest'>
<searchRecord xsi:type='listRel:CustomerSearch'>
<basic>
<isPerson operator="boolean">
<operator xsi:type="xsd:boolean">false</operator>
</isPerson>
</basic>
</searchRecord>
</search>
</soapenv:Body>
</soapenv:Envelope>