Retreiving Accountant Link Code for each Account from API

8 REPLIES
Partner TheG
347 Posts
Partner
Australia
TheG
Partner

347Posts

300Kudos

46Solutions

Re: Retreiving Accountant Link Code for each Account from API

@DeveloperJack @KeranM @Triboss 

 

hey guys thanks for the end point data and job info!

 

I will run through all the documentation.

 

Have a great year!

 

Cheers

MYOB Staff Post DeveloperJack
107 Posts
MYOB Staff Post
Australia
DeveloperJack
MYOB Staff Post

107Posts

27Kudos

14Solutions

Re: Retreiving Accountant Link Code for each Account from API

Hi there,

At this point in time, I can't commit to what will be in the next release but we'll certainly raise it with the team for you.

 

You'll find all the documentation for the V2 API over at: http://developer.myob.com/api/accountright/v2/. The JobBudget, JobRegister and Job endpoints are all found in the GeneralLedger section of the API.

 

 

Cheers,

Jack

Jack Skinner
MYOBapi Evangelist

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
Partner TheG
347 Posts
Partner
Australia
TheG
Partner

347Posts

300Kudos

46Solutions

Re: Retreiving Accountant Link Code for each Account from API

@KeranM,

 

Thanks for taking the time to answer my post....I do appreciate it and Happy New Year!

 

Is it likely these fields will be API enabled at some date? or should i plan for it not being there once we migrate to new version? (Migrating from AccountRight Enterprise)

 

Also under the new version (2017), is there a resource link that will provide me a browseable list of all the job names, job numbers etc... like a job dimension table? I am trying to hook this into Power BI.



API Evangelist KeranM
255 Posts
API Evangelist
Australia
KeranM
API Evangelist

255Posts

77Kudos

52Solutions

Re: Retreiving Accountant Link Code for each Account from API

Hi there

 

The full list of items that the API returns for the Accounts is available here:

http://developers.myob.com/api/accountright/v2/generalledger/account/ 

 

Do make sure you aren't simply calling http://localhost:8080/AccountRight/f4d5f041-b545-4298-8b47-e792a1b46f80/GeneralLedger/Account/ in the browser as that will not pass the v2 header information - meaning you'll see the old (deprecated) v1 api details.

 

The two fields you point out are not currently listed in the API sorry.

K.

Keran McKenzie
Futurist in residence @MYOB

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/

Twitter: @myobapi | @keranm
Partner TheG
347 Posts
Partner
Australia
TheG
Partner

347Posts

300Kudos

46Solutions

Re: Retreiving Accountant Link Code for each Account from API

 

Thanks for that link, @Triboss 

 

I'm just using Power BI to get the data which also returns a Json file from http://localhost:8080/AccountRight/f4d5f041-b545-4298-8b47-e792a1b46f80/GeneralLedger/Account/

 

When i expand the accounts out i couldnt see certain fields in the account properties tab in MYOB....

 

I have the same issue with the cashflow field which i cannot locate? Its not in the Json file at all

 

Thanks Anyway guys for assistance.!

@DeveloperJack 

 

Casflowcode.PNGAccount Properties Missing form Json?

 

Trusted Partner Triboss
37 Posts
Trusted Partner
Triboss
Trusted Partner

37Posts

21Kudos

2Solutions

Re: Retreiving Accountant Link Code for each Account from API

End points are available here:

http://developer.myob.com/api/accountright/v2/

 

From my experience, some of the endpoints are not accessible via a web browser so you will need to make "GET" calls and process the returned JSON text to view the data.

Partner TheG
347 Posts
Partner
Australia
TheG
Partner

347Posts

300Kudos

46Solutions

Re: Retreiving Accountant Link Code for each Account from API

@DeveloperJack

 

Is there a list of what fields are avaliable in API and where the resource is located?

 

I also want the Classification for STatement of Cash Flows....Can you tell me how to access that item from the accounts table?

 

With the Jobs, I tried to access the resource using a browser and links below :

 

http://localhost:8080/AccountRight/91a5c87e-884f-42f5-b4d5-0f924164e116/GeneralLedger/Job/

Returns an error and states "TTherequestedresourceisnotsupportedforthisversionoftheCompanyFile"

 

http://localhost:8080/AccountRight/f4d5f041-b545-4298-8b47-e792a1b46f80/GeneralLedger/JobRegister/

Returns an error and states "No webpage was found for the web address:"

 

Thanks again Jack!

 

 

MYOB Staff Post DeveloperJack
107 Posts
MYOB Staff Post
Australia
DeveloperJack
MYOB Staff Post

107Posts

27Kudos

14Solutions

Accepted Solution Solved Solution

Re: Retreiving Accountant Link Code for each Account from API

Hi there @TheG,

I believe this is primarily an internal field for the AE/AO suite, so, unfortunately, this field is not available via the API.

Sorry it's not the answer you're looking for.

Cheers,

Jack

 

Jack Skinner
MYOBapi Evangelist

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
Partner TheG
347 Posts
Partner
Australia
TheG
Partner

347Posts

300Kudos

46Solutions

Solved: Go to Solution

Retreiving Accountant Link Code for each Account from API

Hi @DeveloperJack

 

I am just trying to work out where the Accountant Link Code is accessed from using the local host API for Accountright?

 

I cant seem to locate the results stored in each account property.

 

Can you shed any light on how I can output these results?

 

Alink code.PNGAccount Property Details Tab

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