I am I missing something, or is there no way to ha...
# suiteql
b
I am I missing something, or is there no way to have SuiteTalk REST services return the fields when querying the collection? It appears to only return the ids of the records. 🤔
Example:
Copy code
https://{{ACCOUNT}}.<http://suitetalk.api.netsuite.com/services/rest/record/v1/itemFulfillment?q=id|suitetalk.api.netsuite.com/services/rest/record/v1/itemFulfillment?q=id> ANY_OF [10056,10057,10058]
s
I think returning the ids is a 'standard' way REST handles it. You're supposed to make additional queries to get additional data. I think you may be asking for something more of a
GraphQL
interface to NS?
that said, I'm no expert with true REST implementations.
n
Not sure if this helps, but I noticed with suiteql that it does not return all fields for every row (e.g. breaks 1st normal form). I am assuming this is because it is technically json and not a real result set. If the field does not have data, it will not return that field. Also, suiteql returns all json strings for every field.