It’s a very simple query just hoping I can query a...
# suiteql
t
It’s a very simple query just hoping I can query all messages not just mine.
m
From your external reporting app, how to run this query or get query result ?
Restlet ?
In that case, I usually use Suitelet with administrator role access and external allow.
t
I’m POSTing it to url = “https://${realm}.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql” using non-Admin keys. It works great it just returns 3 rows instead of the 600 messages that really happened last week.
The TBA keys I am using are myself and some limited role (which should have enough rights to see all rows)
When I use Tim’s query tool as Administrator in the UI that same query returns all rows.
m
I understand. Please create Suitelet, and call that from your external api.
For Suitetalk, without administrator token, impossible.
👍 1
t
Hmmm.. okay. Thanks for the workaround. I’m sure it will work!
👍 1
b
t
@battk Yes thanks for the advice. That looked promising so I added that to the role I am using for my TBA and it’s still only showing me 3 rows not all 600. Also tried “do not restrict employee fields” and same result.
b
try it using a saved search based option
you can probably do it in the ui and compare a message saved search to a message dataset