Sankhya 3.1.134

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

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

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 seek is not set in the SDK, you can implement the service request/response independently (and use it on your code or submit a pull request to this repository).

Some Request Wrappers allow you to make some requests easily.

Known Services

Wiki page about KSRW

Sankhya Wrapper

The last-mile operations are done on these wrappers. This class defines all HTTP request/response, login/logout, serialization, and download/upload operations.

Avoid using this class directly from your implementation. Only call its methods if you are extending the SDK's functionality or implementing a new feature. Otherwise, I 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 its 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 your code, you can just pass it as the 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 them one by one:

var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions) {
    KnowServicesRequestWrapper.KillSession(session.Id);
}

Support

Please open an issue for support.


Contributing

Refer to CONTRIBUTING.md to learn how to contribute to this project!

Contributors

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/guibranco"> <img src="https://avatars.githubusercontent.com/u/3362854?v=4" width="100;" alt="guibranco"/> <br /> <sub><b>Guilherme Branco Stracini</b></sub> </a> </td> <td align="center"> <a href="https://github.com/fandriyaninkov"> <img src="https://avatars.githubusercontent.com/u/18394528?v=4" width="100;" alt="fandriyaninkov"/> <br /> <sub><b>Fedor Andriyaninkov</b></sub> </a> </td> <td align="center"> <a href="https://github.com/pedrowindisch"> <img src="https://avatars.githubusercontent.com/u/30203228?v=4" width="100;" alt="pedrowindisch"/> <br /> <sub><b>Pedro Henrique</b></sub> </a> </td> <td align="center"> <a href="https://github.com/viktoriussuwandi"> <img src="https://avatars.githubusercontent.com/u/68414300?v=4" width="100;" alt="viktoriussuwandi"/> <br /> <sub><b>Viktorius Suwandi</b></sub> </a> </td> </tr> <tbody> </table>

