AccountRight Cloud Developer Account not showing items created through API

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
8 REPLIES 8
Contributing Partner Souvik
5 Posts
Contributing Partner
Contributing Partner

5Posts

0Kudos

0Solutions

Accepted Solution Solved

Re: AccountRight Cloud Developer Account not showing items created through API

Hi,

 

I finally understood now what you meant. The web portal (GUI) only allow you to access accounting data of MYOB Essential.

You need to use MYOB Desktop Software to add / update MYOB AccountRight data for desktop and cloud both . Following is the screenshot.MYOB Solution.pngSample Company Files for MYOB AccountRight Desktop and Cloud

This whole thing was a bit confusing to me initially as I thought MYOB AccountRight Cloud is a SAAS . And I dont need to install any software to access data from MYOB AccountRight Cloud. But unfortunately this is not the case.

 

 

Valued Partner Triboss
96 Posts
Valued Partner
Valued Partner

96Posts

47Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

Please re-read my responses.

You are posting to an AccountRight datafile using the AccountRight API.

 

"I should be able to login to this account from https://my.myob.com.au and create items in account list and retrieve them from API and show them in our application."

 

There is no way for you to be adding data to this AccountRight datafile using a web GUI on https://my.myob.com.au .

Only the Essentials product has a web basued GUI.

 

Best of luck with it all and I hope you get it sorted out.

Contributing Partner Souvik
5 Posts
Contributing Partner
Contributing Partner

5Posts

0Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

Hi,

 

following is the request sent to myob cloud

 

 

