AccountRight 2018 API /Report/ProfitAndLossSummary

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.
PeterB1
Partner
4 Posts
Partner
Partner

4Posts

0Kudos

0Solutions

AccountRight 2018 API /Report/ProfitAndLossSummary

Hi, Im trying to get the report api to work.

 

I have the correct uri and company file guid but each time I execute I get back an error like the following:

yearEndAdjust must be either true or false

 

My url ends up looking like this:

https://ar2.api.myob.com/accountright/xxxxxxxxxxxx/Report/ProfitAndLossSummary?StartDate=2018-01-01&...

 

I cant see how yearEndAdjust can be any more true or false.

 

Thanks for the help.

6 REPLIES 6
Mike_James
Ultimate Partner
5,839 Posts
Ultimate Partner
New Zealand
Ultimate Partner

5,839Posts

1,080Kudos

755Solutions

Re: AccountRight 2018 API /Report/ProfitAndLossSummary

Hi @PeterB1, try YearEndAdjust, capital Y.


Regards, Mike (mike@datawise.co.nz)
DataWise Limited (www.datawise.co.nz), developers of:
DataWise ProActive - Custom Reporting from MYOB programs
(MYOB Business, including AccountRight Live, AccountRight v19.x and exo Payroll)

Bulk download of attachments (more details...)

PeterB1
Partner
4 Posts
Partner
Partner

4Posts

0Kudos

0Solutions

Re: AccountRight 2018 API /Report/ProfitAndLossSummary

Hi,

 

I've just tried changing the case and it doesnt resolve the issue.

 

If i change the order of the params, it also changes the message, it then complains of new last value appears incorrect.

 

Any help would be apreciated.

Mike_James
Ultimate Partner
5,839 Posts
Ultimate Partner
New Zealand
Ultimate Partner

5,839Posts

1,080Kudos

755Solutions

Re: AccountRight 2018 API /Report/ProfitAndLossSummary

Hi @PeterB1, the URL you posted has another parameter of sorts at the end, "& ga" plus several numbers. Is that deliberate? Picture attached.


Regards, Mike (mike@datawise.co.nz)
DataWise Limited (www.datawise.co.nz), developers of:
DataWise ProActive - Custom Reporting from MYOB programs
(MYOB Business, including AccountRight Live, AccountRight v19.x and exo Payroll)

Bulk download of attachments (more details...)

URL with unknown parameter.jpg
PeterB1
Partner
4 Posts
Partner
Partner

4Posts

0Kudos

0Solutions

Re: AccountRight 2018 API /Report/ProfitAndLossSummary

Hi Mike,

 

Not sure if thats something on your side, but the url doesnt contain them on mine.

image.png

 

Would be great if it was something like that.

Mike_James
Ultimate Partner
5,839 Posts
Ultimate Partner
New Zealand
Ultimate Partner

5,839Posts

1,080Kudos

755Solutions

Re: AccountRight 2018 API /Report/ProfitAndLossSummary

Strange, I just copied the link address and pasted it into a text editor. But I see the same as you when I look at the page source. Must be a quirk of the forum?


Regards, Mike (mike@datawise.co.nz)
DataWise Limited (www.datawise.co.nz), developers of:
DataWise ProActive - Custom Reporting from MYOB programs
(MYOB Business, including AccountRight Live, AccountRight v19.x and exo Payroll)

Bulk download of attachments (more details...)

Jacob_S
15 Posts
Former Staff
New Zealand
Former Staff

15Posts

0Kudos

3Solutions

Re: AccountRight 2018 API /Report/ProfitAndLossSummary

Hi @PeterB1,

 

Thanks for reaching out to us. If you are still having trouble, please reach out to us directly at developers@myob.com.

 

Thanks,
Jacob
MYOB API Team

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
MYOB API Support Centre - https://apisupport.myob.com

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