How can I query for customization records in SOAP
# ask-stanley-ai
k
How can I query for customization records in SOAP
c
AI generated answer (using internal Slack threads):
To query for customization records in SOAP, you can use the
getCustomizationId
operation. This operation retrieves metadata for a specified customization type. Here is an example of how you can use it:
Copy code
xml
<getCustomizationId xmlns="urn:messages_2019_2.platform.webservices.netsuite.com">
    <customizationType xmlns="urn:types.core_2019_2.platform.webservices.netsuite.com">
        <getCustomizationType>customRecordType</getCustomizationType>
    </customizationType>
</getCustomizationId>
In the
getCustomizationType
element, you can specify the type of customization record you want to retrieve. For example,
customRecordType
will retrieve all custom record types. If you know the script ID of a custom record, you can use the
get
operation to retrieve the numeric ID of the custom record type. Here is an example:
Copy code
xml
<get xmlns="urn:messages_2019_2.platform.webservices.netsuite.com">
    <baseRef xmlns="urn:core_2019_2.platform.webservices.netsuite.com" type="customRecord" internalId="your_script_id" />
</get>
Replace
your_script_id
with the script ID of your custom record. ****** 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.860365391
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851706445
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82878232
Please provide your feedback on this answer.