Acumatica.RESTClient.CustomizationApi 6.0.2-preview

This is a prerelease version of Acumatica.RESTClient.CustomizationApi.
dotnet add package Acumatica.RESTClient.CustomizationApi --version 6.0.2-preview
                    
NuGet\Install-Package Acumatica.RESTClient.CustomizationApi -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.CustomizationApi" 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.CustomizationApi" Version="6.0.2-preview" />
                    
Directory.Packages.props
<PackageReference Include="Acumatica.RESTClient.CustomizationApi" />
                    
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.CustomizationApi --version 6.0.2-preview
                    
#r "nuget: Acumatica.RESTClient.CustomizationApi, 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.CustomizationApi@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.CustomizationApi&version=6.0.2-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Acumatica.RESTClient.CustomizationApi&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

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
6.0.2-preview 67 11/25/2026
5.9.0 74 11/25/2026
5.1.0-beta 313 1/26/2024
4.1.0 544 6/9/2023
3.5.0 3,500 2/21/2023
3.3.5 437 2/20/2023
3.2.0 482 2/15/2023
3.0.0-alpha 333 2/9/2023

6.0.2-preview

The package covers the whole Customization API: Import, GetProject, DeleteProject, PublishBegin, PublishEnd, GetPublished and UnpublishAll, each with an async version, plus WaitPublishingCompletion to wait until publishing is finished. Publishing supports the current tenant, all tenants or a list of tenants (TenantMode and tenantLoginNames). Failed calls throw ApiException with the server's explanation, and a failed publishing throws CustomizationPublishException with the log.

BREAKING CHANGES compared to 6.0.1-preview:
- The extension class is now CustomizationApiExtensions (it had the same name as its namespace).
- CustomizationPublishEnd and CustomizationPublishEndAsync are renamed to PublishEnd and PublishEndAsync.
- CustomizationPublishEnd.isFailed is renamed to IsFailed.
- Import and PublishBegin now return CustomizationResult, which holds the log of the operation (Log, HasErrors). They used to return a single log record, which did not match the server response and came back empty.
- PublishBegin and PublishBeginAsync take IEnumerable of project names instead of List.

FIXES:
- PublishEnd sends a request body. Without it, current servers answered 415 Unsupported Media Type, which also broke WaitPublishingCompletion.
- WaitPublishingCompletion reports a failed publishing even if the server also marks it as completed, and has a timeout. WaitPublishingCompletionAsync supports cancellation.
- Failed calls now throw ApiException that contains the status code and the response body.
- Some failures, such as a project that is not found, are answered by the server with a successful status and an error record in the log. Check CustomizationResult.HasErrors.
- The models follow the 6.0 serialization conventions (no DataContract attributes).
- Built against Acumatica.RESTClient 6.0.2-preview.