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 .