I’m using REST to get the results of a dataset (e....
# ask-stanley-ai
j
I’m using REST to get the results of a dataset (e.g. GET https://demo123.suitetalk.api.netsuite.com/services/rest/query/v1/dataset/ExampleDataset1/result). Is there a way to specify additional filters to run with the dataset?
c
AI generated answer (using internal Slack threads):
Yes, you can specify additional filters when using REST to get the results of a dataset. This can be done by using the
filter
parameter in your GET request. The
filter
parameter allows you to specify additional conditions that the results must meet. Here is an example of how you can use the
filter
parameter:
Copy code
GET <https://demo123.suitetalk.api.netsuite.com/services/rest/query/v1/dataset/ExampleDataset1/result?filter=condition1=value1&filter=condition2=value2>
In this example,
condition1=value1
and
condition2=value2
are the additional filters. The results returned by this GET request will only include records that meet these conditions. Please note that the exact syntax and capabilities of the
filter
parameter may vary depending on the specific dataset and the NetSuite REST API version you are using. Always refer to the official NetSuite documentation for the most accurate and up-to-date information. ****** 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.837488651
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823259652
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818930686
Please provide your feedback on this answer.