Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11715 > unrolled thread

MYOB Integration through API - HTTP / Web Client sample

Started bytom@dieselworks.com.au
First post2018-06-23 03:42 -0700
Last post2018-06-25 17:06 +0200
Articles 12 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  MYOB Integration through API - HTTP / Web Client sample tom@dieselworks.com.au - 2018-06-23 03:42 -0700
    Re: MYOB Integration through API - HTTP / Web Client sample "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-06-23 18:48 +0200
      Re: MYOB Integration through API - HTTP / Web Client sample tom@dieselworks.com.au - 2018-06-23 18:07 -0700
        Re: MYOB Integration through API - HTTP / Web Client sample "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-06-24 06:52 +0200
          Re: MYOB Integration through API - HTTP / Web Client sample tom@dieselworks.com.au - 2018-06-24 03:02 -0700
            Re: MYOB Integration through API - HTTP / Web Client sample "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-06-24 15:54 +0200
            Re: MYOB Integration through API - HTTP / Web Client sample "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-06-24 16:36 +0200
              Re: MYOB Integration through API - HTTP / Web Client sample tom@dieselworks.com.au - 2018-06-24 23:07 -0700
                Re: MYOB Integration through API - HTTP / Web Client sample "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-06-25 10:50 +0200
            Re: MYOB Integration through API - HTTP / Web Client sample tom@dieselworks.com.au - 2018-06-24 23:10 -0700
    Re: MYOB Integration through API - HTTP / Web Client sample tom@dieselworks.com.au - 2018-06-25 06:00 -0700
      Re: MYOB Integration through API - HTTP / Web Client sample "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-06-25 17:06 +0200

#11715 — MYOB Integration through API - HTTP / Web Client sample

Fromtom@dieselworks.com.au
Date2018-06-23 03:42 -0700
SubjectMYOB Integration through API - HTTP / Web Client sample
Message-ID<eb8f8b0c-f4ed-411e-8e2d-df0e7734a566@googlegroups.com>
Hi All,
I have a VO app that connects to MYOB through ODBC for data integration. the recent edition of MYOB no longer supports ODBC and requires the integration through an API.

the way the API works it appears very much like a Web Server.

the internal data of MYOB can be accessed surprisingly easily through a browser. MYOB provides a .NET SDK. 

More than 10 years ago I wrote an app that connected to a Web Server and retrieved data, but I can't find the code and can't even remember which library or what have I used... may be cHTTP?

Anyway, I would need some help with some sample code that interacts with a webserver, or if anyone has done VO work with the MYOB API I am happy to pay for the help too

TIA

Tom 

[toc] | [next] | [standalone]


#11716

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-06-23 18:48 +0200
Message-ID<fp7bvrFls8iU1@mid.individual.net>
In reply to#11715
Hi Tom,

the http class is cHTTP, but it needs some work if you need SSL.

Another possibility would be to migrate your VO application to X# and
then use the .NET SDK, or, if this is not possible, use X# to wrap the
.NET SDK in a COM DLL and use this one from your VO application.

Wolfgang

tom@dieselworks.com.au wrote:

> Hi All,
> I have a VO app that connects to MYOB through ODBC for data
> integration. the recent edition of MYOB no longer supports ODBC and
> requires the integration through an API.
> 
> the way the API works it appears very much like a Web Server.
> 
> the internal data of MYOB can be accessed surprisingly easily through
> a browser. MYOB provides a .NET SDK.
> 
> More than 10 years ago I wrote an app that connected to a Web Server
> and retrieved data, but I can't find the code and can't even remember
> which library or what have I used... may be cHTTP?
> 
> Anyway, I would need some help with some sample code that interacts
> with a webserver, or if anyone has done VO work with the MYOB API I
> am happy to pay for the help too
> 
> TIA
> 
> Tom 



-- 

[toc] | [prev] | [next] | [standalone]


#11717

Fromtom@dieselworks.com.au
Date2018-06-23 18:07 -0700
Message-ID<3aada336-d3ad-4173-8d11-b06ca7b55af2@googlegroups.com>
In reply to#11716
Thanks Wolfgang, I am a little confused now, not sure what to do. On the short, I have to get something sorted so the Com DLL would be ideal, but I am not good at that, and haven't got time either. 
So I would need someone to make it for me, do you know anyone that could help?

On the long run I guess X# is a promising option, but I am wondering how likely is X# ending up like Vulcan did?
Also in reality, how far is X# from commercial usability?

