Forum Discussion

Lakshmi's avatar
4 years ago

MYOB-Power BI Integration using APIs

I need to connect MYOB Account Right to PowerBI.As there is no direct connector,I am planning to connect using APIs. Is it possible? Please help me if someone use the same.

  • Hi Lakshmi 

     

    AccountRight 20xx does have an API called the MYOB AccountRight API. Connection to the API allows integration with the AccountRight software and third-party applications.


    For more information on the AccountRight API and getting started do check out our Developer Centre.

    • Lakshmi's avatar
      Lakshmi

      Thanks Steven_M . I havechecked with the developer team and tried to view data using postman.  I have followed this link https://developer.myob.com/api/accountright/accountright-postman-collection/  .I got access token and refresh token. But in the next step when I am trying to list out the company files, Getting below error.

      {
          "Errors": [
              {
                  "Name""OAuthTokenIsMissing",
                  "Message""The supplied OAuth token is missing",
                  "AdditionalDetails""Header",
                  "ErrorCode"31002,
                  "Severity""Error",
                  "LearnMore"null
              }
          ],
          "Information""Warning, error messages have not been finalised in this release and may change"
      }
       I am not sure what all details I have to give in headers and authorization. Can you help?
       
      Thanks in advance.
       
      Lakshmi
      • Hannah_B's avatar
        Hannah_B
        MYOB Moderator

        Hi Lakshmi (Lakshmi)

         

        Thank you for reaching out, We often see this error when you are trying to connect to an old essentials company file however the Essentials file has been upgraded to our New platform.

        Once the Essentials file has been upgraded to the new platform we need to complete Oauth with the scope of la.global CompanyFile. This will cover Old Essentials, New Essentials and AccountRight. Then in order to pull the company file, we need to use the endpoint https://api.myob.com/accountright/ which will pull AccountRight and New Essentials files.

         

        If this does not resolve the error you can raise a support request with us HERE. 

  • Hi Lakshmi 

     

    I get that its a while ago when you started but there is now an odata feed service which users Power BI's internal OData Connector

     

    It allows you to create live connections to MYOB's end points without requiring any API coding

     

    Here's a link to it

    https://odatalink.com/

     

     

     

    • Hannah_B's avatar
      Hannah_B
      MYOB Moderator

      Hi Jeff_AccAddons 

       

      Thanks for the information that is great to know there is an addon for Power BI and Excel to connect. 

       

      Thanks,