Skip to content

kgreed/accountright_sample_csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# Sample App

Desktop sample app demonstrating accessing the AccountRight Live API using the SDK in C#

AccountRight API - C# desktop app

• Uses the new .Net SDK released with version 2 of the API • Navigates available files on local and cloud server • Manages OAuth login (note: SDK manages refreshing of tokens!) • Demonstrates use of paging through listing of invoices • Shows how to create new service invoices

Requirements

• Visual Studio 2010 with C# and .Net 3.5 or later • To access local server: AccountRight 2013.3 and API • To access cloud server: MYOBApi developer key and secret

Getting up and running

Unzip source code to a local folder and open the solution file. Install the MYOB.AccountRight.API.SDK NuGet package (i.e. type “Install-Package MYOB.AccountRight.API.SDK” in the package manager console), then compile and run. To use the cloud service with the sample change the placeholder Key and Secret in the code with your own.

The following blog post provides more details about getting started with the sample: VB.Net sample using the new AccountRight API SDK (http://myobapi.tumblr.com/post/58280200848/vb-net-sample-using-the-new-accountright-api-sdk) This equally applies to the C# sample

About

AccountRight_sample_csharp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%