Regards

Tom


[toc] | [prev] | [next] | [standalone]


#11718

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-06-24 06:52 +0200
Message-ID<fp8mc6Ftfa6U1@mid.individual.net>
In reply to#11717
Hi Tom,

> Thanks Wolfgang, I am a little confused now, not sure what to do. On
> the short, I have to get something sorted so the Com DLL would be
> ideal, but I am not good at that, and haven't got time either.  So I
> would need someone to make it for me, do you know anyone that could
> help?

it depends on two things: how big is the API, and how urgent?
To be honest, I have never heard from MYOB - but I'm based in Italy, so
this may be excused.

If you need a sample how easy a COM based interface can be, look here:

https://riedmann.it/download/SendMailCOM.zip

X# is in fact the VO language available in .NET

> On the long run I guess X# is a promising option, but I am wondering
> how likely is X# ending up like Vulcan did?  Also in reality, how far
> is X# from commercial usability?

there are some differences between X# and Vulcan.
First of all, X# is made by the development team itself and not by a
company that needs to maintain sales people and others, and they put
their entire knowledge into it.
Second, X# is open source (but of course a subscription is very welcome
to finance the further development).

How far X# is from commercial usability? My first X# only application
is in production for about 2 years now. But it is pure .NET application
without any xBase runtime.
Another ex Vulcan WinForms application is in production for year about
now, but is using the Vulcan runtime. I expect to put the full X#
version in production the next weeks.
And I have to put in production the first migrated VO aplications this
year - customers are requiring it.

And some of my VO applications are already using COM modules written in
X# - and these are in production for about 1 to 2 years.

If you need the full VO compatibility, you have to wait a few months:

https://www.xsharp.info/articles/the-xsharp-development-roadmap-for-2018

The releases planned for May have been effectively released inthe first
days of June, so you can expect to have the entire functionality this
year.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#11719

Fromtom@dieselworks.com.au
Date2018-06-24 03:02 -0700
Message-ID<70e33feb-06a0-4056-a364-abc80205062c@googlegroups.com>
In reply to#11718
Thanks Wolfgang,
You have cleared up a few things and I like to have a closer look. My issues is that I am an old VO programmer and I stayed that way as I didn't want to worry about anything else other than business logic and converting into code. 
As such, I have not looked at other platforms in depth so I have no knowledge of Visual Studio etc.
I started going through the XSharp site and found a number of useful info/pages but failed to locate any guide that would help me to make my first "Hello world" application.
It would be quite beneficial to newcomers to have a quick guide how to do it, what do you need to download from where, etc.

In regards to the MYOB AccountRight API SDK this is the link:
http://developer.myob.com/api/accountright/arlive-sdk/dotnet_sdk/

MYOB is one of the most popular accounting software in Australia, but you can also find reasonable user-base in USA and NZ. In Australia it had approx. 80% of the market at one stage but they have lost some of it to Xero.

the API is required to communicate with the AccounRight (accounting) package to upload invoices, purchases, new customer details etc from our software. Since it is fairly limited in respect of what allowed to be uploaded the API is not really large.

Ideally I would like a solution, at least a partial one in the next few weeks, and I doubt that I can get up and running with X# efficiently within this time.
On the other hand I will certainly have a closer look at X# once I worked out what and how to install to get it going

Thanks again

Tom

[toc] | [prev] | [next] | [standalone]


#11720

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-06-24 15:54 +0200
Message-ID<fp9m4pF4ok3U1@mid.individual.net>
In reply to#11719
Hi Tom,

as Johan wrote: use XIDE as start, and then use the samples and
standard applications.

If you look at https://docs-xsharp.it you will find some material that
should help you further.

And there is a forum where both the devteam members and users may help
you forward.

Regarding the API: I would be willing to help you a bit, but I'm very,
very short on time.

Wolfgang

