Visma.net 4.2.1

dotnet add package Visma.net --version 4.2.1                
NuGet\Install-Package Visma.net -Version 4.2.1                
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="Visma.net" Version="4.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Visma.net --version 4.2.1                
#r "nuget: Visma.net, 4.2.1"                
#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 Visma.net as a Cake Addin
#addin nuget:?package=Visma.net&version=4.2.1

// Install Visma.net as a Cake Tool
#tool nuget:?package=Visma.net&version=4.2.1                

Visma.net Integrations API Client for .Net

Build status NuGet version

This is an open source Visma.net Integrations API Client for .Net.

Please set VismaNet.ApplicationName before doing any requests. This will allow Visma to identify your application in the requests and let them contact you if anything is off on their side.

Do you need help with an integration?

Contact me on ole@on-it.no with details about your project and let's see if we're a good fit.

Changelog

Dynamic and Resources in v3.6

You can now use vismaNet.Dyanmic and vismaNet.Resource to access all endpoints in the API with dynamic typing.

Note how you can nest properties to access sub-endpoints, and use [] to access specific resources.

Samples

Get customer note

var vismaNet = new VismaNet(contextId, token);
dynamic note = await vismaNet.Dynamic.Customer["10003"].Note.Get();
Console.WriteLine(note);

Get current user information

var vismaNet = new VismaNet(contextId, token);
dynamic me = await vismaNet.Resources.Context.UserDetails.Get();
Console.WriteLine(JsonConvert.SerializeObject(me));

v3

With this release the Visma.net API client supports NetStandard 2.0, and the binary is now renamed from ONIT.VismaNet.dll to Visma.net.dll. This might probably break something for you, so I figured it best that we bumped the version number a fair bit.

In addition there's the following:

  • Support for attachments
  • Shipment printing and actions
  • General fixes

v2

Two words: Breaking Changes.

  • "AsyncTask" is removed from the method names, so ie. GetAsyncTask is now named Get etc.
  • All sync methods are now completely removed. If you need them to run in sync, try the AsyncContext package from https://github.com/StephenCleary/AsyncEx
  • Many endpoints has been renamed to be equal to the API endpoint name (mostly removed plurals)
  • Not so breaking change: ForEach<T> is now implemented. This will take an action as a parameter and utilize the streaming response from the API.
    internal class Program
    {
        private static void Main(string[] args)
        {
            VismaNet.ApplicationName = "My Awesome Integration";
            var vismaNet = new VismaNet(12345, "1406148a-a9b5-4626-acaf-e485a85b6e0c");
            /*
            ...
            */
        }
   }

