Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Discover NetSuite's potential! Join our webinars, learn from experts, and optimize your operations. Whether you're experienced or new, secure your spot today and stay ahead in NetSuite!
Share with colleagues and friends who could benefit from our webinars too!

Querying Custom Records with REST API

Hello,

Is there a way to use the /query/v1/suiteql endpoint in the REST API to query custom records of a particular type? I can get the information about the custom type itself using this in the request body:

{

"q": "SELECT * FROM CustomRecordType"

}

However, if I try:

{

"q": "SELECT * FROM CustomRecord"

}

I get this message: Invalid search query. Detailed unprocessed description follows. Invalid search type: CustomRecord

Viewing the schema browser at https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2021_1/schema/record/customrecord.html, it looks like that should be a valid table name. The user tied to the token I'm using for my test requests is in the admin role, so I don't think it's a permissions issue.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders