Which API can be used to get GL Transaction data from business central environment or do we need to create webservice?

Which API can be used to get GL Transaction data from business central environment or do we need to create webservice?
What about this one?
docs.microsoft.com/.../dynamics_generalledgerentry_get
If that doesn't fulfill your need, you are free to create your own APIs.