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.
Contact me on [email protected] with details about your project and let's see if we're a good fit.
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.
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));
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