N2C.VismaNET.CustomerContractHandler
1.11.3
dotnet add package N2C.VismaNET.CustomerContractHandler --version 1.11.3
NuGet\Install-Package N2C.VismaNET.CustomerContractHandler -Version 1.11.3
<PackageReference Include="N2C.VismaNET.CustomerContractHandler" Version="1.11.3" />
<PackageVersion Include="N2C.VismaNET.CustomerContractHandler" Version="1.11.3" />
<PackageReference Include="N2C.VismaNET.CustomerContractHandler" />
paket add N2C.VismaNET.CustomerContractHandler --version 1.11.3
#r "nuget: N2C.VismaNET.CustomerContractHandler, 1.11.3"
#:package N2C.VismaNET.CustomerContractHandler@1.11.3
#addin nuget:?package=N2C.VismaNET.CustomerContractHandler&version=1.11.3
#tool nuget:?package=N2C.VismaNET.CustomerContractHandler&version=1.11.3
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 | Versions 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. |
-
net7.0
- N2C.VismaNET.HttpBase (>= 1.11.3)
- N2C.VismaNET.Token (>= 1.11.3)
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 |