creatio.client
2.0.1
See the version list below for details.
dotnet add package creatio.client --version 2.0.1
NuGet\Install-Package creatio.client -Version 2.0.1
<PackageReference Include="creatio.client" Version="2.0.1" />
<PackageVersion Include="creatio.client" Version="2.0.1" />
<PackageReference Include="creatio.client" />
paket add creatio.client --version 2.0.1
#r "nuget: creatio.client, 2.0.1"
#:package creatio.client@2.0.1
#addin nuget:?package=creatio.client&version=2.0.1
#tool nuget:?package=creatio.client&version=2.0.1
Introduction
Creatio Client is a user-friendly connector for Creatio, implemented using .NET Standard 2.0 It provides convenient methods for calling various Creatio services and subscribing to WebSocket messages.
Installation
Use NuGet to install Creatio Client
dotnet add package creatio.client
Initialization
You can initialize CreatioClient in three(3) different ways
Use Cookie-based authentication
var client = new CreatioClient(<AppUrl>, <UserName>, <UserPassword>);Password login sends the current local time zone offset in the same format as the Creatio browser. To preserve a caller-selected offset, pass it to the constructor:
var client = new CreatioClient(<AppUrl>, <UserName>, <UserPassword>, timeZoneOffset: -120);You can also set
client.TimeZoneOffsetexplicitly before the first request or login. The value is UTC minus local time in minutes, matching JavaScriptDate.getTimezoneOffset().Use OAuth 2.0
var client = new CreatioClient(<AppUrl>, <ClientId>, <ClientSecret>, <UserName>, <UserPassword>);TimeZoneOffsetis a password-login field and is not sent during OAuth client-credentials authentication.-
string appUrl = "https://someName. creatio. com"; CreatioClient client = new(appUrl, true, CredentialCache. DefaultNetworkCredentials);
Usage
To call creatio configuration service from your application, use this example:
var client = new CreatioClient(<AppUrl>, <UserName>, <UserPassword>);
string request = client.CallConfigurationService(<ServiceName>, <MethodName>, <RequestData>);
To execute GET request:
string data = client.ExecuteGetRequest(<Url>);
To execute POST request:
string data = client.ExecutePostRequest(<Url>, <RequestData>);
To execute PATCH request (OData v4 partial update of a single record):
string data = client.ExecutePatchRequest(<Url>, <RequestData>);
To execute a PUT request:
string data = client.ExecutePutRequest(<Url>, <RequestData>);
For cancellation-aware access to the complete HTTP response, use the async counterparts:
using var client = new CreatioClient(<AppUrl>, <UserName>, <UserPassword>);
using HttpResponseMessage response = await client.ExecuteGetRequestAsync(
<Url>, cancellationToken: cancellationToken);
HttpStatusCode status = response.StatusCode;
HttpResponseHeaders headers = response.Headers;
string content = await response.Content.ReadAsStringAsync();
CreatioClient implements the additive IAsyncCreatioClient interface. The original
ICreatioClient interface is unchanged so existing third-party implementations remain binary compatible.
The caller owns every HttpResponseMessage returned by an async operation and must dispose it.
CreatioClient owns its shared HttpClient and should also be disposed when it is no longer needed.
The existing synchronous methods remain available and retain their string, file, and exception behavior.
Cookie-authenticated requests automatically renew an expired Creatio session once and replay the request;
if the replay is still unauthorized, its response is returned without another login attempt.
For synchronous protocol errors, WebException.Response remains castable to HttpWebResponse and
preserves the status, description, headers, request URI, method, and buffered error body used by known
consumers. It is a bounded compatibility view; use the async API when other response metadata is required.
Authenticated request URLs must use the configured Creatio origin or a same-host HTTP-to-HTTPS upgrade;
the client rejects unrelated cross-origin requests rather than forwarding bearer, cookie, CSRF, or Windows credentials.
The CI coverage gate enforces 100% line and branch coverage for the authentication handler pipeline.
DTO property bags, WebSocket listeners, the compatibility-only HttpWebRequest extension surface, and
the synchronous facade are excluded from that narrowly defined unit scope; they are covered by API,
characterization, and live E2E gates instead of being counted toward an artificial package-wide percentage.
Subscribe to WebSocket messages:
const string logFile = "ws.json";
CreatioClient client = new(app, username, password, true, true);
client.ConnectionStateChanged += (sender, state) => {
Console.WriteLine($"Connection state changed to: {state}");
};
JsonSerializerOptions opts = new() {
WriteIndented = true,
};
client.MessageReceived += (sender, message) => {
var msgObject = new {
Header = message.Header,
Id = message.Id,
Body = JsonSerializer.Deserialize(message.Body, typeof(object), opts)
};
System.IO.File.AppendAllText(logFile,JsonSerializer.Serialize(msgObject, opts), Encoding.UTF8);
};
client.StartListening(CancellationToken.None);
Console.ReadLine();
nuget.org
| 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.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on creatio.client:
| Package | Downloads |
|---|---|
|
ATF.Repository
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.2 | 4,977 | 8/31/2026 |
| 2.0.1 | 491 | 8/31/2026 |
| 2.0.0 | 136 | 8/30/2026 |
| 1.0.40 | 366 | 8/30/2026 |
| 1.0.39 | 108 | 8/29/2026 |
| 1.0.38 | 3,796 | 6/17/2026 |
| 1.0.37 | 594 | 6/3/2026 |
| 1.0.36 | 313 | 5/28/2026 |
| 1.0.35 | 9,382 | 5/21/2026 |
| 1.0.34 | 538 | 4/30/2026 |
| 1.0.33 | 1,273 | 12/11/2025 |
| 1.0.32 | 206 | 12/11/2025 |
| 1.0.31 | 541 | 11/19/2025 |
| 1.0.30 | 617 | 9/5/2025 |
| 1.0.29 | 316 | 8/19/2025 |
| 1.0.28 | 11,810 | 4/10/2025 |
| 1.0.27 | 340 | 4/10/2025 |
| 1.0.26 | 321 | 4/10/2025 |
| 1.0.25 | 599 | 3/24/2025 |
| 1.0.24 | 2,206 | 6/3/2024 |