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.
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.
// Install Sankhya as a Cake Addin
#addin nuget:?package=Sankhya&version=2.0.724

// Install Sankhya as a Cake Tool
#tool nuget:?package=Sankhya&version=2.0.724                

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. 
.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.135 64 3/3/2025
5.0.132 63 3/3/2025
5.0.127 120 2/24/2025
5.0.124 81 2/24/2025
5.0.119 71 2/24/2025
5.0.116 90 2/21/2025
5.0.113 86 2/21/2025
5.0.107 100 2/17/2025
5.0.102 96 2/17/2025
5.0.93 103 2/10/2025
5.0.90 99 2/10/2025
5.0.85 528 2/3/2025
5.0.82 89 2/3/2025
5.0.77 83 2/3/2025
5.0.74 152 1/27/2025
5.0.71 74 1/27/2025
5.0.66 75 1/27/2025
5.0.59 76 1/21/2025
5.0.58 336 1/20/2025
5.0.55 82 1/20/2025
5.0.52 84 1/20/2025
5.0.47 77 1/20/2025
5.0.38 75 1/13/2025
5.0.35 75 1/13/2025
5.0.32 75 1/13/2025
5.0.28 236 1/13/2025
5.0.19 78 1/13/2025
5.0.8 78 1/13/2025
4.1.106 189 1/6/2025
4.1.103 88 1/6/2025
4.1.98 81 1/6/2025
4.1.91 89 1/6/2025
4.1.84 90 12/31/2024
4.1.80 82 12/30/2024
4.1.77 87 12/30/2024
4.1.65 149 12/30/2024
4.1.57 88 12/30/2024
4.1.52 88 12/27/2024
4.1.47 91 12/27/2024
4.0.34 86 12/27/2024
4.0.25 90 12/27/2024
4.0.15 85 12/27/2024
4.0.8 95 12/27/2024
3.1.134 86 12/27/2024
3.1.126 225 12/23/2024
3.1.123 87 12/23/2024
3.1.118 80 12/23/2024
3.1.108 226 12/16/2024
3.1.103 89 12/16/2024
3.1.98 154 12/9/2024
3.1.95 92 12/9/2024
3.1.92 77 12/9/2024
3.1.83 276 12/2/2024
3.1.80 93 12/2/2024
3.1.75 88 12/2/2024
3.1.66 94 12/2/2024
3.1.61 280 11/25/2024
3.1.58 88 11/25/2024
3.1.53 98 11/25/2024
3.1.42 92 11/18/2024
3.1.37 224 11/18/2024
3.1.32 86 11/18/2024
3.1.16 91 11/17/2024
3.0.969 108 11/12/2024
3.0.950 93 11/12/2024
3.0.947 102 11/12/2024
3.0.938 263 11/11/2024
3.0.926 243 11/4/2024
3.0.923 89 11/4/2024
3.0.916 189 10/28/2024
3.0.913 87 10/28/2024
3.0.910 88 10/28/2024
3.0.889 225 10/21/2024
3.0.886 100 10/21/2024
3.0.883 85 10/21/2024
3.0.878 92 10/21/2024
3.0.869 116 10/19/2024
3.0.865 121 10/18/2024
3.0.862 131 10/18/2024
3.0.856 119 10/18/2024
3.0.845 99 10/18/2024
3.0.842 216 10/14/2024
3.0.837 108 10/12/2024
3.0.822 87 10/7/2024
3.0.819 107 10/2/2024
3.0.816 99 10/2/2024
3.0.811 103 10/2/2024
3.0.808 97 10/2/2024
3.0.805 103 10/2/2024
3.0.794 320 9/23/2024
3.0.791 101 9/23/2024
3.0.786 92 9/23/2024
3.0.782 131 9/17/2024
3.0.778 240 9/16/2024
3.0.775 120 9/16/2024
3.0.768 189 9/9/2024
3.0.765 107 9/9/2024
3.0.760 108 9/9/2024
3.0.757 103 9/9/2024
3.0.748 226 9/2/2024
3.0.745 117 9/2/2024
3.0.740 123 8/28/2024
3.0.734 114 8/28/2024
3.0.731 104 8/28/2024
3.0.722 114 8/27/2024
3.0.719 114 8/27/2024
3.0.707 97 8/27/2024
3.0.702 118 8/27/2024
3.0.694 115 8/26/2024
3.0.686 113 8/26/2024
3.0.680 249 8/26/2024
3.0.672 103 8/26/2024
3.0.656 139 8/24/2024
3.0.648 134 8/24/2024
3.0.640 732 8/19/2024
3.0.637 120 8/19/2024
3.0.634 121 8/19/2024
3.0.629 121 8/19/2024
3.0.620 134 8/12/2024
3.0.617 120 8/12/2024
3.0.612 121 8/12/2024
3.0.609 106 8/5/2024
3.0.606 74 8/5/2024
3.0.601 127 7/29/2024
3.0.598 98 7/29/2024
3.0.589 110 7/22/2024
3.0.586 103 7/22/2024
3.0.567 153 7/22/2024
3.0.564 90 7/20/2024
3.0.563 95 7/20/2024
3.0.559 114 7/20/2024
3.0.549 100 7/17/2024
3.0.545 98 7/17/2024
3.0.542 101 7/17/2024
3.0.539 81 7/16/2024
3.0.535 119 7/15/2024
3.0.530 110 7/15/2024
3.0.523 107 7/15/2024
3.0.514 98 7/12/2024
3.0.511 93 7/12/2024
3.0.506 96 7/12/2024
3.0.503 80 7/12/2024
3.0.500 80 7/12/2024
3.0.477 110 7/8/2024
3.0.470 130 7/3/2024
3.0.467 128 7/1/2024
3.0.464 118 7/1/2024
3.0.459 144 6/24/2024
3.0.456 142 6/17/2024
3.0.453 104 6/17/2024
3.0.448 140 6/10/2024
3.0.445 108 6/3/2024
3.0.442 110 6/3/2024
3.0.437 95 5/27/2024
3.0.434 145 5/27/2024
3.0.429 122 5/27/2024
3.0.422 124 5/27/2024
3.0.413 120 5/27/2024
3.0.402 140 5/20/2024
3.0.399 126 5/19/2024
3.0.393 101 5/13/2024
3.0.390 153 5/6/2024
3.0.387 123 4/30/2024
3.0.384 120 4/30/2024
3.0.380 133 4/30/2024
3.0.373 137 4/30/2024
3.0.364 133 4/30/2024
3.0.361 136 4/29/2024
3.0.348 123 4/22/2024
3.0.345 109 4/22/2024
3.0.340 149 4/22/2024
3.0.337 126 4/22/2024
3.0.328 143 4/15/2024
3.0.325 124 4/15/2024
3.0.320 107 4/15/2024
3.0.313 120 4/15/2024
3.0.304 152 4/8/2024
3.0.301 121 4/8/2024
3.0.296 120 4/8/2024
3.0.289 155 4/1/2024
3.0.286 119 4/1/2024
3.0.281 165 3/25/2024
3.0.278 124 3/25/2024
3.0.273 147 3/18/2024
3.0.270 142 3/18/2024
3.0.265 135 3/11/2024
3.0.262 133 3/11/2024
3.0.257 160 3/4/2024
3.0.254 126 2/26/2024
3.0.251 166 2/26/2024
3.0.246 122 2/26/2024
3.0.239 121 2/19/2024
3.0.236 122 2/19/2024
3.0.231 120 2/19/2024
3.0.224 128 2/19/2024
3.0.215 133 2/14/2024
3.0.210 138 2/12/2024
3.0.207 152 2/12/2024
3.0.204 134 2/12/2024
3.0.197 149 2/7/2024
3.0.188 129 2/6/2024
3.0.184 131 2/5/2024
3.0.178 128 1/30/2024
3.0.175 123 1/30/2024
3.0.170 112 1/29/2024
3.0.163 117 1/29/2024
3.0.156 133 1/29/2024
3.0.142 123 1/24/2024
3.0.139 115 1/24/2024
3.0.136 118 1/23/2024
3.0.129 117 1/23/2024
3.0.124 115 1/23/2024
3.0.117 128 1/22/2024
3.0.114 123 1/22/2024
3.0.107 151 1/22/2024
3.0.102 117 1/22/2024
3.0.97 120 1/22/2024
3.0.86 135 1/16/2024
3.0.83 131 1/16/2024
3.0.71 137 1/15/2024
3.0.62 139 1/8/2024
3.0.59 187 1/1/2024
3.0.56 150 12/25/2023
3.0.53 149 12/25/2023
3.0.48 141 12/25/2023
3.0.41 121 12/25/2023
3.0.32 1,212 12/18/2023
3.0.5 155 12/17/2023
2.0.773 139 12/14/2023
2.0.767 161 12/11/2023
2.0.764 136 12/11/2023
2.0.759 155 12/11/2023
2.0.752 175 12/11/2023
2.0.743 123 12/11/2023
2.0.732 154 12/11/2023
2.0.729 158 12/6/2023
2.0.724 183 12/4/2023
2.0.721 131 12/4/2023
2.0.716 137 12/4/2023
2.0.709 145 12/4/2023
2.0.698 127 11/27/2023
2.0.695 122 11/27/2023
2.0.690 1,228 11/21/2023
2.0.686 140 11/21/2023
2.0.681 139 11/20/2023
2.0.674 145 11/20/2023
2.0.665 235 11/14/2023
2.0.658 145 11/14/2023
2.0.653 132 11/14/2023
2.0.650 144 11/14/2023
2.0.643 141 11/14/2023
2.0.636 127 11/14/2023
2.0.623 111 11/13/2023
2.0.614 170 11/9/2023
2.0.606 146 11/6/2023
2.0.601 201 10/30/2023
2.0.598 134 10/30/2023
2.0.595 147 10/30/2023
2.0.590 156 10/26/2023
2.0.586 162 10/23/2023
2.0.583 144 10/23/2023
2.0.578 180 10/17/2023
2.0.575 165 10/17/2023
2.0.570 154 10/17/2023
2.0.563 154 10/16/2023
2.0.554 118 10/16/2023
2.0.543 166 10/16/2023
2.0.530 153 10/10/2023
2.0.526 136 10/10/2023
2.0.519 179 10/8/2023
2.0.512 118 10/8/2023
2.0.495 156 10/8/2023
2.0.486 163 10/8/2023
2.0.450 159 10/2/2023
2.0.447 164 10/2/2023
2.0.442 188 9/25/2023
2.0.439 160 9/25/2023
2.0.434 142 9/23/2023
2.0.431 123 9/19/2023
2.0.428 127 9/19/2023
2.0.419 193 9/16/2023
2.0.416 187 9/13/2023
2.0.413 151 9/12/2023
2.0.408 166 9/12/2023
2.0.401 140 9/12/2023
2.0.392 169 9/6/2023
2.0.387 328 9/4/2023
2.0.384 256 8/28/2023
2.0.381 166 8/28/2023
2.0.376 233 8/24/2023
2.0.373 397 8/14/2023
2.0.344 258 8/9/2023
2.0.337 191 8/9/2023
2.0.332 191 8/9/2023
2.0.325 374 7/29/2023
2.0.322 195 7/29/2023
2.0.315 142 7/29/2023
2.0.311 259 7/24/2023
2.0.308 187 7/24/2023
2.0.302 236 7/17/2023
2.0.299 162 7/17/2023
2.0.284 198 7/12/2023
2.0.272 285 7/10/2023
2.0.265 208 7/10/2023
2.0.256 285 7/3/2023
2.0.253 190 7/3/2023
2.0.248 200 7/3/2023
2.0.241 345 6/19/2023
2.0.238 186 6/19/2023
2.0.233 351 6/15/2023
2.0.230 231 6/15/2023
2.0.225 232 6/15/2023
2.0.218 283 6/6/2023
2.0.215 266 6/5/2023
2.0.210 173 6/5/2023
2.0.203 198 6/5/2023
2.0.191 492 5/22/2023
2.0.188 203 5/22/2023
2.0.183 296 5/15/2023
2.0.180 254 5/15/2023
2.0.175 316 5/8/2023
2.0.168 184 5/8/2023
2.0.163 435 5/4/2023
2.0.160 216 5/3/2023
2.0.155 447 4/10/2023
2.0.152 235 4/10/2023
2.0.147 242 4/9/2023
2.0.141 233 4/4/2023
2.0.136 389 4/3/2023
2.0.133 270 4/3/2023
2.0.128 347 3/27/2023
2.0.125 245 3/27/2023
2.0.122 304 3/27/2023
2.0.119 246 3/27/2023
2.0.111 282 3/26/2023
2.0.108 309 3/22/2023
2.0.103 287 3/21/2023
2.0.98 262 3/21/2023
2.0.91 369 3/5/2023
2.0.86 279 3/5/2023
2.0.82 285 3/5/2023
2.0.76 285 3/3/2023
2.0.75 282 3/3/2023
2.0.65 314 2/28/2023
2.0.62 340 1/30/2023
2.0.59 433 1/23/2023
2.0.56 315 1/23/2023
2.0.53 320 1/19/2023
2.0.52 337 1/17/2023
2.0.51 604 1/16/2023
2.0.50 360 1/16/2023
2.0.47 338 1/16/2023
2.0.40 338 1/16/2023
2.0.35 328 1/16/2023
2.0.29 323 1/16/2023
2.0.26 340 1/16/2023
2.0.20 370 1/16/2023
1.0.2 1,545 9/22/2019