4 years ago
CORS error
Hi all guys, I'm trying to integrate a new platform I created for my wholesale customer with its MYOB current account. I already created the API KEY and I would like to start by getting done the ...
Hi jhonny9550
There is a separate area of MYOB associated with API questions - via developers@myob.com
By the looks of your question you are trying to access an online file through the API - there is a whole lot of documents regarding what is needed for API access - no tokens are reequired for a local file but for an onlinefile you need to initiate the process with a munaul logon and 2FA to be provided with an Access Code - which expires in 1200 secs - you need to exchange this for an Access Token and a refresh token - the refresh token is valid for 7days and enables you to get a new set of Access Codes and refresh tokens.
To program all this into code is not a simple process - there is a lot of documents on the API web to help you work through this but they are confusing and assumes quite a level of knowledge - there are SDKs in Vb.Net and VC.Net to get you past all this but again these assume a lot of coding knowledge.
Regards The Doc
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.