Lee Savidge Posted May 15 Share Posted May 15 Definitely need to get some C# example code for the REST API. Link to comment Share on other sites More sharing options...
Preston, Charlie Posted May 15 Share Posted May 15 In the documentation on the right hand sidebar for each call there are code examples - C# is the last tab. Also, in postman it shows code snippets for C# calls. These aren't full blown examples, but thought I'd mention it in case you hadn't seen them 🙂 1 Link to comment Share on other sites More sharing options...
Lee Savidge Posted May 15 Author Share Posted May 15 Cheers @Preston, Charlie I had not seen those 🙂 Is there one showing the code to to the authorisation? The examples seem to assume I have an access token already, or did I miss something? Thanks Link to comment Share on other sites More sharing options...
Preston, Charlie Posted May 15 Share Posted May 15 That's right - they will have already received the authorisation token. There are examples in PHP and Node for how to get a token, but no C# example. These are using a callback: https://developer.sage.com/intacct/docs/developer-portal/tutorials/php-oauth2-example/ https://developer.sage.com/intacct/docs/developer-portal/tutorials/js-oauth2-example/ There is another forum question asking about getting a token without having to use a callback. Cheers 1 Link to comment Share on other sites More sharing options...
Recommended Posts