Sankhya 2.0.575

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sankhya --version 2.0.575                
NuGet\Install-Package Sankhya -Version 2.0.575                
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.575" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sankhya --version 2.0.575                
#r "nuget: Sankhya, 2.0.575"                
#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.575

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

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. 
.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
3.0.794 125 9/23/2024
3.0.791 69 9/23/2024
3.0.786 59 9/23/2024
3.0.782 96 9/17/2024
3.0.778 178 9/16/2024
3.0.775 85 9/16/2024
3.0.768 158 9/9/2024
3.0.765 77 9/9/2024
3.0.760 75 9/9/2024
3.0.757 73 9/9/2024
3.0.748 175 9/2/2024
3.0.745 89 9/2/2024
3.0.740 103 8/28/2024
3.0.734 93 8/28/2024
3.0.731 83 8/28/2024
3.0.722 93 8/27/2024
3.0.719 93 8/27/2024
3.0.707 76 8/27/2024
3.0.702 99 8/27/2024
3.0.694 96 8/26/2024
3.0.686 92 8/26/2024
3.0.680 205 8/26/2024
3.0.672 83 8/26/2024
3.0.656 119 8/24/2024
3.0.648 112 8/24/2024
3.0.640 606 8/19/2024
3.0.637 99 8/19/2024
3.0.634 100 8/19/2024
3.0.629 102 8/19/2024
3.0.620 113 8/12/2024
3.0.617 99 8/12/2024
3.0.612 102 8/12/2024
3.0.609 84 8/5/2024
3.0.606 55 8/5/2024
3.0.601 113 7/29/2024
3.0.598 81 7/29/2024
3.0.589 90 7/22/2024
3.0.586 84 7/22/2024
3.0.567 135 7/22/2024
3.0.564 71 7/20/2024
3.0.563 72 7/20/2024
3.0.559 93 7/20/2024
3.0.549 80 7/17/2024
3.0.545 79 7/17/2024
3.0.542 79 7/17/2024
3.0.539 62 7/16/2024
3.0.535 101 7/15/2024
3.0.530 92 7/15/2024
3.0.523 89 7/15/2024
3.0.514 79 7/12/2024
3.0.511 74 7/12/2024
3.0.506 78 7/12/2024
3.0.503 62 7/12/2024
3.0.500 60 7/12/2024
3.0.477 93 7/8/2024
3.0.470 112 7/3/2024
3.0.467 109 7/1/2024
3.0.464 99 7/1/2024
3.0.459 125 6/24/2024
3.0.456 120 6/17/2024
3.0.453 88 6/17/2024
3.0.448 120 6/10/2024
3.0.445 92 6/3/2024
3.0.442 94 6/3/2024
3.0.437 79 5/27/2024
3.0.434 125 5/27/2024
3.0.429 100 5/27/2024
3.0.422 101 5/27/2024
3.0.413 102 5/27/2024
3.0.402 121 5/20/2024
3.0.399 108 5/19/2024
3.0.393 83 5/13/2024
3.0.390 140 5/6/2024
3.0.387 111 4/30/2024
3.0.384 104 4/30/2024
3.0.380 116 4/30/2024
3.0.373 122 4/30/2024
3.0.364 115 4/30/2024
3.0.361 114 4/29/2024
3.0.348 106 4/22/2024
3.0.345 92 4/22/2024
3.0.340 131 4/22/2024
3.0.337 106 4/22/2024
3.0.328 129 4/15/2024
3.0.325 111 4/15/2024
3.0.320 92 4/15/2024
3.0.313 102 4/15/2024
3.0.304 137 4/8/2024
3.0.301 106 4/8/2024
3.0.296 105 4/8/2024
3.0.289 134 4/1/2024
3.0.286 105 4/1/2024
3.0.281 150 3/25/2024
3.0.278 108 3/25/2024
3.0.273 133 3/18/2024
3.0.270 127 3/18/2024
3.0.265 111 3/11/2024
3.0.262 119 3/11/2024
3.0.257 147 3/4/2024
3.0.254 111 2/26/2024
3.0.251 154 2/26/2024
3.0.246 108 2/26/2024
3.0.239 105 2/19/2024
3.0.236 102 2/19/2024
3.0.231 104 2/19/2024
3.0.224 107 2/19/2024
3.0.215 117 2/14/2024
3.0.210 126 2/12/2024
3.0.207 134 2/12/2024
3.0.204 118 2/12/2024
3.0.197 136 2/7/2024
3.0.188 109 2/6/2024
3.0.184 115 2/5/2024
3.0.178 113 1/30/2024
3.0.175 106 1/30/2024
3.0.170 100 1/29/2024
3.0.163 103 1/29/2024
3.0.156 120 1/29/2024
3.0.142 108 1/24/2024
3.0.139 103 1/24/2024
3.0.136 104 1/23/2024
3.0.129 103 1/23/2024
3.0.124 100 1/23/2024
3.0.117 112 1/22/2024
3.0.114 105 1/22/2024
3.0.107 136 1/22/2024
3.0.102 105 1/22/2024
3.0.97 104 1/22/2024
3.0.86 121 1/16/2024
3.0.83 117 1/16/2024
3.0.71 125 1/15/2024
3.0.62 127 1/8/2024
3.0.59 173 1/1/2024
3.0.56 134 12/25/2023
3.0.53 136 12/25/2023
3.0.48 126 12/25/2023
3.0.41 107 12/25/2023
3.0.32 938 12/18/2023
3.0.5 140 12/17/2023
2.0.773 127 12/14/2023
2.0.767 146 12/11/2023
2.0.764 114 12/11/2023
2.0.759 134 12/11/2023
2.0.752 157 12/11/2023
2.0.743 108 12/11/2023
2.0.732 139 12/11/2023
2.0.729 137 12/6/2023
2.0.724 168 12/4/2023
2.0.721 117 12/4/2023
2.0.716 122 12/4/2023
2.0.709 130 12/4/2023
2.0.698 112 11/27/2023
2.0.695 99 11/27/2023
2.0.690 928 11/21/2023
2.0.686 125 11/21/2023
2.0.681 118 11/20/2023
2.0.674 131 11/20/2023
2.0.665 220 11/14/2023
2.0.658 130 11/14/2023
2.0.653 113 11/14/2023
2.0.650 127 11/14/2023
2.0.643 126 11/14/2023
2.0.636 111 11/14/2023
2.0.623 96 11/13/2023
2.0.614 155 11/9/2023
2.0.606 130 11/6/2023
2.0.601 187 10/30/2023
2.0.598 119 10/30/2023
2.0.595 132 10/30/2023
2.0.590 139 10/26/2023
2.0.586 147 10/23/2023
2.0.583 130 10/23/2023
2.0.578 166 10/17/2023
2.0.575 150 10/17/2023
2.0.570 134 10/17/2023
2.0.563 139 10/16/2023
2.0.554 103 10/16/2023
2.0.543 151 10/16/2023
2.0.530 138 10/10/2023
2.0.526 121 10/10/2023
2.0.519 164 10/8/2023
2.0.512 103 10/8/2023
2.0.495 142 10/8/2023
2.0.486 148 10/8/2023
2.0.450 144 10/2/2023
2.0.447 143 10/2/2023
2.0.442 172 9/25/2023
2.0.439 144 9/25/2023
2.0.434 127 9/23/2023
2.0.431 106 9/19/2023
2.0.428 111 9/19/2023
2.0.419 177 9/16/2023
2.0.416 169 9/13/2023
2.0.413 137 9/12/2023
2.0.408 148 9/12/2023
2.0.401 124 9/12/2023
2.0.392 153 9/6/2023
2.0.387 267 9/4/2023
2.0.384 239 8/28/2023
2.0.381 150 8/28/2023
2.0.376 211 8/24/2023
2.0.373 381 8/14/2023
2.0.344 242 8/9/2023
2.0.337 175 8/9/2023
2.0.332 175 8/9/2023
2.0.325 357 7/29/2023
2.0.322 179 7/29/2023
2.0.315 126 7/29/2023
2.0.311 243 7/24/2023
2.0.308 172 7/24/2023
2.0.302 220 7/17/2023
2.0.299 146 7/17/2023
2.0.284 180 7/12/2023
2.0.272 269 7/10/2023
2.0.265 192 7/10/2023
2.0.256 269 7/3/2023
2.0.253 174 7/3/2023
2.0.248 184 7/3/2023
2.0.241 331 6/19/2023
2.0.238 170 6/19/2023
2.0.233 333 6/15/2023
2.0.230 215 6/15/2023
2.0.225 214 6/15/2023
2.0.218 264 6/6/2023
2.0.215 248 6/5/2023
2.0.210 156 6/5/2023
2.0.203 181 6/5/2023
2.0.191 475 5/22/2023
2.0.188 185 5/22/2023
2.0.183 277 5/15/2023
2.0.180 231 5/15/2023
2.0.175 296 5/8/2023
2.0.168 165 5/8/2023
2.0.163 418 5/4/2023
2.0.160 197 5/3/2023
2.0.155 430 4/10/2023
2.0.152 213 4/10/2023
2.0.147 223 4/9/2023
2.0.141 216 4/4/2023
2.0.136 372 4/3/2023
2.0.133 253 4/3/2023
2.0.128 327 3/27/2023
2.0.125 225 3/27/2023
2.0.122 286 3/27/2023
2.0.119 228 3/27/2023
2.0.111 264 3/26/2023
2.0.108 286 3/22/2023
2.0.103 270 3/21/2023
2.0.98 245 3/21/2023
2.0.91 352 3/5/2023
2.0.86 262 3/5/2023
2.0.82 268 3/5/2023
2.0.76 268 3/3/2023
2.0.75 263 3/3/2023
2.0.65 296 2/28/2023
2.0.62 320 1/30/2023
2.0.59 415 1/23/2023
2.0.56 295 1/23/2023
2.0.53 302 1/19/2023
2.0.52 319 1/17/2023
2.0.51 585 1/16/2023
2.0.50 341 1/16/2023
2.0.47 319 1/16/2023
2.0.40 317 1/16/2023
2.0.35 309 1/16/2023
2.0.29 305 1/16/2023
2.0.26 319 1/16/2023
2.0.20 352 1/16/2023
1.0.2 1,514 9/22/2019