VoliMaconomyClient 1.1.17

dotnet add package VoliMaconomyClient --version 1.1.17
                    
NuGet\Install-Package VoliMaconomyClient -Version 1.1.17
                    
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="VoliMaconomyClient" Version="1.1.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VoliMaconomyClient" Version="1.1.17" />
                    
Directory.Packages.props
<PackageReference Include="VoliMaconomyClient" />
                    
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 VoliMaconomyClient --version 1.1.17
                    
#r "nuget: VoliMaconomyClient, 1.1.17"
                    
#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 VoliMaconomyClient@1.1.17
                    
#: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=VoliMaconomyClient&version=1.1.17
                    
Install as a Cake Addin
#tool nuget:?package=VoliMaconomyClient&version=1.1.17
                    
Install as a Cake Tool

VoliNuget

A .NET client library for interacting with the Deltek Maconomy API. It wraps authentication, reconnect or cookie token handling, payload creation, and common container operations so other C# applications can talk to Maconomy with less boilerplate.

NuGet package: https://www.nuget.org/packages/VoliMaconomyClient

Features

  • Automatic authentication and token reuse
  • Helpers for building Maconomy payloads from POCO classes
  • Filter, Card, CardAction, CardPrint, CardTable, and Table operations
  • Automatic handling of Maconomy container API v1 vs v2 during authentication
  • CLI tooling for generating strongly typed C# models from container metadata
  • NuGet package targeting .NET 8

Installation

Install the package into your project:

dotnet add package VoliMaconomyClient

Then import the runtime namespace:

using VoldeligClient;

Configuration

The default configuration contract is:

{
  "VoldeligClient": {
    "connection": {
      "baseurl": "https://maconomy.example.com",
      "username": "apiuser",
      "password": "apipass",
      "shortname": "MCO"
    }
  }
}

new Voldelig(IConfiguration) expects exactly those keys.

Usage

Basic filter query

using Microsoft.Extensions.Configuration;
using VoldeligClient;

var configuration = new ConfigurationBuilder()
    .AddJsonFile("appsettings.json")
    .Build();

var client = new Voldelig(configuration);
var result = await client.Filter<Jobs>(null, limit: 100);

List<Jobs> jobs = result.Match(
    list => list,
    error =>
    {
        Console.WriteLine($"Request failed: {error.MaconomyErrorMessage}");
        return new List<Jobs>();
    });

Main operations

The main entry point is Voldelig, with extension methods for:

  • Filter<T>() and FilterAll<T>() for list and search queries
  • Card<T>() for create, get, update, and delete of a single entity
  • CardAction<T>() for workflow actions such as post or approve
  • CardPrint<T>() for actions that return downloadable files
  • CardTable<TCard, TRow>() for fetching a card plus its related table rows
  • Table<TCard, TRow>() for create, get, update, and delete on table rows

Results are returned as Either<TSuccess, VoldeligHttpResponseMessage>:

  • IsLeft means success
  • IsRight means error
  • MaconomyErrorMessage contains the error details

Model Generation

This repository also contains VoldeligCLI, which generates strongly typed models from Maconomy container metadata.

Examples:

dotnet run --project VoldeligCLI -- fields --container jobs --object-type filter --json
dotnet run --project VoldeligCLI -- generate --container jobs --object-type filter --dry-run

Generated classes are intended to be used as the generic type arguments passed into the client methods.

Repository Structure

  • VoldeligClient/: the NuGet library consumed by other projects
  • VoldeligCLI/: CLI for model generation
  • VoldeligTest/: integration tests and usage examples
  • voliext/: VS Code extension for the CLI
  • Tools/PublishNuget/: NuGet publishing helper

AI and Tooling Notes

If other projects use Codex or similar tools, point them to AGENTS.md in this repository. It defines the canonical package name, namespace, configuration contract, entry points, and source files to read first.

Deploying to NuGet

The repository includes a helper tool that bumps the package version, validates the build, packs, and pushes to NuGet.

  1. Make sure .env in the repo root contains NUGET_API_KEY=<your-api-key> and optionally NUGET_SOURCE=<custom-feed-url>.
  2. Run:
dotnet run --project Tools/PublishNuget -- 1.0.17
  1. The tool restores the previous version automatically if any step fails.

License

Distributed under the MIT License. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET 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.  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.1.17 248 4/23/2026
1.1.16 108 4/21/2026
1.1.15 105 4/17/2026
1.1.14 90 4/17/2026
1.1.13 129 3/6/2026
1.1.12 99 3/4/2026
1.1.11 100 3/3/2026
1.1.10 322 2/16/2026
1.1.9 150 2/3/2026
1.1.8 110 1/30/2026
1.1.7 115 1/30/2026
1.1.6 116 1/29/2026
1.1.5 109 1/28/2026
1.1.4 112 1/28/2026
1.1.3 111 1/23/2026
1.1.2 115 1/22/2026
1.1.1 238 12/29/2025
1.0.30 317 12/16/2025
1.0.29 435 12/11/2025
1.0.28 452 12/9/2025
Loading failed