Acumatica.RESTClient
5.9.0
See the version list below for details.
dotnet add package Acumatica.RESTClient --version 5.9.0
NuGet\Install-Package Acumatica.RESTClient -Version 5.9.0
<PackageReference Include="Acumatica.RESTClient" Version="5.9.0" />
<PackageVersion Include="Acumatica.RESTClient" Version="5.9.0" />
<PackageReference Include="Acumatica.RESTClient" />
paket add Acumatica.RESTClient --version 5.9.0
#r "nuget: Acumatica.RESTClient, 5.9.0"
#:package Acumatica.RESTClient@5.9.0
#addin nuget:?package=Acumatica.RESTClient&version=5.9.0
#tool nuget:?package=Acumatica.RESTClient&version=5.9.0
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:
- 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.
- Example Console Application - the solution contains examples of API calls to Acumatica ERP.
- 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:
- https://www.nuget.org/packages/Acumatica.RESTClient/
- https://www.nuget.org/packages/Acumatica.RESTClient.ContractBasedApi/
- https://www.nuget.org/packages/Acumatica.RESTClient.ODataApi/
- https://www.nuget.org/packages/Acumatica.RESTClient.CustomizationApi/
- https://www.nuget.org/packages/Acumatica.Default_22.200.001/
- https://www.nuget.org/packages/Acumatica.Default_23.200.001/
- https://www.nuget.org/packages/Acumatica.Default_24.200.001/
- https://www.nuget.org/packages/Acumatica.Manufacturing_23.100.001/
- https://www.nuget.org/packages/Acumatica.Manufacturing_23.200.001/
- https://www.nuget.org/packages/Acumatica.Manufacturing_24.200.001/
| Product | Versions 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. |
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.1)
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 |
5.9.0
OAuth 2.0 authorization code flow was reworked. Existing code keeps working:
- The 5.7.x and 5.8.x overloads of Authorize and AuthorizeAsync are kept, marked obsolete, and behave as before (including usePost and the fragment response mode of the 5.8.x signatures). The existing ReceiveAccessTokenAuthCode and ReceiveAccessTokenAuthCodeAsync calls keep working unchanged.
- New code should use the new overloads: Authorize and AuthorizeAsync no longer need clientSecret (it was never used by the authorize request), and usePost is replaced by responseMode (Query, Fragment or FormPost; the default is Query).
ONE CHANGE THAT NEEDS A REBUILD:
- ResponseType values changed (IdToken = 1, Token = 2; they were 0 and 1). Previously IdToken = 0 meant that id_token was always requested when any response type was passed, and 'code token' could not be requested. Code that uses ResponseType by name only needs to be recompiled. Compiled code that is not rebuilt would send the wrong response type.
- With the new overloads ResponseType.Token now requests 'code token'. The old overloads still send 'code id_token token' for it, as before.
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 now 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.