Note: Library Free for Use without Support, For Support Require Per Return Integration Charges
You may directly open TaxProGSTApiWinFormsDemo Project using Visual Studio. Demo project has UI and backend code to show integration of some available TaxProGST.API library method corresponding to respective API in your application.
Before you start using TaxProGST.API Lib. First thing to watch for is GSTSession class which inherits APISession class.
Session Events that need to handle in GSTSession class
1
EnableAutoRefreshTokenOnApiCall = true / false
This will Enable AutoRefreshAuthToken in StartAPITxn provided Token is Refresh within 24 Hr from First Successful AuthToken Response otherwise RequiresReEstablisingOTPandAuthToken event will be invoke
2
RefreshAuthTokenCompleted
Event to Handle Refresh Authtoken to store ApiLoginDetails.
Update AuthToken, SEK,TokenExp and AppKey to ApiLoginDetails
3
RefreshSessionCompleted
Event to Handle Refresh APISession to store details.
Update SessionID and ASPEk to ApiSettings
4
RequiresReEstablisingOTPandAuthToken
Event to handle Re-establish OTP and Authtoken
5
StartingApiTxn
Event Handler for StartAPI Transaction : You can check Licensing or anything that you want to do before starting API Transaction
The contents of GST Api Integration .NET 4.6 Library [C#]