Acumatica.RESTClient 6.0.2-preview

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

Logo Acumatica REST API Client for C#

The solution allows to easily start developing REST API based integration with Acumatica ERP.

The repository contains the following solutions:

  1. Acumatica REST API Client - the solution contains Acumatica REST API client based on RESTSharp. The solution also contains base classes required for endpoint definitions and the endpoint definitions.
  2. Example Console Application - the solution contains examples of API calls to Acumatica ERP.
  3. EndpointModelGenerator - the solution allows to generate C# projects and classes for the REST API client based on OpenAPI 2.0/3.0 endpoint schemas.

The Acumatica REST Client and some endpoints are also available as Nuget packages:

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  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. 
.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 was computed.  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 (16)

Showing the top 5 NuGet packages that depend on Acumatica.RESTClient:

Package Downloads
Acumatica.RESTClient.ContractBasedApi

A simple client allowing to use Acumatica Contract Based REST API from C#.

Acumatica.RESTClient.ODataApi

An extension for Acumatica REST API client for C# allowing interaction with OData API

Acumatica.Default_20.200.001

C# classes generated based on Acumatica Default endpoint version 20.200.001

Acumatica.Default_24.200.001

C# classes generated based on Acumatica Default endpoint version 24.200.001

Acumatica.Default_23.200.001

C# classes generated based on Acumatica Default endpoint version 23.200.001

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.2-preview 116 11/25/2026
6.0.0-preview 313 2/20/2026
5.9.0 131 11/25/2026
5.8.1 4,181 9/22/2026
5.8.0 9,827 4/10/2026
5.7.0 23,310 11/4/2025
5.7.0-preview 259 11/4/2025
5.6.2 1,220 9/10/2025
5.6.2-beta 310 9/5/2025
5.6.1-beta 304 8/26/2025
5.6.0-beta 219 8/23/2025
5.5.1-test 364 6/19/2025
5.5.0 473 8/19/2025
5.5.0-test 240 6/18/2025
5.4.0 14,991 11/4/2024
5.3.0 10,099 10/8/2024
5.2.1-beta 257 10/2/2024
5.2.0-beta 453 9/20/2024
5.1.2-beta 14,743 3/8/2024
5.1.1-beta 183 3/6/2024
Loading failed

6.0.2-preview

BREAKING CHANGES compared to 6.0.1-preview (OAuth 2.0 authorization code flow):
- Authorize and AuthorizeAsync no longer take clientSecret or usePost. Use responseMode (Query, Fragment or FormPost; the default is Query) instead of usePost. The optional parameters are in the order responseType, responseMode, codeChallenge, nonce, state.
- ResponseType values changed (IdToken = 1, Token = 2). IdToken and Token can now be requested independently, so 'code token' is possible.
- The auth/login endpoint support is removed: Login and LoginAsync no longer exist. Use the OAuth 2.0 methods, or the Acumatica.RESTClient.NonProductionLogin package for non-production sites.

NEW:
- PKCE support: pass codeChallenge to Authorize and codeVerifier when receiving the token.
- Nonce support: pass nonce to Authorize and expectedNonce when receiving the token; it is verified against the ID token.
- State support: pass state to Authorize and expectedState when receiving the token; a mismatch is rejected.
- ReceiveAccessTokenAuthCode and ReceiveAccessTokenAuthCodeAsync can take the callback Uri. The authorization code is extracted from it and errors returned by Acumatica are reported.
- Added the ResponseMode enum and the Token.Id_token property.
- VersionAndEndpoints.Features lists the features enabled on the instance (returned by the root endpoint starting with 26R2).
- XML documentation for the OAuth methods and the Token class. Overloads with the same description now inherit it (inheritdoc).