Sankhya 3.0.609

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sankhya --version 3.0.609
                    
NuGet\Install-Package Sankhya -Version 3.0.609
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sankhya" Version="3.0.609" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sankhya" Version="3.0.609" />
                    
Directory.Packages.props
<PackageReference Include="Sankhya" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sankhya --version 3.0.609
                    
#r "nuget: Sankhya, 3.0.609"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sankhya@3.0.609
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sankhya&version=3.0.609
                    
Install as a Cake Addin
#tool nuget:?package=Sankhya&version=3.0.609
                    
Install as a Cake Tool

Sankhya SDK

📊⚙️ Sankhya .NET SDK.

GitHub license Time tracker

Sankhya logo

CI/CD

Build status Last commit Tests Coverage Code Smells LoC
Build status GitHub last commit AppVeyor tests (branch) Coverage Code Smells Lines of Code

Code Quality

Codacy Badge Codacy Badge

codecov CodeFactor

Maintainability Test Coverage

Quality Gate Status Maintainability Rating

Technical Debt Duplicated Lines (%)

Reliability Rating Security Rating

Bugs Vulnerabilities


Installation

Github Releases

GitHub last release Github All Releases

Download the latest zip file from the Release page.

Nuget package manager

Package Version Downloads
Sankhya Sankhya NuGet Version Sankhya NuGet Downloads

Features

This SDK implements many of Sankhya's web services. Some of them are called Know Services. If the service you seek is not set in the SDK, you can implement the service request/response independently (and use it on your code or submit a pull request to this repository).

Some Request Wrappers allow you to make some requests easily.

Known Services

Wiki page about KSRW

Sankhya Wrapper

The last-mile operations are done on these wrappers. This class defines all HTTP request/response, login/logout, serialization, and download/upload operations.

Avoid using this class directly from your implementation. Only call its methods if you are extending the SDK's functionality or implementing a new feature. Otherwise, prefer using one of the request wrappers or the Sankhya Context class.


Usage

Service registration (IoC / DI)

This SDK is based on CrispyWaffle toolkit, so you can use its Service Locator feature to register it.

Assuming you are using Crispy Waffle, you can register the Sankhya wrapper in the Bootstrapper.cs file this way:

var connectionSankhya = new Connection(); //Fill in your details
ServiceLocator.Register(() => new SankhyaContext(connectionSankhya), LifeStyle.Singleton);

Later, when you need to access the Sankhya Context in your code, you can just pass it as the constructor's argument or retrieve it from Service Locator

Constructor argument
public class MyClass {

    private readonly SankhyaContext _sankhyaContext;

    public MyClass(SankhyaContext sankyaContext) {
        _sankhyaContext = sankhyaContext ?? throw new ArgumentNullException(nameof(sankhyaContext));
    }
}
Retrieving manually
var sankhyaContext = ServiceLocator.Resolve<SankhyaContext>();

Know Services Wrapper

The KnowServicesRequestWrapper is a static class that can be used anywhere since SankhyaContext is registered through ServiceLocator.

Session management

You can use this to get all active sessions in Sankhya and kill them one by one:

var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions) {
    KnowServicesRequestWrapper.KillSession(session.Id);
}

Support

Please open an issue for support.


Contributing

Refer to CONTRIBUTING.md to learn how to contribute to this project!

Contributors

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/guibranco"> <img src="https://avatars.githubusercontent.com/u/3362854?v=4" width="100;" alt="guibranco"/> <br /> <sub><b>Guilherme Branco Stracini</b></sub> </a> </td> <td align="center"> <a href="https://github.com/fandriyaninkov"> <img src="https://avatars.githubusercontent.com/u/18394528?v=4" width="100;" alt="fandriyaninkov"/> <br /> <sub><b>Fedor Andriyaninkov</b></sub> </a> </td> <td align="center"> <a href="https://github.com/pedrowindisch"> <img src="https://avatars.githubusercontent.com/u/30203228?v=4" width="100;" alt="pedrowindisch"/> <br /> <sub><b>Pedro Henrique</b></sub> </a> </td> <td align="center"> <a href="https://github.com/viktoriussuwandi"> <img src="https://avatars.githubusercontent.com/u/68414300?v=4" width="100;" alt="viktoriussuwandi"/> <br /> <sub><b>Viktorius Suwandi</b></sub> </a> </td> </tr> <tbody> </table>

