I have a need to integrate to the Sage (Cloud) Accounting software via Sage provided APIs.
How to do this, is described in these pages: [login to view URL]
To invoke the Sage APIs, I need a token.
The token can be generated using a library provided by Sage. This library is developed in C#
The Sample code used to generate the token is provided here:
[login to view URL]
Please note that there are two proects:
1. Client Library - The library of routines used to generate the token
2. Sample Solution - The form based front-end app that calls the Client Library to generate the token
Today, I can download the Client Library and Sample Solution and run .exe file to generate the token. Then I can "copy and paste" the token into my Java code so that I can use this token to call the Sage APIs.
In order to avoid the manual "copy and paste" task, I need to be able to generate the token programatically.
In order to programatically generate the token, the above mentioned C# (Client Library) code need to be migrated to Java, so that the main Java code can invoke it.
(5) Your main task is to:
-- migrate the C# code for (1) Client Library and (2) Sample Solution to Java
-- Run the Sample Solution to to generate a Token
-- Use this token to call a Sage API
-- In order to do the above, you will need to register as a Sage devloper and obtain your developer credentials
-- You will need to handover all the source code you have developed and demonstrate that the code is working.