Bots

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/dependabot[bot]"> <img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100;" alt="dependabot[bot]"/> <br /> <sub><b>dependabot[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/github-actions[bot]"> <img src="https://avatars.githubusercontent.com/in/15368?v=4" width="100;" alt="github-actions[bot]"/> <br /> <sub><b>github-actions[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/penify-dev[bot]"> <img src="https://avatars.githubusercontent.com/in/399279?v=4" width="100;" alt="penify-dev[bot]"/> <br /> <sub><b>penify-dev[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/stack-file[bot]"> <img src="https://avatars.githubusercontent.com/in/408123?v=4" width="100;" alt="stack-file[bot]"/> <br /> <sub><b>stack-file[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/codefactor-io[bot]"> <img src="https://avatars.githubusercontent.com/in/25603?v=4" width="100;" alt="codefactor-io[bot]"/> <br /> <sub><b>codefactor-io[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/gitauto-ai[bot]"> <img src="https://avatars.githubusercontent.com/in/844909?v=4" width="100;" alt="gitauto-ai[bot]"/> <br /> <sub><b>gitauto-ai[bot]</b></sub> </a> </td> </tr> <tr> <td align="center"> <a href="https://github.com/snyk-bot"> <img src="https://avatars.githubusercontent.com/u/19733683?v=4" width="100;" alt="snyk-bot"/> <br /> <sub><b>Snyk bot</b></sub> </a> </td> </tr> <tbody> </table>

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 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 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.  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.127 56 2 days ago
5.0.124 49 2 days ago
5.0.119 32 2 days ago
5.0.116 53 4 days ago
5.0.113 50 4 days ago
5.0.107 87 9 days ago
5.0.102 80 9 days ago
5.0.93 79 16 days ago
5.0.90 79 16 days ago
5.0.85 380 23 days ago
5.0.82 77 23 days ago
5.0.77 72 23 days ago
5.0.74 127 a month ago
5.0.71 59 a month ago
5.0.66 62 a month ago
5.0.59 61 a month ago
5.0.58 310 a month ago
5.0.55 69 a month ago
5.0.52 72 a month ago
5.0.47 66 a month ago
5.0.38 65 a month ago
5.0.35 66 a month ago
5.0.32 67 a month ago
5.0.28 231 a month ago
5.0.19 75 a month ago
5.0.8 73 a month ago
4.1.106 164 2 months ago
4.1.103 82 2 months ago
4.1.98 75 2 months ago
4.1.91 83 2 months ago
4.1.84 89 2 months ago
4.1.80 81 2 months ago
4.1.77 87 2 months ago
4.1.65 145 2 months ago
4.1.57 87 2 months ago
4.1.52 85 2 months ago
4.1.47 90 2 months ago
4.0.34 83 2 months ago
4.0.25 90 2 months ago
4.0.15 85 2 months ago
4.0.8 93 2 months ago
3.1.134 84 2 months ago
3.1.126 223 2 months ago
3.1.123 86 2 months ago
3.1.118 78 2 months ago
3.1.108 223 2 months ago
3.1.103 85 2 months ago
3.1.98 151 3 months ago
3.1.95 90 3 months ago
3.1.92 75 3 months ago
3.1.83 274 3 months ago
3.1.80 91 3 months ago
3.1.75 86 3 months ago
3.1.66 93 3 months ago
3.1.61 279 3 months ago
3.1.58 87 3 months ago
3.1.53 97 3 months ago
3.1.42 91 3 months ago
3.1.37 223 3 months ago
3.1.32 85 3 months ago
3.1.16 90 3 months ago
3.0.969 107 3 months ago
3.0.950 92 3 months ago
3.0.947 101 3 months ago
3.0.938 260 3 months ago
3.0.926 242 4 months ago
3.0.923 88 4 months ago
3.0.916 188 4 months ago
3.0.913 86 4 months ago
3.0.910 87 4 months ago
3.0.889 225 4 months ago
3.0.886 99 4 months ago
3.0.883 84 4 months ago
3.0.878 91 4 months ago
3.0.869 115 4 months ago
3.0.865 120 4 months ago
3.0.862 130 4 months ago
3.0.856 118 4 months ago
3.0.845 98 4 months ago
3.0.842 216 4 months ago
3.0.837 107 4 months ago
3.0.822 86 5 months ago
3.0.819 106 5 months ago
3.0.816 98 5 months ago
3.0.811 102 5 months ago
3.0.808 96 5 months ago
3.0.805 102 5 months ago
3.0.794 319 5 months ago
3.0.791 99 5 months ago
3.0.786 91 5 months ago
3.0.782 130 5 months ago
3.0.778 237 5 months ago
3.0.775 119 5 months ago
3.0.768 188 6 months ago
3.0.765 106 6 months ago
3.0.760 107 6 months ago
3.0.757 102 6 months ago
3.0.748 225 6 months ago
3.0.745 116 6 months ago
3.0.740 122 6 months ago
3.0.734 113 6 months ago
3.0.731 103 6 months ago
3.0.722 113 6 months ago
3.0.719 113 6 months ago
3.0.707 96 6 months ago
3.0.702 117 6 months ago
3.0.694 114 6 months ago
3.0.686 112 6 months ago
3.0.680 248 6 months ago
3.0.672 102 6 months ago
3.0.656 137 6 months ago
3.0.648 133 6 months ago
3.0.640 731 6 months ago
3.0.637 119 6 months ago
3.0.634 118 6 months ago
3.0.629 120 6 months ago
3.0.620 133 6 months ago
3.0.617 119 6 months ago
3.0.612 120 6 months ago
3.0.609 105 7 months ago
3.0.606 73 7 months ago
3.0.601 127 7 months ago
3.0.598 97 7 months ago
3.0.589 109 7 months ago
3.0.586 102 7 months ago
3.0.567 152 7 months ago
3.0.564 89 7 months ago
3.0.563 94 7 months ago
3.0.559 113 7 months ago
3.0.549 99 7 months ago
3.0.545 97 7 months ago
3.0.542 100 7 months ago
3.0.539 80 7 months ago
3.0.535 116 7 months ago
3.0.530 109 7 months ago
3.0.523 106 7 months ago
3.0.514 97 7 months ago
3.0.511 92 7 months ago
3.0.506 95 7 months ago
3.0.503 79 7 months ago
3.0.500 79 7 months ago
3.0.477 109 8 months ago
3.0.470 129 8 months ago
3.0.467 127 8 months ago
3.0.464 117 8 months ago
3.0.459 143 8 months ago
3.0.456 140 8 months ago
3.0.453 103 8 months ago
3.0.448 137 9 months ago
3.0.445 107 9 months ago
3.0.442 109 9 months ago
3.0.437 94 9 months ago
3.0.434 143 9 months ago
3.0.429 121 9 months ago
3.0.422 117 9 months ago
3.0.413 117 9 months ago
3.0.402 138 9 months ago
3.0.399 125 9 months ago
3.0.393 100 9 months ago
3.0.390 153 10 months ago
3.0.387 122 10 months ago
3.0.384 119 10 months ago
3.0.380 132 10 months ago
3.0.373 136 10 months ago
3.0.364 131 10 months ago
3.0.361 135 10 months ago
3.0.348 122 4/22/2024
3.0.345 107 4/22/2024
3.0.340 147 4/22/2024
3.0.337 125 4/22/2024
3.0.328 142 4/15/2024
3.0.325 124 4/15/2024
3.0.320 105 4/15/2024
3.0.313 119 4/15/2024
3.0.304 151 4/8/2024
3.0.301 120 4/8/2024
3.0.296 119 4/8/2024
3.0.289 148 4/1/2024
3.0.286 118 4/1/2024
3.0.281 164 3/25/2024
3.0.278 122 3/25/2024
3.0.273 146 3/18/2024
3.0.270 141 3/18/2024
3.0.265 134 3/11/2024
3.0.262 132 3/11/2024
3.0.257 159 3/4/2024
3.0.254 125 2/26/2024
3.0.251 166 2/26/2024
3.0.246 121 2/26/2024
3.0.239 120 2/19/2024
3.0.236 121 2/19/2024
3.0.231 119 2/19/2024
3.0.224 127 2/19/2024
3.0.215 132 2/14/2024
3.0.210 137 2/12/2024
3.0.207 151 2/12/2024
3.0.204 133 2/12/2024
3.0.197 147 2/7/2024
3.0.188 128 2/6/2024
3.0.184 130 2/5/2024
3.0.178 126 1/30/2024
3.0.175 121 1/30/2024
3.0.170 111 1/29/2024
3.0.163 116 1/29/2024
3.0.156 132 1/29/2024
3.0.142 122 1/24/2024
3.0.139 114 1/24/2024
3.0.136 117 1/23/2024
3.0.129 116 1/23/2024
3.0.124 114 1/23/2024
3.0.117 127 1/22/2024
3.0.114 122 1/22/2024
3.0.107 150 1/22/2024
3.0.102 116 1/22/2024
3.0.97 119 1/22/2024
3.0.86 134 1/16/2024
3.0.83 130 1/16/2024
3.0.71 136 1/15/2024
3.0.62 138 1/8/2024
3.0.59 186 1/1/2024
3.0.56 148 12/25/2023
3.0.53 147 12/25/2023
3.0.48 140 12/25/2023
3.0.41 120 12/25/2023
3.0.32 1,186 12/18/2023
3.0.5 154 12/17/2023
2.0.773 138 12/14/2023
2.0.767 160 12/11/2023
2.0.764 135 12/11/2023
2.0.759 154 12/11/2023
2.0.752 171 12/11/2023
2.0.743 122 12/11/2023
2.0.732 153 12/11/2023
2.0.729 151 12/6/2023
2.0.724 182 12/4/2023
2.0.721 129 12/4/2023
2.0.716 136 12/4/2023
2.0.709 144 12/4/2023
2.0.698 126 11/27/2023
2.0.695 121 11/27/2023
2.0.690 1,187 11/21/2023
2.0.686 139 11/21/2023
2.0.681 132 11/20/2023
2.0.674 144 11/20/2023
2.0.665 234 11/14/2023
2.0.658 144 11/14/2023
2.0.653 131 11/14/2023
2.0.650 143 11/14/2023
2.0.643 140 11/14/2023
2.0.636 125 11/14/2023
2.0.623 110 11/13/2023
2.0.614 168 11/9/2023
2.0.606 144 11/6/2023
2.0.601 200 10/30/2023
2.0.598 133 10/30/2023
2.0.595 146 10/30/2023
2.0.590 155 10/26/2023
2.0.586 161 10/23/2023
2.0.583 143 10/23/2023
2.0.578 179 10/17/2023
2.0.575 164 10/17/2023
2.0.570 153 10/17/2023
2.0.563 153 10/16/2023
2.0.554 117 10/16/2023
2.0.543 165 10/16/2023
2.0.530 152 10/10/2023
2.0.526 135 10/10/2023
2.0.519 178 10/8/2023
2.0.512 117 10/8/2023
2.0.495 155 10/8/2023
2.0.486 162 10/8/2023
2.0.450 158 10/2/2023
2.0.447 163 10/2/2023
2.0.442 187 9/25/2023
2.0.439 159 9/25/2023
2.0.434 142 9/23/2023
2.0.431 121 9/19/2023
2.0.428 126 9/19/2023
2.0.419 192 9/16/2023
2.0.416 184 9/13/2023
2.0.413 150 9/12/2023
2.0.408 165 9/12/2023
2.0.401 139 9/12/2023
2.0.392 168 9/6/2023
2.0.387 328 9/4/2023
2.0.384 252 8/28/2023
2.0.381 165 8/28/2023
2.0.376 232 8/24/2023
2.0.373 396 8/14/2023
2.0.344 257 8/9/2023
2.0.337 190 8/9/2023
2.0.332 190 8/9/2023
2.0.325 373 7/29/2023
2.0.322 194 7/29/2023
2.0.315 141 7/29/2023
2.0.311 258 7/24/2023
2.0.308 185 7/24/2023
2.0.302 235 7/17/2023
2.0.299 161 7/17/2023
2.0.284 197 7/12/2023
2.0.272 284 7/10/2023
2.0.265 207 7/10/2023
2.0.256 282 7/3/2023
2.0.253 189 7/3/2023
2.0.248 199 7/3/2023
2.0.241 344 6/19/2023
2.0.238 185 6/19/2023
2.0.233 348 6/15/2023
2.0.230 228 6/15/2023
2.0.225 229 6/15/2023
2.0.218 279 6/6/2023
2.0.215 261 6/5/2023
2.0.210 169 6/5/2023
2.0.203 194 6/5/2023
2.0.191 487 5/22/2023
2.0.188 199 5/22/2023
2.0.183 291 5/15/2023
2.0.180 246 5/15/2023
2.0.175 310 5/8/2023
2.0.168 179 5/8/2023
2.0.163 430 5/4/2023
2.0.160 211 5/3/2023
2.0.155 442 4/10/2023
2.0.152 225 4/10/2023
2.0.147 237 4/9/2023
2.0.141 228 4/4/2023
2.0.136 384 4/3/2023
2.0.133 265 4/3/2023
2.0.128 342 3/27/2023
2.0.125 240 3/27/2023
2.0.122 300 3/27/2023
2.0.119 241 3/27/2023
2.0.111 277 3/26/2023
2.0.108 303 3/22/2023
2.0.103 281 3/21/2023
2.0.98 256 3/21/2023
2.0.91 363 3/5/2023
2.0.86 273 3/5/2023
2.0.82 279 3/5/2023
2.0.76 279 3/3/2023
2.0.75 276 3/3/2023
2.0.65 308 2/28/2023
2.0.62 334 1/30/2023
2.0.59 427 1/23/2023
2.0.56 309 1/23/2023
2.0.53 314 1/19/2023
2.0.52 331 1/17/2023
2.0.51 597 1/16/2023
2.0.50 353 1/16/2023
2.0.47 331 1/16/2023
2.0.40 331 1/16/2023
2.0.35 321 1/16/2023
2.0.29 316 1/16/2023
2.0.26 333 1/16/2023
2.0.20 363 1/16/2023
1.0.2 1,533 9/22/2019

Chore