Bots

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/dependabot[bot]"> <img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100;" alt="dependabot[bot]"/> <br /> <sub><b>dependabot[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/github-actions[bot]"> <img src="https://avatars.githubusercontent.com/in/15368?v=4" width="100;" alt="github-actions[bot]"/> <br /> <sub><b>github-actions[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/stack-file[bot]"> <img src="https://avatars.githubusercontent.com/in/408123?v=4" width="100;" alt="stack-file[bot]"/> <br /> <sub><b>stack-file[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/codefactor-io[bot]"> <img src="https://avatars.githubusercontent.com/in/25603?v=4" width="100;" alt="codefactor-io[bot]"/> <br /> <sub><b>codefactor-io[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/snyk-bot"> <img src="https://avatars.githubusercontent.com/u/19733683?v=4" width="100;" alt="snyk-bot"/> <br /> <sub><b>Snyk bot</b></sub> </a> </td> </tr> <tbody> </table>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sankhya:

Package Downloads
EditoraInovacao.Sankhya.Entities

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.286 132 7/14/2025
5.0.283 128 7/14/2025
5.0.274 128 7/14/2025
5.0.271 134 7/7/2025
5.0.266 136 7/7/2025
5.0.263 133 6/30/2025
5.0.260 134 6/30/2025
5.0.255 135 6/23/2025
5.0.252 134 6/23/2025
5.0.247 150 6/16/2025
5.0.244 210 6/9/2025
5.0.241 215 6/9/2025
5.0.238 152 6/2/2025
5.0.235 162 5/26/2025
5.0.232 163 5/19/2025
5.0.229 157 5/19/2025
5.0.224 218 5/12/2025
5.0.221 156 5/8/2025
5.0.212 166 5/5/2025
5.0.207 174 4/28/2025
5.0.202 181 4/28/2025
5.0.197 186 4/21/2025
5.0.192 175 4/21/2025
5.0.189 235 4/14/2025
5.0.186 214 4/14/2025
5.0.181 186 4/7/2025
5.0.178 193 4/7/2025
5.0.173 187 3/31/2025
5.0.170 382 3/24/2025
5.0.167 373 3/24/2025
5.0.162 371 3/24/2025
5.0.159 179 3/17/2025
5.0.156 174 3/17/2025
5.0.151 184 3/17/2025
5.0.144 183 3/17/2025
5.0.141 220 3/10/2025
5.0.138 207 3/10/2025
5.0.135 150 3/3/2025
5.0.132 151 3/3/2025
5.0.127 179 2/24/2025
5.0.124 136 2/24/2025
5.0.119 128 2/24/2025
5.0.116 153 2/21/2025
5.0.113 150 2/21/2025
5.0.107 160 2/17/2025
5.0.102 154 2/17/2025
5.0.93 162 2/10/2025
5.0.90 158 2/10/2025
5.0.85 1,471 2/3/2025
5.0.82 131 2/3/2025
5.0.77 119 2/3/2025
5.0.74 190 1/27/2025
5.0.71 104 1/27/2025
5.0.66 112 1/27/2025
5.0.59 115 1/21/2025
5.0.58 377 1/20/2025
5.0.55 115 1/20/2025
5.0.52 129 1/20/2025
5.0.47 110 1/20/2025
5.0.38 110 1/13/2025
5.0.35 109 1/13/2025
5.0.32 107 1/13/2025
5.0.28 272 1/13/2025
5.0.19 111 1/13/2025
5.0.8 115 1/13/2025
4.1.106 218 1/6/2025
4.1.103 115 1/6/2025
4.1.98 109 1/6/2025
4.1.91 118 1/6/2025
4.1.84 126 12/31/2024
4.1.80 123 12/30/2024
4.1.77 116 12/30/2024
4.1.65 174 12/30/2024
4.1.57 114 12/30/2024
4.1.52 119 12/27/2024
4.1.47 122 12/27/2024
4.0.34 122 12/27/2024
4.0.25 122 12/27/2024
4.0.15 117 12/27/2024
4.0.8 128 12/27/2024
3.1.134 122 12/27/2024
3.1.126 259 12/23/2024
3.1.123 125 12/23/2024
3.1.118 119 12/23/2024
3.1.108 265 12/16/2024
3.1.103 126 12/16/2024
3.1.98 181 12/9/2024
3.1.95 120 12/9/2024
3.1.92 112 12/9/2024
3.1.83 307 12/2/2024
3.1.80 119 12/2/2024
3.1.75 115 12/2/2024
3.1.66 119 12/2/2024
3.1.61 317 11/25/2024
3.1.58 123 11/25/2024
3.1.53 128 11/25/2024
3.1.42 119 11/18/2024
3.1.37 260 11/18/2024
3.1.32 118 11/18/2024
3.1.16 122 11/17/2024
3.0.969 136 11/12/2024
3.0.950 129 11/12/2024
3.0.947 128 11/12/2024
3.0.938 292 11/11/2024
3.0.926 273 11/4/2024
3.0.923 121 11/4/2024
3.0.916 216 10/28/2024
3.0.913 120 10/28/2024
3.0.910 119 10/28/2024
3.0.889 256 10/21/2024
3.0.886 137 10/21/2024
3.0.883 121 10/21/2024
3.0.878 129 10/21/2024
3.0.869 142 10/19/2024
3.0.865 164 10/18/2024
3.0.862 161 10/18/2024
3.0.856 142 10/18/2024
3.0.845 129 10/18/2024
3.0.842 245 10/14/2024
3.0.837 137 10/12/2024
3.0.822 118 10/7/2024
3.0.819 131 10/2/2024
3.0.816 134 10/2/2024
3.0.811 130 10/2/2024
3.0.808 130 10/2/2024
3.0.805 140 10/2/2024
3.0.794 345 9/23/2024
3.0.791 138 9/23/2024
3.0.786 126 9/23/2024
3.0.782 160 9/17/2024
3.0.778 268 9/16/2024
3.0.775 152 9/16/2024
3.0.768 217 9/9/2024
3.0.765 150 9/9/2024
3.0.760 139 9/9/2024
3.0.757 131 9/9/2024
3.0.748 263 9/2/2024
3.0.745 142 9/2/2024
3.0.740 147 8/28/2024
3.0.734 149 8/28/2024
3.0.731 131 8/28/2024
3.0.722 151 8/27/2024
3.0.719 139 8/27/2024
3.0.707 128 8/27/2024
3.0.702 151 8/27/2024
3.0.694 143 8/26/2024
3.0.686 147 8/26/2024
3.0.680 274 8/26/2024
3.0.672 131 8/26/2024
3.0.656 168 8/24/2024
3.0.648 163 8/24/2024
3.0.640 756 8/19/2024
3.0.637 148 8/19/2024
3.0.634 149 8/19/2024
3.0.629 142 8/19/2024
3.0.620 171 8/12/2024
3.0.617 147 8/12/2024
3.0.612 151 8/12/2024
3.0.609 131 8/5/2024
3.0.606 100 8/5/2024
3.0.601 161 7/29/2024
3.0.598 125 7/29/2024
3.0.589 143 7/22/2024
3.0.586 134 7/22/2024
3.0.567 187 7/22/2024
3.0.564 115 7/20/2024
3.0.563 119 7/20/2024
3.0.559 145 7/20/2024
3.0.549 128 7/17/2024
3.0.545 125 7/17/2024
3.0.542 127 7/17/2024
3.0.539 112 7/16/2024
3.0.535 145 7/15/2024
3.0.530 133 7/15/2024
3.0.523 136 7/15/2024
3.0.514 127 7/12/2024
3.0.511 125 7/12/2024
3.0.506 126 7/12/2024
3.0.503 109 7/12/2024
3.0.500 109 7/12/2024
3.0.477 144 7/8/2024
3.0.470 165 7/3/2024
3.0.467 158 7/1/2024
3.0.464 149 7/1/2024
3.0.459 174 6/24/2024
3.0.456 175 6/17/2024
3.0.453 135 6/17/2024
3.0.448 167 6/10/2024
3.0.445 144 6/3/2024
3.0.442 138 6/3/2024
3.0.437 116 5/27/2024
3.0.434 173 5/27/2024
3.0.429 145 5/27/2024
3.0.422 156 5/27/2024
3.0.413 147 5/27/2024
3.0.402 163 5/20/2024
3.0.399 157 5/19/2024
3.0.393 135 5/13/2024
3.0.390 181 5/6/2024
3.0.387 154 4/30/2024
3.0.384 147 4/30/2024
3.0.380 155 4/30/2024
3.0.373 170 4/30/2024
3.0.364 158 4/30/2024
3.0.361 161 4/29/2024
3.0.348 145 4/22/2024
3.0.345 132 4/22/2024
3.0.340 181 4/22/2024
3.0.337 157 4/22/2024
3.0.328 170 4/15/2024
3.0.325 152 4/15/2024
3.0.320 144 4/15/2024
3.0.313 146 4/15/2024
3.0.304 180 4/8/2024
3.0.301 149 4/8/2024
3.0.296 149 4/8/2024
3.0.289 180 4/1/2024
3.0.286 145 4/1/2024
3.0.281 192 3/25/2024
3.0.278 150 3/25/2024
3.0.273 170 3/18/2024
3.0.270 173 3/18/2024
3.0.265 161 3/11/2024
3.0.262 158 3/11/2024
3.0.257 193 3/4/2024
3.0.254 160 2/26/2024
3.0.251 191 2/26/2024
3.0.246 153 2/26/2024
3.0.239 145 2/19/2024
3.0.236 146 2/19/2024
3.0.231 148 2/19/2024
3.0.224 155 2/19/2024
3.0.215 155 2/14/2024
3.0.210 165 2/12/2024
3.0.207 181 2/12/2024
3.0.204 167 2/12/2024
3.0.197 182 2/7/2024
3.0.188 158 2/6/2024
3.0.184 162 2/5/2024
3.0.178 151 1/30/2024
3.0.175 148 1/30/2024
3.0.170 139 1/29/2024
3.0.163 146 1/29/2024
3.0.156 165 1/29/2024
3.0.142 150 1/24/2024
3.0.139 153 1/24/2024
3.0.136 142 1/23/2024
3.0.129 146 1/23/2024
3.0.124 143 1/23/2024
3.0.117 148 1/22/2024
3.0.114 146 1/22/2024
3.0.107 173 1/22/2024
3.0.102 144 1/22/2024
3.0.97 148 1/22/2024
3.0.86 201 1/16/2024
3.0.83 153 1/16/2024
3.0.71 161 1/15/2024
3.0.62 163 1/8/2024
3.0.59 212 1/1/2024
3.0.56 174 12/25/2023
3.0.53 172 12/25/2023
3.0.48 163 12/25/2023
3.0.41 141 12/25/2023
3.0.32 1,408 12/18/2023
3.0.5 178 12/17/2023
2.0.773 165 12/14/2023
2.0.767 187 12/11/2023
2.0.764 165 12/11/2023
2.0.759 177 12/11/2023
2.0.752 197 12/11/2023
2.0.743 148 12/11/2023
2.0.732 184 12/11/2023
2.0.729 176 12/6/2023
2.0.724 199 12/4/2023
2.0.721 147 12/4/2023
2.0.716 153 12/4/2023
2.0.709 157 12/4/2023
2.0.698 141 11/27/2023
2.0.695 133 11/27/2023
2.0.690 1,480 11/21/2023
2.0.686 155 11/21/2023
2.0.681 155 11/20/2023
2.0.674 162 11/20/2023
2.0.665 249 11/14/2023
2.0.658 158 11/14/2023
2.0.653 149 11/14/2023
2.0.650 160 11/14/2023
2.0.643 162 11/14/2023
2.0.636 142 11/14/2023
2.0.623 130 11/13/2023
2.0.614 184 11/9/2023
2.0.606 165 11/6/2023
2.0.601 213 10/30/2023
2.0.598 154 10/30/2023
2.0.595 160 10/30/2023
2.0.590 172 10/26/2023
2.0.586 181 10/23/2023
2.0.583 167 10/23/2023
2.0.578 199 10/17/2023
2.0.575 189 10/17/2023
2.0.570 170 10/17/2023
2.0.563 178 10/16/2023
2.0.554 137 10/16/2023
2.0.543 195 10/16/2023
2.0.530 171 10/10/2023
2.0.526 158 10/10/2023
2.0.519 194 10/8/2023
2.0.512 133 10/8/2023
2.0.495 176 10/8/2023
2.0.486 186 10/8/2023
2.0.450 185 10/2/2023
2.0.447 186 10/2/2023
2.0.442 209 9/25/2023
2.0.439 186 9/25/2023
2.0.434 174 9/23/2023
2.0.431 140 9/19/2023
2.0.428 142 9/19/2023
2.0.419 211 9/16/2023
2.0.416 210 9/13/2023
2.0.413 171 9/12/2023
2.0.408 190 9/12/2023
2.0.401 159 9/12/2023
2.0.392 189 9/6/2023
2.0.387 356 9/4/2023
2.0.384 277 8/28/2023
2.0.381 185 8/28/2023
2.0.376 257 8/24/2023
2.0.373 421 8/14/2023
2.0.344 286 8/9/2023
2.0.337 217 8/9/2023
2.0.332 221 8/9/2023
2.0.325 408 7/29/2023
2.0.322 226 7/29/2023
2.0.315 178 7/29/2023
2.0.311 289 7/24/2023
2.0.308 214 7/24/2023
2.0.302 265 7/17/2023
2.0.299 196 7/17/2023
2.0.284 230 7/12/2023
2.0.272 316 7/10/2023
2.0.265 239 7/10/2023
2.0.256 316 7/3/2023
2.0.253 220 7/3/2023
2.0.248 231 7/3/2023
2.0.241 371 6/19/2023
2.0.238 223 6/19/2023
2.0.233 380 6/15/2023
2.0.230 264 6/15/2023
2.0.225 268 6/15/2023
2.0.218 315 6/6/2023
2.0.215 297 6/5/2023
2.0.210 208 6/5/2023
2.0.203 227 6/5/2023
2.0.191 518 5/22/2023
2.0.188 240 5/22/2023
2.0.183 325 5/15/2023
2.0.180 287 5/15/2023
2.0.175 345 5/8/2023
2.0.168 214 5/8/2023
2.0.163 468 5/4/2023
2.0.160 245 5/3/2023
2.0.155 481 4/10/2023
2.0.152 272 4/10/2023
2.0.147 272 4/9/2023
2.0.141 261 4/4/2023
2.0.136 418 4/3/2023
2.0.133 300 4/3/2023
2.0.128 380 3/27/2023
2.0.125 281 3/27/2023
2.0.122 334 3/27/2023
2.0.119 276 3/27/2023
2.0.111 316 3/26/2023
2.0.108 342 3/22/2023
2.0.103 320 3/21/2023
2.0.98 296 3/21/2023
2.0.91 402 3/5/2023
2.0.86 318 3/5/2023
2.0.82 314 3/5/2023
2.0.76 317 3/3/2023
2.0.75 313 3/3/2023
2.0.65 348 2/28/2023
2.0.62 370 1/30/2023
2.0.59 467 1/23/2023
2.0.56 344 1/23/2023
2.0.53 361 1/19/2023
2.0.52 372 1/17/2023
2.0.51 631 1/16/2023
2.0.50 391 1/16/2023
2.0.47 366 1/16/2023
2.0.40 371 1/16/2023
2.0.35 361 1/16/2023
2.0.29 352 1/16/2023
2.0.26 376 1/16/2023
2.0.20 406 1/16/2023
1.0.2 1,608 9/22/2019