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.
#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.266 0 7/7/2025
5.0.263 128 6/30/2025
5.0.260 128 6/30/2025
5.0.255 131 6/23/2025
5.0.252 128 6/23/2025
5.0.247 138 6/16/2025
5.0.244 207 6/9/2025
5.0.241 210 6/9/2025
5.0.238 145 6/2/2025
5.0.235 157 5/26/2025
5.0.232 156 5/19/2025
5.0.229 149 5/19/2025
5.0.224 213 5/12/2025
5.0.221 152 5/8/2025
5.0.212 160 5/5/2025
5.0.207 170 4/28/2025
5.0.202 175 4/28/2025
5.0.197 182 4/21/2025
5.0.192 171 4/21/2025
5.0.189 228 4/14/2025
5.0.186 211 4/14/2025
5.0.181 176 4/7/2025
5.0.178 188 4/7/2025
5.0.173 180 3/31/2025
5.0.170 374 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 178 3/17/2025
5.0.141 214 3/10/2025
5.0.138 205 3/10/2025
5.0.135 145 3/3/2025
5.0.132 141 3/3/2025
5.0.127 174 2/24/2025
5.0.124 133 2/24/2025
5.0.119 121 2/24/2025
5.0.116 146 2/21/2025
5.0.113 145 2/21/2025
5.0.107 154 2/17/2025
5.0.102 149 2/17/2025
5.0.93 159 2/10/2025
5.0.90 153 2/10/2025
5.0.85 1,341 2/3/2025
5.0.82 123 2/3/2025
5.0.77 112 2/3/2025
5.0.74 187 1/27/2025
5.0.71 101 1/27/2025
5.0.66 105 1/27/2025
5.0.59 108 1/21/2025
5.0.58 368 1/20/2025
5.0.55 110 1/20/2025
5.0.52 119 1/20/2025
5.0.47 105 1/20/2025
5.0.38 100 1/13/2025
5.0.35 103 1/13/2025
5.0.32 102 1/13/2025
5.0.28 265 1/13/2025
5.0.19 106 1/13/2025
5.0.8 112 1/13/2025
4.1.106 215 1/6/2025
4.1.103 112 1/6/2025
4.1.98 105 1/6/2025
4.1.91 115 1/6/2025
4.1.84 123 12/31/2024
4.1.80 114 12/30/2024
4.1.77 113 12/30/2024
4.1.65 170 12/30/2024
4.1.57 110 12/30/2024
4.1.52 116 12/27/2024
4.1.47 118 12/27/2024
4.0.34 112 12/27/2024
4.0.25 119 12/27/2024
4.0.15 114 12/27/2024
4.0.8 122 12/27/2024
3.1.134 116 12/27/2024
3.1.126 254 12/23/2024
3.1.123 120 12/23/2024
3.1.118 111 12/23/2024
3.1.108 261 12/16/2024
3.1.103 117 12/16/2024
3.1.98 175 12/9/2024
3.1.95 115 12/9/2024
3.1.92 104 12/9/2024
3.1.83 300 12/2/2024
3.1.80 116 12/2/2024
3.1.75 112 12/2/2024
3.1.66 116 12/2/2024
3.1.61 309 11/25/2024
3.1.58 116 11/25/2024
3.1.53 122 11/25/2024
3.1.42 116 11/18/2024
3.1.37 254 11/18/2024
3.1.32 112 11/18/2024
3.1.16 116 11/17/2024
3.0.969 133 11/12/2024
3.0.950 124 11/12/2024
3.0.947 124 11/12/2024
3.0.938 287 11/11/2024
3.0.926 269 11/4/2024
3.0.923 117 11/4/2024
3.0.916 213 10/28/2024
3.0.913 117 10/28/2024
3.0.910 116 10/28/2024
3.0.889 252 10/21/2024
3.0.886 135 10/21/2024
3.0.883 115 10/21/2024
3.0.878 124 10/21/2024
3.0.869 140 10/19/2024
3.0.865 158 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 241 10/14/2024
3.0.837 131 10/12/2024
3.0.822 116 10/7/2024
3.0.819 128 10/2/2024
3.0.816 129 10/2/2024
3.0.811 128 10/2/2024
3.0.808 126 10/2/2024
3.0.805 136 10/2/2024
3.0.794 342 9/23/2024
3.0.791 127 9/23/2024
3.0.786 116 9/23/2024
3.0.782 158 9/17/2024
3.0.778 265 9/16/2024
3.0.775 144 9/16/2024
3.0.768 212 9/9/2024
3.0.765 143 9/9/2024
3.0.760 133 9/9/2024
3.0.757 128 9/9/2024
3.0.748 259 9/2/2024
3.0.745 139 9/2/2024
3.0.740 145 8/28/2024
3.0.734 143 8/28/2024
3.0.731 129 8/28/2024
3.0.722 146 8/27/2024
3.0.719 137 8/27/2024
3.0.707 122 8/27/2024
3.0.702 144 8/27/2024
3.0.694 137 8/26/2024
3.0.686 142 8/26/2024
3.0.680 272 8/26/2024
3.0.672 128 8/26/2024
3.0.656 163 8/24/2024
3.0.648 159 8/24/2024
3.0.640 754 8/19/2024
3.0.637 142 8/19/2024
3.0.634 141 8/19/2024
3.0.629 140 8/19/2024
3.0.620 165 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 119 7/29/2024
3.0.589 135 7/22/2024
3.0.586 130 7/22/2024
3.0.567 182 7/22/2024
3.0.564 113 7/20/2024
3.0.563 116 7/20/2024
3.0.559 139 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 106 7/16/2024
3.0.535 141 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 120 7/12/2024
3.0.503 107 7/12/2024
3.0.500 102 7/12/2024
3.0.477 133 7/8/2024
3.0.470 157 7/3/2024
3.0.467 153 7/1/2024
3.0.464 145 7/1/2024
3.0.459 172 6/24/2024
3.0.456 171 6/17/2024
3.0.453 132 6/17/2024
3.0.448 165 6/10/2024
3.0.445 137 6/3/2024
3.0.442 136 6/3/2024
3.0.437 114 5/27/2024
3.0.434 169 5/27/2024
3.0.429 143 5/27/2024
3.0.422 150 5/27/2024
3.0.413 142 5/27/2024
3.0.402 161 5/20/2024
3.0.399 152 5/19/2024
3.0.393 127 5/13/2024
3.0.390 176 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 162 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 176 4/22/2024
3.0.337 149 4/22/2024
3.0.328 166 4/15/2024
3.0.325 149 4/15/2024
3.0.320 139 4/15/2024
3.0.313 141 4/15/2024
3.0.304 176 4/8/2024
3.0.301 147 4/8/2024
3.0.296 142 4/8/2024
3.0.289 178 4/1/2024
3.0.286 140 4/1/2024
3.0.281 189 3/25/2024
3.0.278 145 3/25/2024
3.0.273 168 3/18/2024
3.0.270 168 3/18/2024
3.0.265 156 3/11/2024
3.0.262 154 3/11/2024
3.0.257 188 3/4/2024
3.0.254 153 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 141 2/19/2024
3.0.224 151 2/19/2024
3.0.215 153 2/14/2024
3.0.210 157 2/12/2024
3.0.207 175 2/12/2024
3.0.204 162 2/12/2024
3.0.197 176 2/7/2024
3.0.188 152 2/6/2024
3.0.184 158 2/5/2024
3.0.178 149 1/30/2024
3.0.175 144 1/30/2024
3.0.170 136 1/29/2024
3.0.163 142 1/29/2024
3.0.156 158 1/29/2024
3.0.142 145 1/24/2024
3.0.139 146 1/24/2024
3.0.136 140 1/23/2024
3.0.129 141 1/23/2024
3.0.124 138 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 139 1/22/2024
3.0.97 143 1/22/2024
3.0.86 195 1/16/2024
3.0.83 151 1/16/2024
3.0.71 157 1/15/2024
3.0.62 158 1/8/2024
3.0.59 206 1/1/2024
3.0.56 170 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,383 12/18/2023
3.0.5 176 12/17/2023
2.0.773 162 12/14/2023
2.0.767 183 12/11/2023
2.0.764 161 12/11/2023
2.0.759 175 12/11/2023
2.0.752 194 12/11/2023
2.0.743 146 12/11/2023
2.0.732 179 12/11/2023
2.0.729 172 12/6/2023
2.0.724 193 12/4/2023
2.0.721 144 12/4/2023
2.0.716 149 12/4/2023
2.0.709 154 12/4/2023
2.0.698 139 11/27/2023
2.0.695 131 11/27/2023
2.0.690 1,444 11/21/2023
2.0.686 153 11/21/2023
2.0.681 151 11/20/2023
2.0.674 158 11/20/2023
2.0.665 247 11/14/2023
2.0.658 153 11/14/2023
2.0.653 142 11/14/2023
2.0.650 154 11/14/2023
2.0.643 159 11/14/2023
2.0.636 138 11/14/2023
2.0.623 123 11/13/2023
2.0.614 179 11/9/2023
2.0.606 160 11/6/2023
2.0.601 210 10/30/2023
2.0.598 147 10/30/2023
2.0.595 158 10/30/2023
2.0.590 170 10/26/2023
2.0.586 174 10/23/2023
2.0.583 165 10/23/2023
2.0.578 196 10/17/2023
2.0.575 183 10/17/2023
2.0.570 168 10/17/2023
2.0.563 175 10/16/2023
2.0.554 132 10/16/2023
2.0.543 189 10/16/2023
2.0.530 166 10/10/2023
2.0.526 153 10/10/2023
2.0.519 192 10/8/2023
2.0.512 131 10/8/2023
2.0.495 172 10/8/2023
2.0.486 180 10/8/2023
2.0.450 181 10/2/2023
2.0.447 179 10/2/2023
2.0.442 204 9/25/2023
2.0.439 179 9/25/2023
2.0.434 167 9/23/2023
2.0.431 138 9/19/2023
2.0.428 139 9/19/2023
2.0.419 207 9/16/2023
2.0.416 205 9/13/2023
2.0.413 167 9/12/2023
2.0.408 183 9/12/2023
2.0.401 155 9/12/2023
2.0.392 185 9/6/2023
2.0.387 345 9/4/2023
2.0.384 273 8/28/2023
2.0.381 181 8/28/2023
2.0.376 252 8/24/2023
2.0.373 415 8/14/2023
2.0.344 279 8/9/2023
2.0.337 210 8/9/2023
2.0.332 213 8/9/2023
2.0.325 398 7/29/2023
2.0.322 219 7/29/2023
2.0.315 169 7/29/2023
2.0.311 280 7/24/2023
2.0.308 207 7/24/2023
2.0.302 259 7/17/2023
2.0.299 186 7/17/2023
2.0.284 222 7/12/2023
2.0.272 308 7/10/2023
2.0.265 230 7/10/2023
2.0.256 306 7/3/2023
2.0.253 211 7/3/2023
2.0.248 222 7/3/2023
2.0.241 366 6/19/2023
2.0.238 214 6/19/2023
2.0.233 373 6/15/2023
2.0.230 258 6/15/2023
2.0.225 258 6/15/2023
2.0.218 309 6/6/2023
2.0.215 290 6/5/2023
2.0.210 199 6/5/2023
2.0.203 222 6/5/2023
2.0.191 513 5/22/2023
2.0.188 231 5/22/2023
2.0.183 320 5/15/2023
2.0.180 279 5/15/2023
2.0.175 338 5/8/2023
2.0.168 208 5/8/2023
2.0.163 460 5/4/2023
2.0.160 239 5/3/2023
2.0.155 473 4/10/2023
2.0.152 263 4/10/2023
2.0.147 267 4/9/2023
2.0.141 256 4/4/2023
2.0.136 414 4/3/2023
2.0.133 296 4/3/2023
2.0.128 371 3/27/2023
2.0.125 273 3/27/2023
2.0.122 329 3/27/2023
2.0.119 271 3/27/2023
2.0.111 307 3/26/2023
2.0.108 334 3/22/2023
2.0.103 313 3/21/2023
2.0.98 290 3/21/2023
2.0.91 393 3/5/2023
2.0.86 310 3/5/2023
2.0.82 307 3/5/2023
2.0.76 312 3/3/2023
2.0.75 305 3/3/2023
2.0.65 339 2/28/2023
2.0.62 365 1/30/2023
2.0.59 459 1/23/2023
2.0.56 339 1/23/2023
2.0.53 352 1/19/2023
2.0.52 364 1/17/2023
2.0.51 626 1/16/2023
2.0.50 383 1/16/2023
2.0.47 362 1/16/2023
2.0.40 362 1/16/2023
2.0.35 355 1/16/2023
2.0.29 346 1/16/2023
2.0.26 366 1/16/2023
2.0.20 401 1/16/2023
1.0.2 1,601 9/22/2019