Forum Discussion
Hi Ranqx
You can get a lot more help with your API problems via developers@myob.com - the forum does not handle API questions well.
Having said that, though I think your problem is far more complicated than your simple GET call - the 1st problem is that should now be //ar2.api.......
Can you tell me what server version you are using.
I have been using and running the API POST/GET quite successfully with my own coding wrapper - mainly locally - but have now been testing since Xmas 20 my own full POST/GET wrapper for and online file - it is working perfectly.
Yes the API install can be tripped but I have been using and installing MYOB onto Servers for over 20 years and the current MYOB version (oh it has bugs) but in general it installs relatively easily and the API (generally updates without problems).
However, I have had dramas.
I need to know your server version - however the 1 thing that just MUST be done I find to get a good install is that on a server there are 4 services that run - one of those is the API service - to get a clean install I stop ALL services then uninstall fully.
However, if this is a new update i.e. 2020.4 to 2021.1 - this will install a completely separate version from the exisitng.
If you use the SE version the API current version is ALways updated to the latest version.
It sounds like you need to do a complete uninstall - turnoff ALL services myob related - the library service often willnot stop - that is another story but will stuff up the install - if it doesn't stop - go into services and select - manual start - reboot the server - this service will now be stopped - stopp the others now uninstall ALL myob correctly.
Here is a gem from developers - if you are having problems with your API - install 2020.1 SE version fully (it comes with SQLCE 3.5 (current is 4.0) - but 4.0 doesn't seem to run and install correctly unless 3.5 is pre-installed.
Leave 2020.1 SE in place - now do a full install of 2021.1 SE - it should install correctly - if you are getting an API install crash you have a problem in your server - it is NOT the MYOB install.
As stated - the API does install the latest version over the top of the existing.
To see if the API is working - do a localhost call localhost:8080/Accountright - if the API is working it will show you files.
If it isn't it will error.
If you are serving files locally and the MYOB file is on another server - you have to make changes to the API config file on both machines for the API to see the file.
IF you want to send me info via the private mail - I will try to help.
The Doc
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.