Forum Discussion

Anton8's avatar
5 years ago

Where's the best place to get help with API sample code

I would like to run the sample API connection code.  Is this the right site for these (http://myob-technology.github.io/AccountRight_Sample_vb.net/) - as it seems to refer to Visual studio 10 and accountright 2013?

 

I am using the latest visual studio: Community 2019

When I tried to run the nuget in the package manager console (i.e. Install-Package MYOB.AccountRight.API.SDK) i got all sorts of errors:

 

PM> Install-Package MYOB.AccountRight.API.SDK
Install-Package : Some NuGet packages are missing from the solution. The packages need to be restored in order to build the dependency graph. Restore the packages before performing 
any operations.
At line:1 char:1
+ Install-Package MYOB.AccountRight.API.SDK
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetMissingPackages,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 

If you can lead me in the right direction to get a simple sample code running, that would be great - happy to read documentation - i went to the 'getting started' site already, but nothing there i could find about running some sample code.

thanks

anton

  • Neil_M's avatar
    Neil_M
    Former Staff

    Hi Anton8 

     

    For documentation on the API I recommend having a look at our API support site, which includes a number of sample code snippets for use in your app. Additionally if you had any specific questions you can contact our API specialist team through the Contact Us page on the aforementioned site