2 months ago
Access Denied
Hello I am trying to GET a list of items. I use the following code to successfully retrieve the company endpoints... sURL = "https://api.myob.com/accountright/[Company File GUID]" With o...
For anyone interested, the following worked...
.Open "GET", sURL, False
.setRequestHeader "Accept", "application/json"
.setRequestHeader "Authorization", "Bearer " & gsMYOBToken
.setRequestHeader "x-myobapi-tenantid", gsMYOBTenantId
.setRequestHeader "x-myobapi-version", "v2"
.setRequestHeader "x-myobapi-key", idsMYOBClientId
.send
resptext = .responseText
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.