Sankhya 2.0.724

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sankhya --version 2.0.724
                    
NuGet\Install-Package Sankhya -Version 2.0.724
                    
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="2.0.724" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sankhya" Version="2.0.724" />
                    
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 2.0.724
                    
#r "nuget: Sankhya, 2.0.724"
                    
#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@2.0.724
                    
#: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=2.0.724
                    
Install as a Cake Addin
#tool nuget:?package=Sankhya&version=2.0.724
                    
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 are looking for is not set in the SDK, you can implement the service request/response on your own (and use it on your code or submit a pull request to this repository).

There are also some Request Wrappers that allow you to make some requests in an easy way.

Known Services

Wiki page about KSRW

Sankhya Wrapper

The last mile operations are done on this wrappers. All HTTP request/responses, login/logout, serialization, download/upload operations are defined on this class.

Avoid usage of this class directly from you implementation. Only call methods of this class if you are extending the usage of the SDK or even implementing a new feature for the SDK, 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 it's 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 you code, you can just pass it as 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 one by one:

var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions) {
    KnowServicesRequestWrapper.KillSession(session.Id);
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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.431 40 9/22/2025
5.0.428 211 9/15/2025
5.0.425 207 9/15/2025
5.0.422 204 9/15/2025
5.0.415 129 9/8/2025
5.0.412 126 9/8/2025
5.0.409 129 9/8/2025
5.0.404 129 9/8/2025
5.0.395 147 9/3/2025
5.0.392 133 9/1/2025
5.0.385 158 8/29/2025
5.0.380 243 8/25/2025
5.0.375 247 8/25/2025
5.0.372 127 8/18/2025
5.0.359 125 8/18/2025
5.0.356 134 8/11/2025
5.0.351 128 8/11/2025
5.0.348 149 8/4/2025
5.0.345 102 7/28/2025
5.0.341 101 7/28/2025
5.0.334 99 7/28/2025
5.0.331 101 7/28/2025
5.0.322 473 7/24/2025
5.0.315 467 7/23/2025
5.0.310 473 7/23/2025
5.0.303 471 7/23/2025
5.0.286 151 7/14/2025
5.0.283 142 7/14/2025
5.0.274 142 7/14/2025
5.0.271 147 7/7/2025
5.0.266 152 7/7/2025
5.0.263 149 6/30/2025
5.0.260 150 6/30/2025
5.0.255 156 6/23/2025
5.0.252 154 6/23/2025
5.0.247 167 6/16/2025
5.0.244 223 6/9/2025
5.0.241 235 6/9/2025
5.0.238 172 6/2/2025
5.0.235 181 5/26/2025
5.0.232 181 5/19/2025
5.0.229 178 5/19/2025
5.0.224 241 5/12/2025
5.0.221 169 5/8/2025
5.0.212 185 5/5/2025
5.0.207 185 4/28/2025
5.0.202 198 4/28/2025
5.0.197 213 4/21/2025
5.0.192 199 4/21/2025
5.0.189 251 4/14/2025
5.0.186 226 4/14/2025
5.0.181 203 4/7/2025
5.0.178 210 4/7/2025
5.0.173 204 3/31/2025
5.0.170 401 3/24/2025
5.0.167 400 3/24/2025
5.0.162 389 3/24/2025
5.0.159 191 3/17/2025
5.0.156 188 3/17/2025
5.0.151 197 3/17/2025
5.0.144 205 3/17/2025
5.0.141 243 3/10/2025
5.0.138 217 3/10/2025
5.0.135 169 3/3/2025
5.0.132 164 3/3/2025
5.0.127 197 2/24/2025
5.0.124 147 2/24/2025
5.0.119 145 2/24/2025
5.0.116 170 2/21/2025
5.0.113 168 2/21/2025
5.0.107 175 2/17/2025
5.0.102 170 2/17/2025
5.0.93 175 2/10/2025
5.0.90 177 2/10/2025
5.0.85 1,781 2/3/2025
5.0.82 147 2/3/2025
5.0.77 137 2/3/2025
5.0.74 201 1/27/2025
5.0.71 117 1/27/2025
5.0.66 130 1/27/2025
5.0.59 135 1/21/2025
5.0.58 394 1/20/2025
5.0.55 130 1/20/2025
5.0.52 144 1/20/2025
5.0.47 128 1/20/2025
5.0.38 124 1/13/2025
5.0.35 124 1/13/2025
5.0.32 121 1/13/2025
5.0.28 293 1/13/2025
5.0.19 126 1/13/2025
5.0.8 127 1/13/2025
4.1.106 231 1/6/2025
4.1.103 125 1/6/2025
4.1.98 125 1/6/2025
4.1.91 132 1/6/2025
4.1.84 139 12/31/2024
4.1.80 135 12/30/2024
4.1.77 129 12/30/2024
4.1.65 185 12/30/2024
4.1.57 134 12/30/2024
4.1.52 135 12/27/2024
4.1.47 141 12/27/2024
4.0.34 138 12/27/2024
4.0.25 133 12/27/2024
4.0.15 129 12/27/2024
4.0.8 147 12/27/2024
3.1.134 139 12/27/2024
3.1.126 277 12/23/2024
3.1.123 137 12/23/2024
3.1.118 133 12/23/2024
3.1.108 283 12/16/2024
3.1.103 143 12/16/2024
3.1.98 200 12/9/2024
3.1.95 137 12/9/2024
3.1.92 126 12/9/2024
3.1.83 327 12/2/2024
3.1.80 133 12/2/2024
3.1.75 128 12/2/2024
3.1.66 130 12/2/2024
3.1.61 336 11/25/2024
3.1.58 142 11/25/2024
3.1.53 144 11/25/2024
3.1.42 132 11/18/2024
3.1.37 281 11/18/2024
3.1.32 132 11/18/2024
3.1.16 140 11/17/2024
3.0.969 147 11/12/2024
3.0.950 147 11/12/2024
3.0.947 139 11/12/2024
3.0.938 306 11/11/2024
3.0.926 290 11/4/2024
3.0.923 135 11/4/2024
3.0.916 227 10/28/2024
3.0.913 131 10/28/2024
3.0.910 131 10/28/2024
3.0.889 268 10/21/2024
3.0.886 151 10/21/2024
3.0.883 140 10/21/2024
3.0.878 151 10/21/2024
3.0.869 153 10/19/2024
3.0.865 181 10/18/2024
3.0.862 171 10/18/2024
3.0.856 153 10/18/2024
3.0.845 139 10/18/2024
3.0.842 262 10/14/2024
3.0.837 156 10/12/2024
3.0.822 131 10/7/2024
3.0.819 142 10/2/2024
3.0.816 155 10/2/2024
3.0.811 143 10/2/2024
3.0.808 143 10/2/2024
3.0.805 159 10/2/2024
3.0.794 364 9/23/2024
3.0.791 157 9/23/2024
3.0.786 146 9/23/2024
3.0.782 172 9/17/2024
3.0.778 280 9/16/2024
3.0.775 165 9/16/2024
3.0.768 232 9/9/2024
3.0.765 164 9/9/2024
3.0.760 157 9/9/2024
3.0.757 150 9/9/2024
3.0.748 279 9/2/2024
3.0.745 159 9/2/2024
3.0.740 156 8/28/2024
3.0.734 161 8/28/2024
3.0.731 145 8/28/2024
3.0.722 168 8/27/2024
3.0.719 153 8/27/2024
3.0.707 149 8/27/2024
3.0.702 167 8/27/2024
3.0.694 168 8/26/2024
3.0.686 165 8/26/2024
3.0.680 286 8/26/2024
3.0.672 143 8/26/2024
3.0.656 182 8/24/2024
3.0.648 179 8/24/2024
3.0.640 768 8/19/2024
3.0.637 164 8/19/2024
3.0.634 163 8/19/2024
3.0.629 155 8/19/2024
3.0.620 188 8/12/2024
3.0.617 159 8/12/2024
3.0.612 160 8/12/2024
3.0.609 143 8/5/2024
3.0.606 112 8/5/2024
3.0.601 171 7/29/2024
3.0.598 147 7/29/2024
3.0.589 159 7/22/2024
3.0.586 157 7/22/2024
3.0.567 208 7/22/2024
3.0.564 126 7/20/2024
3.0.563 146 7/20/2024
3.0.559 163 7/20/2024
3.0.549 139 7/17/2024
3.0.545 147 7/17/2024
3.0.542 140 7/17/2024
3.0.539 128 7/16/2024
3.0.535 168 7/15/2024
3.0.530 145 7/15/2024
3.0.523 148 7/15/2024
3.0.514 137 7/12/2024
3.0.511 138 7/12/2024
3.0.506 140 7/12/2024
3.0.503 121 7/12/2024
3.0.500 129 7/12/2024
3.0.477 157 7/8/2024
3.0.470 183 7/3/2024
3.0.467 179 7/1/2024
3.0.464 167 7/1/2024
3.0.459 188 6/24/2024
3.0.456 195 6/17/2024
3.0.453 156 6/17/2024
3.0.448 178 6/10/2024
3.0.445 159 6/3/2024
3.0.442 154 6/3/2024
3.0.437 129 5/27/2024
3.0.434 188 5/27/2024
3.0.429 155 5/27/2024
3.0.422 171 5/27/2024
3.0.413 169 5/27/2024
3.0.402 173 5/20/2024
3.0.399 173 5/19/2024
3.0.393 150 5/13/2024
3.0.390 198 5/6/2024
3.0.387 166 4/30/2024
3.0.384 158 4/30/2024
3.0.380 167 4/30/2024
3.0.373 190 4/30/2024
3.0.364 168 4/30/2024
3.0.361 172 4/29/2024
3.0.348 159 4/22/2024
3.0.345 143 4/22/2024
3.0.340 194 4/22/2024
3.0.337 172 4/22/2024
3.0.328 187 4/15/2024
3.0.325 170 4/15/2024
3.0.320 160 4/15/2024
3.0.313 171 4/15/2024
3.0.304 196 4/8/2024
3.0.301 162 4/8/2024
3.0.296 168 4/8/2024
3.0.289 195 4/1/2024
3.0.286 160 4/1/2024
3.0.281 207 3/25/2024
3.0.278 168 3/25/2024
3.0.273 180 3/18/2024
3.0.270 191 3/18/2024
3.0.265 179 3/11/2024
3.0.262 171 3/11/2024
3.0.257 212 3/4/2024
3.0.254 177 2/26/2024
3.0.251 202 2/26/2024
3.0.246 170 2/26/2024
3.0.239 154 2/19/2024
3.0.236 157 2/19/2024
3.0.231 163 2/19/2024
3.0.224 172 2/19/2024
3.0.215 164 2/14/2024
3.0.210 182 2/12/2024
3.0.207 197 2/12/2024
3.0.204 187 2/12/2024
3.0.197 202 2/7/2024
3.0.188 173 2/6/2024
3.0.184 178 2/5/2024
3.0.178 160 1/30/2024
3.0.175 168 1/30/2024
3.0.170 156 1/29/2024
3.0.163 161 1/29/2024
3.0.156 177 1/29/2024
3.0.142 165 1/24/2024
3.0.139 170 1/24/2024
3.0.136 152 1/23/2024
3.0.129 167 1/23/2024
3.0.124 160 1/23/2024
3.0.117 158 1/22/2024
3.0.114 156 1/22/2024
3.0.107 184 1/22/2024
3.0.102 158 1/22/2024
3.0.97 163 1/22/2024
3.0.86 220 1/16/2024
3.0.83 165 1/16/2024
3.0.71 181 1/15/2024
3.0.62 186 1/8/2024
3.0.59 227 1/1/2024
3.0.56 187 12/25/2023
3.0.53 180 12/25/2023
3.0.48 178 12/25/2023
3.0.41 152 12/25/2023
3.0.32 1,464 12/18/2023
3.0.5 189 12/17/2023
2.0.773 180 12/14/2023
2.0.767 206 12/11/2023
2.0.764 182 12/11/2023
2.0.759 190 12/11/2023
2.0.752 213 12/11/2023
2.0.743 158 12/11/2023
2.0.732 201 12/11/2023
2.0.729 186 12/6/2023
2.0.724 209 12/4/2023
2.0.721 164 12/4/2023
2.0.716 163 12/4/2023
2.0.709 167 12/4/2023
2.0.698 146 11/27/2023
2.0.695 141 11/27/2023
2.0.690 1,572 11/21/2023
2.0.686 163 11/21/2023
2.0.681 170 11/20/2023
2.0.674 174 11/20/2023
2.0.665 260 11/14/2023
2.0.658 171 11/14/2023
2.0.653 164 11/14/2023
2.0.650 175 11/14/2023
2.0.643 174 11/14/2023
2.0.636 155 11/14/2023
2.0.623 137 11/13/2023
2.0.614 202 11/9/2023
2.0.606 175 11/6/2023
2.0.601 226 10/30/2023
2.0.598 172 10/30/2023
2.0.595 170 10/30/2023
2.0.590 183 10/26/2023
2.0.586 192 10/23/2023
2.0.583 175 10/23/2023
2.0.578 216 10/17/2023
2.0.575 207 10/17/2023
2.0.570 180 10/17/2023
2.0.563 189 10/16/2023
2.0.554 157 10/16/2023
2.0.543 208 10/16/2023
2.0.530 183 10/10/2023
2.0.526 176 10/10/2023
2.0.519 201 10/8/2023
2.0.512 143 10/8/2023
2.0.495 191 10/8/2023
2.0.486 202 10/8/2023
2.0.450 202 10/2/2023
2.0.447 204 10/2/2023
2.0.442 221 9/25/2023
2.0.439 197 9/25/2023
2.0.434 187 9/23/2023
2.0.431 149 9/19/2023
2.0.428 152 9/19/2023
2.0.419 223 9/16/2023
2.0.416 224 9/13/2023
2.0.413 191 9/12/2023
2.0.408 209 9/12/2023
2.0.401 172 9/12/2023
2.0.392 208 9/6/2023
2.0.387 382 9/4/2023
2.0.384 296 8/28/2023
2.0.381 205 8/28/2023
2.0.376 277 8/24/2023
2.0.373 447 8/14/2023
2.0.344 314 8/9/2023
2.0.337 243 8/9/2023
2.0.332 244 8/9/2023
2.0.325 433 7/29/2023
2.0.322 248 7/29/2023
2.0.315 200 7/29/2023
2.0.311 316 7/24/2023
2.0.308 241 7/24/2023
2.0.302 292 7/17/2023
2.0.299 220 7/17/2023
2.0.284 258 7/12/2023
2.0.272 341 7/10/2023
2.0.265 264 7/10/2023
2.0.256 344 7/3/2023
2.0.253 248 7/3/2023
2.0.248 260 7/3/2023
2.0.241 392 6/19/2023
2.0.238 252 6/19/2023
2.0.233 408 6/15/2023
2.0.230 292 6/15/2023
2.0.225 301 6/15/2023
2.0.218 340 6/6/2023
2.0.215 325 6/5/2023
2.0.210 233 6/5/2023
2.0.203 249 6/5/2023
2.0.191 542 5/22/2023
2.0.188 268 5/22/2023
2.0.183 355 5/15/2023
2.0.180 316 5/15/2023
2.0.175 374 5/8/2023
2.0.168 244 5/8/2023
2.0.163 495 5/4/2023
2.0.160 276 5/3/2023
2.0.155 515 4/10/2023
2.0.152 303 4/10/2023
2.0.147 296 4/9/2023
2.0.141 284 4/4/2023
2.0.136 444 4/3/2023
2.0.133 324 4/3/2023
2.0.128 410 3/27/2023
2.0.125 311 3/27/2023
2.0.122 359 3/27/2023
2.0.119 301 3/27/2023
2.0.111 343 3/26/2023
2.0.108 376 3/22/2023
2.0.103 349 3/21/2023
2.0.98 326 3/21/2023
2.0.91 433 3/5/2023
2.0.86 350 3/5/2023
2.0.82 339 3/5/2023
2.0.76 342 3/3/2023
2.0.75 342 3/3/2023
2.0.65 377 2/28/2023
2.0.62 395 1/30/2023
2.0.59 499 1/23/2023
2.0.56 373 1/23/2023
2.0.53 394 1/19/2023
2.0.52 403 1/17/2023
2.0.51 656 1/16/2023
2.0.50 421 1/16/2023
2.0.47 390 1/16/2023
2.0.40 400 1/16/2023
2.0.35 392 1/16/2023
2.0.29 378 1/16/2023
2.0.26 412 1/16/2023
2.0.20 430 1/16/2023
1.0.2 1,643 9/22/2019