RE: Use API to export general ledger data
                     
                    
                      
                        There are three kind of APIs provided by BC:
API beta, API V1.0, and WebService. 
You seem to be accessing API beta.
I think it will be confusing if I explain in detail,
Can you try to access WebService as a practice?
Follow the steps below
Step.1  Publish the Page General Ledger Entries (20, List) as a WebServie
"Page General Ledger Entries (20, List)" is the Page object that you see when you query General Ledger Entries on the BC screen.
Please refer to the following URL provided by Olister and try to publish Page 20 with ServiceName like "GLEntries".
docs.microsoft.com/.../microsoft-dynamics-nav-web-services-overview
If Page 20 is already registered, write down the ServiceName.
Step.2  Accesss the URL:
api.businesscentral.dynamics.com/.../{ServiceName}
If there is a required column, it is resolved above.
If it is not enough, some development will be required, 
but since Page 20 includes Bal. Account No., Source Code, Entry No.,
I think it's okay.