See Wiki for examples.

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 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. 
.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 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  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

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
4.2.1 1,658 7/17/2023
4.2.0 7,788 2/16/2023
4.1.0 3,858 11/10/2022
4.0.4 998 11/3/2022
4.0.3 1,752 5/31/2022
4.0.2 1,300 5/5/2022
4.0.0 1,094 5/4/2022
3.7.5-pre-110 777 4/19/2022
3.7.5-pre-109 1,950 3/31/2022
3.7.5-pre-108 811 2/16/2022
3.7.5-pre-107 750 2/3/2022
3.7.5-pre-106 752 2/2/2022
3.7.5-pre-105 745 1/21/2022
3.7.5-pre-104 735 1/17/2022
3.7.4 4,188 4/19/2021
3.7.4-pre-99 813 10/22/2021
3.7.4-pre-98 892 10/8/2021
3.7.4-pre-97 803 10/6/2021
3.7.4-pre-96 811 10/6/2021
3.7.4-pre-95 817 9/30/2021
3.7.4-pre-94 818 9/23/2021
3.7.4-pre-93 780 9/1/2021
3.7.4-pre-92 831 6/30/2021
3.7.4-pre-91 812 6/2/2021
3.7.4-pre-88 843 4/14/2021
3.7.4-pre-87 785 4/14/2021
3.7.4-pre-86 846 3/19/2021
3.7.4-pre-85 886 3/18/2021
3.7.4-pre-84 900 3/8/2021
3.7.4-pre-83 886 3/8/2021
3.7.4-pre-82 869 2/25/2021
3.7.4-pre-81 886 1/28/2021
3.7.4-pre-80 868 1/27/2021
3.7.4-pre-78 929 1/21/2021
3.7.4-pre-103 724 1/17/2022
3.7.4-pre-101 743 12/10/2021
3.7.4-pre-100 803 11/11/2021
3.7.3.18 1,093 4/19/2021 3.7.3.18 is deprecated.
3.7.3.1 1,328 1/21/2021
3.7.3 1,122 1/21/2021
3.7.2.1 12,282 10/19/2020
3.7.2 1,145 10/19/2020
3.7.2-pre-76 873 1/19/2021
3.7.2-pre-75 886 1/13/2021
3.7.2-pre-74 893 1/13/2021
3.7.2-pre-73 898 1/12/2021
3.7.2-pre-72 920 1/12/2021
3.7.2-pre-71 964 11/4/2020
3.7.2-pre-68 944 10/19/2020
3.7.2-pre-67 1,012 9/25/2020
3.7.2-pre-66 1,085 6/4/2020
3.7.1 1,375 5/18/2020
3.7.1-pre-64 1,005 5/28/2020
3.7.1-pre-63 973 5/28/2020
3.7.1-pre-62 973 5/28/2020
3.7.1-pre-61 978 5/28/2020
3.7.1-pre-60 1,030 5/19/2020
3.7.1-pre-57 998 5/18/2020
3.7.0 1,389 5/11/2020
3.6.1-pre-56 989 5/18/2020
3.6.1-pre-54 958 5/7/2020
3.6.1-pre-53 994 5/7/2020
3.6.1-pre-52 942 5/7/2020
3.6.1-pre-51 976 5/7/2020
3.6.1-pre-50 1,030 5/4/2020
3.6.1-pre-49 1,006 4/7/2020
3.6.1-pre-48 1,012 3/10/2020
3.6.1-pre-47 1,044 2/6/2020
3.6.1-pre-46 949 2/6/2020
3.6.1-pre-45 953 1/30/2020
3.6.1-pre-44 1,005 1/30/2020
3.6.1-pre-43 1,065 1/26/2020
3.6.1-pre-41 1,075 1/2/2020
3.6.1-pre-40 1,044 12/25/2019
3.6.1-pre-39 1,022 12/24/2019
3.6.1-pre-38 1,045 12/23/2019
3.6.1-pre-34 1,069 11/27/2019
3.6.1-pre-33 1,006 10/9/2019
3.6.1-pre-32 1,052 10/9/2019
3.6.1-pre-31 1,116 8/28/2019
3.6.1-pre-30 1,091 8/22/2019
3.6.1-pre-29 1,075 8/22/2019
3.6.0 3,429 8/2/2019
3.6.0-pre-26 1,071 8/2/2019
3.6.0-pre-25 1,117 7/22/2019
3.6.0-pre-24 1,033 6/28/2019
3.6.0-pre-23 952 6/28/2019
3.6.0-pre-22 1,032 6/28/2019
3.6.0-pre-21 1,087 6/25/2019
3.6.0-pre-20 1,042 6/25/2019
3.5.1 1,515 12/17/2018
3.5.0 1,650 8/3/2018
3.5.0-pre-8 1,366 7/5/2018
3.5.0-pre-14 1,214 12/14/2018
3.5.0-pre-13 1,178 12/5/2018
3.5.0-pre-12 1,208 11/28/2018
3.5.0-pre-10 1,295 8/3/2018
3.4.1 1,681 7/5/2018
3.4.1-pre-6 1,450 7/5/2018
3.4.1-pre-5 1,449 7/4/2018
3.4.1-pre-4 1,402 7/3/2018
3.4.1-pre-3 1,390 7/3/2018
3.4.1-pre-2 1,408 7/2/2018
3.4.1-pre-1 1,518 6/25/2018
3.4.0-pre-99 1,401 5/24/2018
3.4.0-pre-97 1,383 5/24/2018
3.4.0-pre-96 1,432 5/24/2018
3.4.0-pre-95 1,381 5/24/2018
3.4.0-pre-93 1,467 5/24/2018
3.4.0-pre-92 1,411 5/24/2018
3.4.0-pre-91 1,386 5/23/2018
3.4.0-pre-90 1,351 5/23/2018
3.4.0-pre-89 1,393 5/23/2018
3.4.0-pre-88 1,444 5/23/2018
3.4.0-pre-108 1,472 6/25/2018
3.4.0-pre-107 1,456 5/29/2018
3.4.0-pre-106 1,500 5/29/2018
3.4.0-pre-104 1,394 5/29/2018
3.4.0-pre-103 1,434 5/29/2018
3.4.0-pre-102 1,466 5/29/2018
3.4.0-pre-101 1,465 5/28/2018
3.4.0-pre-100 1,389 5/25/2018
3.3.2 1,659 5/29/2018
3.3.1 1,678 5/24/2018
3.3.0 1,646 5/23/2018
3.3.0-pre-86 1,326 5/23/2018
3.3.0-pre-85 1,386 5/22/2018
3.3.0-pre-84 1,376 5/22/2018
3.3.0-pre-83 1,306 5/22/2018
3.3.0-pre-82 1,547 4/20/2018
3.3.0-pre-81 1,589 4/20/2018
3.3.0-pre-80 1,430 4/20/2018
3.3.0-pre-79 1,347 4/18/2018
3.2.0 1,721 4/16/2018
3.2.0-pre-77 1,405 4/16/2018
3.2.0-pre-75 1,355 4/16/2018
3.2.0-pre-74 1,467 4/16/2018
3.2.0-pre-73 1,433 4/13/2018
3.2.0-pre-72 1,652 4/13/2018
3.2.0-pre-71 1,404 3/12/2018
3.2.0-pre-70 1,350 3/8/2018
3.2.0-pre-69 1,301 3/8/2018
3.2.0-pre-68 1,394 3/7/2018
3.2.0-pre-67 1,295 3/7/2018
3.2.0-pre-66 1,314 3/7/2018
3.2.0-pre-65 1,274 3/7/2018
3.2.0-pre-64 1,423 3/7/2018
3.2.0-pre-63 1,297 3/6/2018
3.2.0-pre-62 1,333 3/6/2018
3.2.0-pre-61 1,534 3/6/2018
3.2.0-pre-60 1,393 3/6/2018
3.2.0-pre-59 1,482 3/6/2018
3.2.0-pre-58 1,459 3/6/2018
3.2.0-pre-57 1,354 3/4/2018
3.2.0-pre-56 1,391 3/4/2018
3.2.0-pre-55 1,319 3/4/2018
3.2.0-pre-54 1,426 3/2/2018
3.2.0-pre-53 1,442 1/17/2018
3.2.0-pre-51 1,340 1/11/2018
3.2.0-pre-50 1,445 1/11/2018
3.1.0 1,767 12/21/2017
3.1.0-pre-49 1,396 1/11/2018
3.1.0-pre-47 1,394 12/21/2017
3.1.0-pre-46 1,492 12/20/2017
3.0.1 1,795 10/9/2017
3.0.1-pre-45 1,380 12/18/2017
3.0.1-pre-44 1,309 10/13/2017
3.0.1-pre-42 1,313 10/9/2017
3.0.1-pre-41 1,238 10/4/2017
3.0.0 1,631 10/4/2017
3.0.0-pre-38 1,352 10/4/2017
3.0.0-pre-36 1,258 10/4/2017
2.2.1.18-pre 1,348 9/15/2017
2.2.1 2,652 6/9/2017
2.2.0.17-pre 1,347 9/15/2017
2.2.0.16-pre 1,276 8/11/2017
2.2.0.14-pre 1,280 6/9/2017
2.2.0.13-pre 1,330 5/16/2017
2.2.0 1,653 5/16/2017
2.1.0.8-pre 1,430 3/29/2017
2.1.0 1,584 3/29/2017
2.0.0.4-pre 1,421 3/23/2017
2.0.0.3-pre 1,289 3/23/2017
2.0.0.2-pre 1,404 3/13/2017
2.0.0.1-pre 1,316 3/3/2017
2.0.0 4,918 3/3/2017
1.0.75 1,633 2/16/2017
1.0.74 1,637 2/9/2017
1.0.73 1,596 2/9/2017
1.0.72 1,645 12/19/2016
1.0.71 1,552 12/10/2016
1.0.70 1,624 12/10/2016
1.0.69 1,569 12/10/2016
1.0.68 1,695 12/10/2016
1.0.67 1,571 12/8/2016
1.0.66 1,620 12/7/2016
1.0.65 1,566 12/7/2016
1.0.64 1,540 12/7/2016
1.0.63 1,621 12/6/2016
1.0.62 1,572 12/6/2016
1.0.61 1,612 12/6/2016
1.0.60 1,575 12/6/2016
1.0.59 1,618 12/2/2016
1.0.58 1,627 12/2/2016
1.0.57 1,876 11/2/2016
1.0.56 1,854 11/2/2016
1.0.55 1,908 11/2/2016
1.0.54 1,783 11/2/2016
1.0.53 1,832 11/1/2016
1.0.52 1,613 10/31/2016
1.0.51 1,616 10/31/2016
1.0.49 1,613 10/31/2016
1.0.45 1,595 10/30/2016
1.0.43 1,579 10/26/2016
1.0.41 1,649 10/26/2016
1.0.38 1,567 10/25/2016
1.0.36 1,612 8/29/2016
1.0.34 1,578 8/25/2016
1.0.32 1,988 3/22/2016
1.0.30 1,522 3/7/2016
1.0.28 1,598 3/7/2016
1.0.25 1,804 2/29/2016
1.0.23 1,775 2/29/2016
1.0.20 1,626 2/29/2016
1.0.18 1,999 2/26/2016
1.0.16 2,079 2/26/2016
1.0.14 1,716 2/22/2016
1.0.12 1,660 2/22/2016
1.0.11 1,755 2/22/2016
1.0.1 2,056 2/22/2016
1.0.0 1,999 2/22/2016