N2C.VismaNET.CustomerContractHandler 1.10.29-dev

This is a prerelease version of N2C.VismaNET.CustomerContractHandler.
There is a newer version of this package available.
See the version list below for details.
dotnet add package N2C.VismaNET.CustomerContractHandler --version 1.10.29-dev
                    
NuGet\Install-Package N2C.VismaNET.CustomerContractHandler -Version 1.10.29-dev
                    
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="N2C.VismaNET.CustomerContractHandler" Version="1.10.29-dev" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="N2C.VismaNET.CustomerContractHandler" Version="1.10.29-dev" />
                    
Directory.Packages.props
<PackageReference Include="N2C.VismaNET.CustomerContractHandler" />
                    
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 N2C.VismaNET.CustomerContractHandler --version 1.10.29-dev
                    
#r "nuget: N2C.VismaNET.CustomerContractHandler, 1.10.29-dev"
                    
#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.
#:package N2C.VismaNET.CustomerContractHandler@1.10.29-dev
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=N2C.VismaNET.CustomerContractHandler&version=1.10.29-dev&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=N2C.VismaNET.CustomerContractHandler&version=1.10.29-dev&prerelease
                    
Install as a Cake Tool

Visma NET Customer Contract API Handler

This package is a handler for the Visma.NET API and can be used to get Customer Contracts from the Visma.NET API. The project is written in C# and uses the .NET Core framework.

Getting Started

You need to have a valid token to be able to use the API. You can get a token by using the Visma.net API Authentication. You can use the N2C.VismaNET.Token package.

This version only implements the Get method.

Get Class in N2C.VismaNET.CustomerContract

The Get class is a part of the N2C.VismaNET.CustomerContract namespace and is used to handle API requests related to customer contracts. It extends the ApiBase class and sets the controller to "customercontract".

Constructor

The Get class has two constructors, both requiring a bearer token and a tenant ID. The second constructor also requires a version.

Methods

The Get class provides several asynchronous methods to retrieve different types of data related to customer contracts:

  • GetDetailAsync(int? contractId): Retrieves the details of a specific contract using its ID.
  • GetContractsAsync(Dictionary<string, string> query): Retrieves a list of contracts based on a query.
  • GetSummaryAsync(int? contractId): Retrieves the summary of a specific contract using its ID.
  • GetDetailAsync(int contractId): Retrieves the details of a specific contract using its ID.
  • GetRecurringSummary(int contractId): Retrieves the recurring summary of a specific contract using its ID.

All methods return a Task that resolves to the requested data. The methods use the GetAsync method from the ApiBase class to send the API request and parse the response.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.11.3 193 11/3/2025
1.10.29 178 10/29/2025
1.10.29-dev 174 10/29/2025
1.0.0 183 10/29/2025