I have a netsuite environment that has a Custom Li...
# ask-stanley-ai
d
I have a netsuite environment that has a Custom List defined with script id: customlist_go_warranty_extension. This script has a list of 5 values. How can I retrieve all the values inside this Custom List with a simple NetSuite SOAP API call? Do not worry about generating of token / access to the environment, that's done. Focus on which entities to query and how via SOAP API.
c
AI generated answer (using internal Slack threads):
To retrieve all the values inside a Custom List with a NetSuite SOAP API call, you can use the
getCustomizationId
operation. This operation retrieves metadata for a specified type of customization. Here is a sample SOAP request:
Copy code
xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:messages_2019_2.platform.webservices.netsuite.com" xmlns:urn1="urn:core_2019_2.platform.webservices.netsuite.com" xmlns:urn2="urn:common_2019_2.platform.webservices.netsuite.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Header>
      <urn:tokenPassport>
         <!--You can insert your token details here-->
      </urn:tokenPassport>
   </soapenv:Header>
   <soapenv:Body>
      <urn:getCustomizationId>
         <urn:customizationType>
            <urn:getCustomizationType>customList</urn:getCustomizationType>
            <urn:includeInactives>false</urn:includeInactives>
         </urn:customizationType>
      </urn:getCustomizationId>
   </soapenv:Body>
</soapenv:Envelope>
This will return a list of all active custom lists. You can then filter the results by the script id
customlist_go_warranty_extension
to get the specific custom list you are interested in. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859075844
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849176943
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838434577
Please provide your feedback on this answer.
Thank you for your feedback