GET https://api.myob.com/accountright HTTP/1.1
Authorization: Bearer AAEAAHHgDpmNEMT64tayDejasxocrA3HifaE18mIDW04XKOplkyGna_Ik_N_LtxJQYAJKkO2hYCqmda7iSBAoQMVuDuRmnb1RGBVRBUuHEbiqodcv_txpNAz__bbyW0JVjGpBSFV02hPLK-5WD-OEawN1MDUuh-540V6w-2BdPzbe9EZ5uAhP_I0aTQqZ0pBPH4wK598HSV9vYiVwwuX5CCatt4lU1OdI6FJa3SRMOsHTDApGm-kTcT5GKwl4urtt36xxCBsF6y8XsLy73_gHH1EShbjsIyrW3N1AaDGvMasxaKWZxvcmMY1WnhEdvdrvWyICzCBgSOL-16G_7OrHw1hgNKkAQAAAAEAAFIl2zaLTsfaCnf4s_bdKdIBDeP_8RHKyI3Frr9IsdldtMvLWRexfla_bLgnAaB-5KVtdXvyt8Wz9eOqzmEaBHgtwsacMoj7c9HzieCYFt3vo7mXXZ87VYQJwIj6GO3yZ6PcUaw9z6H6eUfsRZCR7NKD8sxS_9Q91LFZ10_eA140N-9_o19IQOqQ5wCJdHCppNxtKg7aUZeL7U3LPTaZYXiwc6Wq3BSoG5R23D_IF8jGwmcSmIXfmXWjKc0enBOidjkN_eZlRi3StFJu7KT_A62uhJXjF0S_ZobE0hwcvbrs6D5hXVjNG1l-GpcmIguB0PN8wqhklgf0VWUdsddp9FxFhkb7Oaaf354a_mP4Ivp1fG8qlka-cyxVheokW7TdXGYOfBFhkFWrA46OUEUgQNsKbVtgHO4Yabiyok-cBLlKdxfpigZQucv9Hp70CU0wFcR8c4Mvoe7U8rqBkEtmdkwkyT7s39IZh9zs9se65FLzbNZWQtsW1hDTUeR_2KRFXK2yhmX7V34yP0OncNCiZsZUGf5J_0FP7IKs16g0wh3R
Accept-Encoding: gzip
User-Agent: MYOB-ARL-SDK/2018.1.144 (+http://developer.myob.com/api/accountright/v2/)
x-myobapi-key: xg5zh9grs5pss9zj8ss8yppy
x-myobapi-version: v2
Host: api.myob.com

Following is the response received from myob cloud

 

 

 

HTTP/1.1 200 OK
Cache-Control: must-revalidate, private
Content-Type: application/json; charset=utf-8
Date: Thu, 17 Jan 2019 23:54:47 GMT
Expires: -1
Server: Microsoft-IIS/10.0
Vary: Accept-Encoding
X-AspNet-Version: 4.0.30319
X-Mashery-Message-ID: 37246d39-c33d-4c95-85b6-c5d3174fb028
X-Mashery-Responder: prod-j-worker-tlsv1-ap-southeast-2b-02.mashery.com
x-myobapi-elapsed: 44
x-myobapi-requestid: c2a33fd2-e7d5-4b56-982a-479483e7bed8
X-Powered-By: ASP.NET
Content-Length: 512
Connection: keep-alive

[
  {
    "Id": "c4d9fc55-070f-4baa-99fe-293d86bd18d5",
    "Name": "API Sandbox Demo 56",
    "LibraryPath": "API Sandbox Demo 56",
    "ProductVersion": "2018.4",
    "ProductLevel": {
      "Code": 30,
      "Name": "Plus"
    },
    "CheckedOutDate": null,
    "CheckedOutBy": null,
    "Uri": "https://ar1.api.myob.com/accountright/c4d9fc55-070f-4baa-99fe-293d86bd18d5",
    "Country": "AU",
    "LauncherId": "4cb8f8db-1748-40da-9a9e-fd1600a1533b",
    "SerialNumber": "611837501826"
  }
]

By company file name I mean comapny name - API Sandbox Demo 56 . I am posting and retrieving data from this developer account of MYOB which MYOB assigned me. I should be able to login to this account from https://my.myob.com.au and create items in account list and retrieve them from API and show them in our application. I should also be able to post sales and invoices of our system to this account using the above company name. I should be able to see those transactions in MYOB after logging in from https://my.myob.com.au . But that is not happenning. API is retrieving diffrerent account list compared to what is being shown when I log in from https://my.myob.com.au

 

Valued Partner Triboss
96 Posts
Valued Partner
Valued Partner

96Posts

47Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

As per below, they are 2 different products.

If you are posting data to an AccountRight file there is no way of viewing it via my.myob.com.au

Instead you need to use the desktop application and login using your my.myob account and select the sandbox file you are posting data to using the API.  This file should reflect the changes you are making.

Contributing Partner Souvik
5 Posts
Contributing Partner
Contributing Partner

5Posts

0Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

I requested for developer account to MYOB using http://developer.myob.com/api/accountright/api-overview/getting-started/

 

I am pretty sure MYOB API team should be able to provide more insight on this.

Valued Partner Triboss
96 Posts
Valued Partner
Valued Partner

96Posts

47Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

In your code sample it looks like you are connecting to an AccountRight file, not an Essentials file.  They are 2 different products and if you are posting data to an AccountRight file there is no way of viewing it via my.myob.com.au instead you need to use the desktop application.

 

http://developer.myob.com/api/essentials-accounting/api-overview/getting-started/

http://developer.myob.com/api/accountright/api-overview/getting-started/

 

Contributing Partner Souvik
5 Posts
Contributing Partner
Contributing Partner

5Posts

0Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

Hi, my myob cloud and desktop account are totally diffrent. I connect to them using diff credential. I don't expect them to replicate data. I am able to retrieve data that I can see in my myob desktop account using API but when I do the same with MYOB cloud it is not showing all data that I see after logging in through https://my.myob.com.au. 

Valued Partner Triboss
96 Posts
Valued Partner
Valued Partner

96Posts

47Kudos

0Solutions

Re: AccountRight Cloud Developer Account not showing items created through API

Not sure if I 100% understand your request, but if you are asking if the data in your local/offline file can be automatically replicated in the cloud sandbox file then the answer is no.

They are 2 totally different files and the online sandbox file is shared by multiple developers (and they can add/edit/delete records as required).  I believe the sandbox files can also get reset back to default if required.

Contributing Partner Souvik
5 Posts
Contributing Partner
Contributing Partner

5Posts

0Kudos

0Solutions

Solved: Go to Solution

AccountRight Cloud Developer Account not showing items created through API

Hi,

 

I am doing MYOB AccountRight integration (both desktop and cloud) for our POS software SENPOS (https://senpos.com.au/). I was provided with a cloud subscription named MYOB Essentials Accounting + Payroll by MYOB. My advisor is MYOBapi Team. I did the integration for uploading SENPOS sales, bank transaction and invoices to cloud based developer account. I also created some sample accounts in account type income (namesly Sales 1, Sales 1) in my MYOB deloper account. But those accounts are not showing up when I am fetching data through API. My company file name is - API Sandbox Demo 56 . It is showing diffrent set of accounts for cloud. But things are working as expected for myob desktop. Following is a sample request for showing sales accounts of myob in our software from cloud.

 

GET https://ar1.api.myob.com/accountright/c4d9fc55-070f-4baa-99fe-293d86bd18d5/GeneralLedger/Account/?$filter=(Type%20eq%20'Income'%20or%20Type%20eq%20'OtherIncome')%20and%20IsActive%20eq%20true%20and%20TaxCode%20ne%20null HTTP/1.1
Authorization: Bearer AAEAABAQUAILFdD5ASgmRA9pFsqL9_9yfBleOBofvzNgqtUsgaObMXJvdNx9fg2j_xtp_-KMt_eMxvqQlu2aiYoGRwJ1XuvsGqIkdoxsGW9u_0hVtmg2L7_B6z4F5dkP7leZyZhfSgz5QcEr-X5n6ogZdzgfWJGC04hnBek1grgBYfZxVc8XKJxgSyPsUy6FisphLMHj_4yTTHj3AW5ElYBPQkwpOBwY2ugLEj0AQnpQgZyXBOCcTJqihtQbKdqwTot1ebHVTphVpupKWRmNGdVIocjg6VRtyyLd3fWh7tsrE3ydszGFmXAxVCsB2a_CTpjKTUx0FKWZegWzOOZKOOIHxiekAQAAAAEAAF8-PU76UrfTBlzVeV0k1H7ALO6axI18aTWHz4t50cUcitk-elUiBkHfoq7gOrvdrSUJpSR6ExaMQ3ip2qGT63dBxzje8yySwoD7_qrSLlIEWe-YR-lxnrcDwiaKyPoPA8evqXPkH77hwIe5qQQird76Cj-XFaVKE-_JOX4QR8xlf6EsLRXnQh1xkoxt4LcHDOnjiRI9eeLt6yW06i-8yWH482YFe9KG6Y2gjcUs2puEAl85A1ooGSBWv3bzS75wiAf_bQllHa-VQeOfsIwyanBOqQ9aH4Wh6g-wnpsl98-HJNsgiX_4I2rluUdfjCRp1KI3kURpdxyOksb40wU6_XPL6zXFyi3QKSQVaLM8dhALVt7knbosiWeBEU0NmFBFS7-MLMa5rJBW5uEHP41bs9WJ3NvkjLi037jOMbaakalBPsNgzBZF1My-GyL2iQ4mSGKKa_48mF3-LT9SEH3d5elnPmFSS1lNmYRlZh6H5UmFoo8JupukiwKUcvuWNVcmDjCJEUQayoASLKSmjHTDxFXSiCKyJZDrSHPsBHv4c6x3
Accept-Encoding: gzip
User-Agent: MYOB-ARL-SDK/2018.1.144 (+http://developer.myob.com/api/accountright/v2/)
x-myobapi-key: xg5zh9grs5pss9zj8ss8yppy
x-myobapi-version: v2
x-myobapi-cftoken: QWRtaW5pc3RyYXRvcjo=
Host: ar1.api.myob.com

Can someone from myob api team configure my developer account so that it will reflect items that are fethced through API and posted through API will be shown in cloud account after looging in ?

 

Please help.

 

Thanks and Regards,

Souvik Das

Didn't find your answer here?
Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post