Sankhya 3.0.328

dotnet add package Sankhya --version 3.0.328
NuGet\Install-Package Sankhya -Version 3.0.328
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.328" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sankhya --version 3.0.328
#r "nuget: Sankhya, 3.0.328"
#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=3.0.328

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

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 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. 
.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.328 82 4/15/2024
3.0.325 79 4/15/2024
3.0.320 74 4/15/2024
3.0.313 74 4/15/2024
3.0.304 104 4/8/2024
3.0.301 72 4/8/2024
3.0.296 72 4/8/2024
3.0.289 106 4/1/2024
3.0.286 73 4/1/2024
3.0.281 112 3/25/2024
3.0.278 77 3/25/2024
3.0.273 106 3/18/2024
3.0.270 97 3/18/2024
3.0.265 94 3/11/2024
3.0.262 80 3/11/2024
3.0.257 131 3/4/2024
3.0.254 97 2/26/2024
3.0.251 92 2/26/2024
3.0.246 82 2/26/2024
3.0.239 90 2/19/2024
3.0.236 71 2/19/2024
3.0.231 71 2/19/2024
3.0.224 69 2/19/2024
3.0.215 87 2/14/2024
3.0.210 97 2/12/2024
3.0.207 103 2/12/2024
3.0.204 88 2/12/2024
3.0.197 103 2/7/2024
3.0.188 80 2/6/2024
3.0.184 85 2/5/2024
3.0.178 86 1/30/2024
3.0.175 77 1/30/2024
3.0.170 73 1/29/2024
3.0.163 75 1/29/2024
3.0.156 91 1/29/2024
3.0.142 81 1/24/2024
3.0.139 78 1/24/2024
3.0.136 76 1/23/2024
3.0.129 74 1/23/2024
3.0.124 74 1/23/2024
3.0.117 78 1/22/2024
3.0.114 75 1/22/2024
3.0.107 104 1/22/2024
3.0.102 77 1/22/2024
3.0.97 78 1/22/2024
3.0.86 91 1/16/2024
3.0.83 86 1/16/2024
3.0.71 101 1/15/2024
3.0.62 113 1/8/2024
3.0.59 146 1/1/2024
3.0.56 122 12/25/2023
3.0.53 107 12/25/2023
3.0.48 99 12/25/2023
3.0.41 96 12/25/2023
3.0.32 170 12/18/2023
3.0.5 123 12/17/2023
2.0.773 116 12/14/2023
2.0.767 120 12/11/2023
2.0.764 92 12/11/2023
2.0.759 109 12/11/2023
2.0.752 132 12/11/2023
2.0.743 99 12/11/2023
2.0.732 113 12/11/2023
2.0.729 112 12/6/2023
2.0.724 144 12/4/2023
2.0.721 108 12/4/2023
2.0.716 113 12/4/2023
2.0.709 103 12/4/2023
2.0.698 102 11/27/2023
2.0.695 83 11/27/2023
2.0.690 198 11/21/2023
2.0.686 92 11/21/2023
2.0.681 94 11/20/2023
2.0.674 106 11/20/2023
2.0.665 188 11/14/2023
2.0.658 106 11/14/2023
2.0.653 76 11/14/2023
2.0.650 99 11/14/2023
2.0.643 99 11/14/2023
2.0.636 82 11/14/2023
2.0.623 80 11/13/2023
2.0.614 127 11/9/2023
2.0.606 103 11/6/2023
2.0.601 159 10/30/2023
2.0.598 108 10/30/2023
2.0.595 107 10/30/2023
2.0.590 128 10/26/2023
2.0.586 119 10/23/2023
2.0.583 105 10/23/2023
2.0.578 140 10/17/2023
2.0.575 117 10/17/2023
2.0.570 106 10/17/2023
2.0.563 111 10/16/2023
2.0.554 92 10/16/2023
2.0.543 120 10/16/2023
2.0.530 127 10/10/2023
2.0.526 95 10/10/2023
2.0.519 136 10/8/2023
2.0.512 92 10/8/2023
2.0.495 118 10/8/2023
2.0.486 114 10/8/2023
2.0.450 117 10/2/2023
2.0.447 115 10/2/2023
2.0.442 145 9/25/2023
2.0.439 119 9/25/2023
2.0.434 117 9/23/2023
2.0.431 96 9/19/2023
2.0.428 101 9/19/2023
2.0.419 151 9/16/2023
2.0.416 158 9/13/2023
2.0.413 115 9/12/2023
2.0.408 115 9/12/2023
2.0.401 114 9/12/2023
2.0.392 143 9/6/2023
2.0.387 242 9/4/2023
2.0.384 229 8/28/2023
2.0.381 124 8/28/2023
2.0.376 185 8/24/2023
2.0.373 352 8/14/2023
2.0.344 220 8/9/2023
2.0.337 151 8/9/2023
2.0.332 146 8/9/2023
2.0.325 323 7/29/2023
2.0.322 153 7/29/2023
2.0.315 116 7/29/2023
2.0.311 216 7/24/2023
2.0.308 146 7/24/2023
2.0.302 211 7/17/2023
2.0.299 137 7/17/2023
2.0.284 146 7/12/2023
2.0.272 247 7/10/2023
2.0.265 166 7/10/2023
2.0.256 260 7/3/2023
2.0.253 149 7/3/2023
2.0.248 159 7/3/2023
2.0.241 302 6/19/2023
2.0.238 146 6/19/2023
2.0.233 303 6/15/2023
2.0.230 193 6/15/2023
2.0.225 190 6/15/2023
2.0.218 233 6/6/2023
2.0.215 216 6/5/2023
2.0.210 146 6/5/2023
2.0.203 149 6/5/2023
2.0.191 465 5/22/2023
2.0.188 161 5/22/2023
2.0.183 269 5/15/2023
2.0.180 206 5/15/2023
2.0.175 275 5/8/2023
2.0.168 157 5/8/2023
2.0.163 391 5/4/2023
2.0.160 172 5/3/2023
2.0.155 406 4/10/2023
2.0.152 203 4/10/2023
2.0.147 196 4/9/2023
2.0.141 204 4/4/2023
2.0.136 354 4/3/2023
2.0.133 224 4/3/2023
2.0.128 317 3/27/2023
2.0.125 217 3/27/2023
2.0.122 257 3/27/2023
2.0.119 205 3/27/2023
2.0.111 242 3/26/2023
2.0.108 262 3/22/2023
2.0.103 248 3/21/2023
2.0.98 230 3/21/2023
2.0.91 344 3/5/2023
2.0.86 237 3/5/2023
2.0.82 244 3/5/2023
2.0.76 261 3/3/2023
2.0.75 236 3/3/2023
2.0.65 262 2/28/2023
2.0.62 311 1/30/2023
2.0.59 403 1/23/2023
2.0.56 270 1/23/2023
2.0.53 279 1/19/2023
2.0.52 292 1/17/2023
2.0.51 571 1/16/2023
2.0.50 314 1/16/2023
2.0.47 295 1/16/2023
2.0.40 303 1/16/2023
2.0.35 297 1/16/2023
2.0.29 293 1/16/2023
2.0.26 308 1/16/2023
2.0.20 325 1/16/2023
1.0.2 1,498 9/22/2019