<@UK8V1Q1FE> I'd suggest using SuiteQL for this
# general
m
@Munish Singla I'd suggest using SuiteQL for this
m
is it the rest api?
m
is there any documentation with steps?
m
for rest api in general or suiteql?
m
suiteql
so in sql suite I can post any query to any object?
suiteql is used via rest api?
m
yes, did you look at the link i posted before?
m
yes I saw. as per my understanding the same rest api link can be used to call multiple objects by changing the query
m
correct. and you are not limited to one object per call either. it's a couple thousand rows per response if i recall correctly
m
Is there any limitation for size/records?
m
i think 1k results per query
m
if I say select * then which 1k will it return?
and also if I want to return latest 1000 for respective table/object?
m
add an
ORDER BY
to the end of the query
and to get the next x results add
offset=2
etc to the query string
m
sorry did not get offset?
m
ok. Is there any way to return all records in single rest api call?
b
i personally recommend just reading the entire documentation for rest web services
m
does it mean to return all records suitescript is the best choice instead of rest api?
m
if you want to avoid multiple requests
m
I see this will also return max 5000 records
m
i believe you could add paging to the restlet to get more than 5k results, but depending on how big the result set is, a restlet might run out of governance or time limit as well
m
ohk
p
What are you actually trying to do? Put everything in a data warehouse?
m
sorry I did not get it.
yes I am trying to put in my data warehouse
@PNJ whatis your suggession?