Sankhya 3.0.869

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sankhya --version 3.0.869
                    
NuGet\Install-Package Sankhya -Version 3.0.869
                    
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.869" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sankhya" Version="3.0.869" />
                    
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.869
                    
#r "nuget: Sankhya, 3.0.869"
                    
#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.869
                    
#: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.869
                    
Install as a Cake Addin
#tool nuget:?package=Sankhya&version=3.0.869
                    
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, I 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/penify-dev[bot]"> <img src="https://avatars.githubusercontent.com/in/399279?v=4" width="100;" alt="penify-dev[bot]"/> <br /> <sub><b>penify-dev[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/gitauto-ai[bot]"> <img src="https://avatars.githubusercontent.com/in/844909?v=4" width="100;" alt="gitauto-ai[bot]"/> <br /> <sub><b>gitauto-ai[bot]</b></sub> </a> </td> </tr> <tr> <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 29 7/14/2025
5.0.283 26 7/14/2025
5.0.274 26 7/14/2025
5.0.271 129 7/7/2025
5.0.266 130 7/7/2025
5.0.263 131 6/30/2025
5.0.260 132 6/30/2025
5.0.255 133 6/23/2025
5.0.252 131 6/23/2025
5.0.247 145 6/16/2025
5.0.244 207 6/9/2025
5.0.241 212 6/9/2025
5.0.238 148 6/2/2025
5.0.235 159 5/26/2025
5.0.232 159 5/19/2025
5.0.229 154 5/19/2025
5.0.224 215 5/12/2025
5.0.221 153 5/8/2025
5.0.212 162 5/5/2025
5.0.207 171 4/28/2025
5.0.202 178 4/28/2025
5.0.197 183 4/21/2025
5.0.192 172 4/21/2025
5.0.189 229 4/14/2025
5.0.186 211 4/14/2025
5.0.181 181 4/7/2025
5.0.178 190 4/7/2025
5.0.173 182 3/31/2025
5.0.170 377 3/24/2025
5.0.167 369 3/24/2025
5.0.162 368 3/24/2025
5.0.159 175 3/17/2025
5.0.156 171 3/17/2025
5.0.151 180 3/17/2025
5.0.144 179 3/17/2025
5.0.141 215 3/10/2025
5.0.138 205 3/10/2025
5.0.135 146 3/3/2025
5.0.132 147 3/3/2025
5.0.127 176 2/24/2025
5.0.124 133 2/24/2025
5.0.119 124 2/24/2025
5.0.116 149 2/21/2025
5.0.113 147 2/21/2025
5.0.107 158 2/17/2025
5.0.102 152 2/17/2025
5.0.93 160 2/10/2025
5.0.90 155 2/10/2025
5.0.85 1,399 2/3/2025
5.0.82 126 2/3/2025
5.0.77 116 2/3/2025
5.0.74 188 1/27/2025
5.0.71 102 1/27/2025
5.0.66 109 1/27/2025
5.0.59 113 1/21/2025
5.0.58 372 1/20/2025
5.0.55 112 1/20/2025
5.0.52 127 1/20/2025
5.0.47 107 1/20/2025
5.0.38 105 1/13/2025
5.0.35 106 1/13/2025
5.0.32 105 1/13/2025
5.0.28 269 1/13/2025
5.0.19 108 1/13/2025
5.0.8 113 1/13/2025
4.1.106 216 1/6/2025
4.1.103 113 1/6/2025
4.1.98 107 1/6/2025
4.1.91 116 1/6/2025
4.1.84 124 12/31/2024
4.1.80 120 12/30/2024
4.1.77 114 12/30/2024
4.1.65 171 12/30/2024
4.1.57 112 12/30/2024
4.1.52 117 12/27/2024
4.1.47 120 12/27/2024
4.0.34 118 12/27/2024
4.0.25 120 12/27/2024
4.0.15 115 12/27/2024
4.0.8 125 12/27/2024
3.1.134 119 12/27/2024
3.1.126 257 12/23/2024
3.1.123 123 12/23/2024
3.1.118 117 12/23/2024
3.1.108 263 12/16/2024
3.1.103 121 12/16/2024
3.1.98 179 12/9/2024
3.1.95 118 12/9/2024
3.1.92 109 12/9/2024
3.1.83 302 12/2/2024
3.1.80 117 12/2/2024
3.1.75 113 12/2/2024
3.1.66 117 12/2/2024
3.1.61 314 11/25/2024
3.1.58 120 11/25/2024
3.1.53 124 11/25/2024
3.1.42 117 11/18/2024
3.1.37 257 11/18/2024
3.1.32 116 11/18/2024
3.1.16 120 11/17/2024
3.0.969 134 11/12/2024
3.0.950 126 11/12/2024
3.0.947 126 11/12/2024
3.0.938 290 11/11/2024
3.0.926 271 11/4/2024
3.0.923 119 11/4/2024
3.0.916 214 10/28/2024
3.0.913 118 10/28/2024
3.0.910 117 10/28/2024
3.0.889 253 10/21/2024
3.0.886 135 10/21/2024
3.0.883 118 10/21/2024
3.0.878 126 10/21/2024
3.0.869 140 10/19/2024
3.0.865 161 10/18/2024
3.0.862 159 10/18/2024
3.0.856 140 10/18/2024
3.0.845 127 10/18/2024
3.0.842 243 10/14/2024
3.0.837 134 10/12/2024
3.0.822 116 10/7/2024
3.0.819 128 10/2/2024
3.0.816 131 10/2/2024
3.0.811 128 10/2/2024
3.0.808 128 10/2/2024
3.0.805 137 10/2/2024
3.0.794 343 9/23/2024
3.0.791 132 9/23/2024
3.0.786 122 9/23/2024
3.0.782 158 9/17/2024
3.0.778 265 9/16/2024
3.0.775 149 9/16/2024
3.0.768 214 9/9/2024
3.0.765 146 9/9/2024
3.0.760 135 9/9/2024
3.0.757 129 9/9/2024
3.0.748 260 9/2/2024
3.0.745 139 9/2/2024
3.0.740 145 8/28/2024
3.0.734 146 8/28/2024
3.0.731 129 8/28/2024
3.0.722 149 8/27/2024
3.0.719 137 8/27/2024
3.0.707 124 8/27/2024
3.0.702 149 8/27/2024
3.0.694 140 8/26/2024
3.0.686 144 8/26/2024
3.0.680 272 8/26/2024
3.0.672 129 8/26/2024
3.0.656 166 8/24/2024
3.0.648 161 8/24/2024
3.0.640 754 8/19/2024
3.0.637 146 8/19/2024
3.0.634 146 8/19/2024
3.0.629 140 8/19/2024
3.0.620 166 8/12/2024
3.0.617 145 8/12/2024
3.0.612 149 8/12/2024
3.0.609 129 8/5/2024
3.0.606 97 8/5/2024
3.0.601 158 7/29/2024
3.0.598 123 7/29/2024
3.0.589 140 7/22/2024
3.0.586 131 7/22/2024
3.0.567 183 7/22/2024
3.0.564 113 7/20/2024
3.0.563 116 7/20/2024
3.0.559 142 7/20/2024
3.0.549 126 7/17/2024
3.0.545 122 7/17/2024
3.0.542 125 7/17/2024
3.0.539 109 7/16/2024
3.0.535 143 7/15/2024
3.0.530 131 7/15/2024
3.0.523 133 7/15/2024
3.0.514 125 7/12/2024
3.0.511 123 7/12/2024
3.0.506 122 7/12/2024
3.0.503 107 7/12/2024
3.0.500 105 7/12/2024
3.0.477 141 7/8/2024
3.0.470 161 7/3/2024
3.0.467 156 7/1/2024
3.0.464 147 7/1/2024
3.0.459 172 6/24/2024
3.0.456 173 6/17/2024
3.0.453 133 6/17/2024
3.0.448 165 6/10/2024
3.0.445 140 6/3/2024
3.0.442 136 6/3/2024
3.0.437 114 5/27/2024
3.0.434 171 5/27/2024
3.0.429 143 5/27/2024
3.0.422 153 5/27/2024
3.0.413 144 5/27/2024
3.0.402 161 5/20/2024
3.0.399 153 5/19/2024
3.0.393 131 5/13/2024
3.0.390 179 5/6/2024
3.0.387 152 4/30/2024
3.0.384 145 4/30/2024
3.0.380 153 4/30/2024
3.0.373 165 4/30/2024
3.0.364 156 4/30/2024
3.0.361 159 4/29/2024
3.0.348 143 4/22/2024
3.0.345 130 4/22/2024
3.0.340 178 4/22/2024
3.0.337 152 4/22/2024
3.0.328 168 4/15/2024
3.0.325 150 4/15/2024
3.0.320 141 4/15/2024
3.0.313 143 4/15/2024
3.0.304 177 4/8/2024
3.0.301 147 4/8/2024
3.0.296 146 4/8/2024
3.0.289 178 4/1/2024
3.0.286 143 4/1/2024
3.0.281 190 3/25/2024
3.0.278 147 3/25/2024
3.0.273 168 3/18/2024
3.0.270 171 3/18/2024
3.0.265 157 3/11/2024
3.0.262 155 3/11/2024
3.0.257 191 3/4/2024
3.0.254 156 2/26/2024
3.0.251 189 2/26/2024
3.0.246 151 2/26/2024
3.0.239 143 2/19/2024
3.0.236 144 2/19/2024
3.0.231 144 2/19/2024
3.0.224 152 2/19/2024
3.0.215 153 2/14/2024
3.0.210 160 2/12/2024
3.0.207 178 2/12/2024
3.0.204 164 2/12/2024
3.0.197 178 2/7/2024
3.0.188 156 2/6/2024
3.0.184 160 2/5/2024
3.0.178 149 1/30/2024
3.0.175 145 1/30/2024
3.0.170 136 1/29/2024
3.0.163 144 1/29/2024
3.0.156 161 1/29/2024
3.0.142 148 1/24/2024
3.0.139 150 1/24/2024
3.0.136 140 1/23/2024
3.0.129 144 1/23/2024
3.0.124 140 1/23/2024
3.0.117 146 1/22/2024
3.0.114 144 1/22/2024
3.0.107 171 1/22/2024
3.0.102 142 1/22/2024
3.0.97 145 1/22/2024
3.0.86 199 1/16/2024
3.0.83 151 1/16/2024
3.0.71 159 1/15/2024
3.0.62 161 1/8/2024
3.0.59 208 1/1/2024
3.0.56 172 12/25/2023
3.0.53 170 12/25/2023
3.0.48 160 12/25/2023
3.0.41 139 12/25/2023
3.0.32 1,404 12/18/2023
3.0.5 176 12/17/2023
2.0.773 163 12/14/2023
2.0.767 183 12/11/2023
2.0.764 163 12/11/2023
2.0.759 175 12/11/2023
2.0.752 195 12/11/2023
2.0.743 146 12/11/2023
2.0.732 181 12/11/2023
2.0.729 174 12/6/2023
2.0.724 195 12/4/2023
2.0.721 145 12/4/2023
2.0.716 150 12/4/2023
2.0.709 155 12/4/2023
2.0.698 139 11/27/2023
2.0.695 131 11/27/2023
2.0.690 1,472 11/21/2023
2.0.686 153 11/21/2023
2.0.681 151 11/20/2023
2.0.674 160 11/20/2023
2.0.665 247 11/14/2023
2.0.658 155 11/14/2023
2.0.653 145 11/14/2023
2.0.650 156 11/14/2023
2.0.643 160 11/14/2023
2.0.636 140 11/14/2023
2.0.623 128 11/13/2023
2.0.614 182 11/9/2023
2.0.606 163 11/6/2023
2.0.601 211 10/30/2023
2.0.598 150 10/30/2023
2.0.595 158 10/30/2023
2.0.590 170 10/26/2023
2.0.586 178 10/23/2023
2.0.583 165 10/23/2023
2.0.578 196 10/17/2023
2.0.575 185 10/17/2023
2.0.570 168 10/17/2023
2.0.563 176 10/16/2023
2.0.554 134 10/16/2023
2.0.543 193 10/16/2023
2.0.530 169 10/10/2023
2.0.526 156 10/10/2023
2.0.519 192 10/8/2023
2.0.512 131 10/8/2023
2.0.495 174 10/8/2023
2.0.486 181 10/8/2023
2.0.450 182 10/2/2023
2.0.447 183 10/2/2023
2.0.442 207 9/25/2023
2.0.439 184 9/25/2023
2.0.434 171 9/23/2023
2.0.431 138 9/19/2023
2.0.428 140 9/19/2023
2.0.419 209 9/16/2023
2.0.416 208 9/13/2023
2.0.413 169 9/12/2023
2.0.408 186 9/12/2023
2.0.401 157 9/12/2023
2.0.392 186 9/6/2023
2.0.387 347 9/4/2023
2.0.384 274 8/28/2023
2.0.381 182 8/28/2023
2.0.376 253 8/24/2023
2.0.373 417 8/14/2023
2.0.344 281 8/9/2023
2.0.337 212 8/9/2023
2.0.332 217 8/9/2023
2.0.325 402 7/29/2023
2.0.322 220 7/29/2023
2.0.315 171 7/29/2023
2.0.311 285 7/24/2023
2.0.308 210 7/24/2023
2.0.302 261 7/17/2023
2.0.299 190 7/17/2023
2.0.284 226 7/12/2023
2.0.272 310 7/10/2023
2.0.265 232 7/10/2023
2.0.256 311 7/3/2023
2.0.253 215 7/3/2023
2.0.248 226 7/3/2023
2.0.241 367 6/19/2023
2.0.238 218 6/19/2023
2.0.233 376 6/15/2023
2.0.230 260 6/15/2023
2.0.225 263 6/15/2023
2.0.218 310 6/6/2023
2.0.215 292 6/5/2023
2.0.210 203 6/5/2023
2.0.203 223 6/5/2023
2.0.191 514 5/22/2023
2.0.188 234 5/22/2023
2.0.183 321 5/15/2023
2.0.180 282 5/15/2023
2.0.175 339 5/8/2023
2.0.168 210 5/8/2023
2.0.163 463 5/4/2023
2.0.160 240 5/3/2023
2.0.155 476 4/10/2023
2.0.152 267 4/10/2023
2.0.147 268 4/9/2023
2.0.141 257 4/4/2023
2.0.136 415 4/3/2023
2.0.133 297 4/3/2023
2.0.128 375 3/27/2023
2.0.125 276 3/27/2023
2.0.122 330 3/27/2023
2.0.119 272 3/27/2023
2.0.111 311 3/26/2023
2.0.108 336 3/22/2023
2.0.103 315 3/21/2023
2.0.98 291 3/21/2023
2.0.91 397 3/5/2023
2.0.86 314 3/5/2023
2.0.82 308 3/5/2023
2.0.76 313 3/3/2023
2.0.75 309 3/3/2023
2.0.65 343 2/28/2023
2.0.62 366 1/30/2023
2.0.59 461 1/23/2023
2.0.56 340 1/23/2023
2.0.53 356 1/19/2023
2.0.52 367 1/17/2023
2.0.51 627 1/16/2023
2.0.50 386 1/16/2023
2.0.47 363 1/16/2023
2.0.40 366 1/16/2023
2.0.35 357 1/16/2023
2.0.29 349 1/16/2023
2.0.26 371 1/16/2023
2.0.20 402 1/16/2023
1.0.2 1,605 9/22/2019