Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
February 2019
February 2019
Hi,
I'm having trouble developing API calls to cloud AccountRight on my local machine as I can't obtain a token. I have looked at the following link which is very helpful but I cant find a solution to my particular problem.
1. I tried to set up an account with redirect url http://etc and I found that it wasnt acceptable because the URL needed to be https. I thus created an account with https:// pointing to my clients server, where I places a suitable script to report the resulting code. All works fine there.
2. On my local machine, I have been trying to obtain a token, using an API call with the code returned in 1 above. It fails, and as the link above explains, apparently the token request has to come from the same machine as the redirect where the code was created.
If that is the case, how do I develop locally, where I don't HTTPS on my local machine, so can't use it as redirect URL to generate a code to use?
I cant use the code from clients system, as it wasnt generated on my machine.
So how do people run API calls like this from a local machine?
You would think this issues would be addressed in the documentation as I would think most developers would have this issue.
I hope you can help.
Greg
I created an
February 2019
February 2019
Hi Greg @gregambrose, this Help topic on Authentication explains that no tokens are required for accessing desktop files. The topic on Headers is relevant.
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...)
February 2019
February 2019
Hi Mike,
Thanks for the reply.
These are not desktop files. I'm trying to access the cloud based versions that the client is using, plus a sandbox version that was set up. How can I access these cloud based instances from my local machine?
Regards
Greg
February 2019
February 2019
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...)
February 2019
February 2019
Hi Mike,
Thanks for the suggestion. I'll give it a try.
Regards
Greg
41
|
3339
|
|||
33
|
1544
|
|||
8
|
910
|
|||
by
selvaganapathy
August
509
48248
|
509
|
48248
|
||
9
|
1520
|