> You have cleared up a few things and I like to have a closer look. My
> issues is that I am an old VO programmer and I stayed that way as I
> didn't want to worry about anything else other than business logic
> and converting into code.  As such, I have not looked at other
> platforms in depth so I have no knowledge of Visual Studio etc.  I
> started going through the XSharp site and found a number of useful
> info/pages but failed to locate any guide that would help me to make
> my first "Hello world" application.  It would be quite beneficial to
> newcomers to have a quick guide how to do it, what do you need to
> download from where, etc.
> 
> In regards to the MYOB AccountRight API SDK this is the link:
> http://developer.myob.com/api/accountright/arlive-sdk/dotnet_sdk/
> 
> MYOB is one of the most popular accounting software in Australia, but
> you can also find reasonable user-base in USA and NZ. In Australia it
> had approx. 80% of the market at one stage but they have lost some of
> it to Xero.
> 
> the API is required to communicate with the AccounRight (accounting)
> package to upload invoices, purchases, new customer details etc from
> our software. Since it is fairly limited in respect of what allowed
> to be uploaded the API is not really large.
> 
> Ideally I would like a solution, at least a partial one in the next
> few weeks, and I doubt that I can get up and running with X#
> efficiently within this time.  On the other hand I will certainly
> have a closer look at X# once I worked out what and how to install to
> get it going
> 
> Thanks again
> 
> Tom



-- 

[toc] | [prev] | [next] | [standalone]


#11721

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-06-24 16:36 +0200
Message-ID<fp9okeF582uU1@mid.individual.net>
In reply to#11719
Hi Tom,

I have now looked at this API, and unfortunately it seems a bit
complicated for one like me that does not knows the product itself.

They are asking OAuth2 authentication, and I have my doubts that this
will be feasible easily with the cHTTP classes of VO.

Wolfgang

> In regards to the MYOB AccountRight API SDK this is the link:
> http://developer.myob.com/api/accountright/arlive-sdk/dotnet_sdk/
> 
> MYOB is one of the most popular accounting software in Australia, but
> you can also find reasonable user-base in USA and NZ. In Australia it
> had approx. 80% of the market at one stage but they have lost some of
> it to Xero.
> 
> the API is required to communicate with the AccounRight (accounting)
> package to upload invoices, purchases, new customer details etc from
> our software. Since it is fairly limited in respect of what allowed
> to be uploaded the API is not really large.
> 
> Ideally I would like a solution, at least a partial one in the next
> few weeks, and I doubt that I can get up and running with X#
> efficiently within this time.  On the other hand I will certainly
> have a closer look at X# once I worked out what and how to install to
> get it going
> 
> Thanks again
> 
> Tom



-- 

[toc] | [prev] | [next] | [standalone]


#11722

Fromtom@dieselworks.com.au
Date2018-06-24 23:07 -0700
Message-ID<45c67505-cda4-4ce6-a0c8-f383a1f43258@googlegroups.com>
In reply to#11721
Hi Wolfgang,

Well, I do not need the OAuth2, that is only required for the Cloud connection, at this stage I only need local so that would not be a problem. Considering this does it look do-able?
TIA
Tom

[toc] | [prev] | [next] | [standalone]


#11724

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-06-25 10:50 +0200
Message-ID<fpbomoFgjvhU1@mid.individual.net>
In reply to#11722
Hi Tom,

> Well, I do not need the OAuth2, that is only required for the Cloud
> connection, at this stage I only need local so that would not be a
> problem. Considering this does it look do-able?  

unfortunately I don't know this system.

If you can indicate me what part you need I can answer....

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#11723

Fromtom@dieselworks.com.au
Date2018-06-24 23:10 -0700
Message-ID<7e623c99-cfb4-43b6-868b-797f1dd2ea51@googlegroups.com>
In reply to#11719
Hi Johan
I had a look at the X# site for the installer last night but have no idea where to download it from. I may have overlooked but it certainly "didn't jump at me":-(
I have installed the visual studio as was suggested on the site, but that is as far as I made it.

If you have a moment can you shoot me a link, I am sure it is there but can't see

TIA

Tom

[toc] | [prev] | [next] | [standalone]


#11725

Fromtom@dieselworks.com.au
Date2018-06-25 06:00 -0700
Message-ID<92475f9d-5144-4b7e-ac69-fda1ea42162d@googlegroups.com>
In reply to#11715
Hi Wolfgang
Thanks again. I had a little think and just realised, the module I need can be a standalone. In light of this fact, I have a chance to create the little program in X# so I think I will go down on that path. I really appreciate your help, thanks again
Tom

[toc] | [prev] | [next] | [standalone]


#11726

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-06-25 17:06 +0200
Message-ID<fpcenlFks00U1@mid.individual.net>
In reply to#11725
Hi Tom,

in the meantime you had occasion to see how helpful the people in the
forum can be....

Wolfgang

> Thanks again. I had a little think and just realised, the module I
> need can be a standalone. In light of this fact, I have a chance to
> create the little program in X# so I think I will go down on that
> path. I really appreciate your help, thanks again Tom



-- 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web