RE: Select journal entries via suiteQL
Hello friends,
I try to get Journal Entries data via API calls.
I successfully get results from “{}/record/v1/journalEntry” call.
But I would like to query it with SUITEQL by using this call: “/query/v1/suiteql”
with { “q”: “SELECT * FROM journalentry”} query in the body.
It doesn’t work – I get a 400 Bad request error:
“title”: “Invalid search query Search error occurred: Record ‘journalentry’ was not found..”
If I run some other query, say { “q”: “SELECT * FROM customer”} – it works fine.
Please help