Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
Join our Ask An Expert Live session featuring Angela Bayliss , Senior Principal Consultant at Jade Global, on June 26, 2025, 2–3 PM ET. With 21 years of experience, Angela will answer all your questions. Learn from one of the best! RSVP now.
Returning full journalEntry object from REST API
Hello, I'm using the /record/v1/journalentry/ endpoint to return a list of journal entries. According do the API Browser documentation, the return type is journalEntryCollection, and the journalEntryCollection contains a property items that's an array of journalEntry objects. However, when I call that endpoint, items is an array of links rather than journalEntry objects:
"items": [
{
"links": [
{
"rel": "self",
"href": "[domain]/services/rest/record/v1/journalentry/380289"
}
],
"id": "380289"
},
{
"links": [
{
"rel": "self",
"href": "[domain]/services/rest/record/v1/journalentry/380298"
}
],
"id": "380298"
}
}
Is there a way to get the full journalEntry objects instead?
UPDATE: I see in the documentation that ?expandSubResources=true can be added to certain endpoints to get the full subobjects, but that only works if I'm searching for an individual journalEntry, for example /record/v1/journalentry/380289?expandSubResources=true. Is there any way to do a similar thing when returning a list?