I am trying to retrieve data from a dummy company using the AccountRight API.
I am building on this nodejs sample project.
Authentication and getting the company file from the company file work.
However, when I try to retrieve data for other endpoints such as /GeneralLedger/Account
I always get a 596 Service Not Found
. My uri is:
api.myob.com/<company id>/GeneralLedger/Account
where the company id is the id I retrieve using the /accountright
endpoint for the dummy company.
Any ideas?
The URL is incorrect meaning the API doesn't know you are talking to our AccountRight service.
The API is a hypermedia API and includes all the URIs you need ... however if you are constructing URI they should look like: https://api.myob.com/AccountRight/{CompanyFile-GUID}/GeneralLedger/Account
Make sure /AccountRight/ is in the URL.