Lyo.Endato.Client 2.0.1

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

Lyo.Endato.Client

Typed HTTP client for the Endato data-enrichment REST API.

Archetype C (vendor client). Canonical people rows live in Lyo.People.Postgres (Archetype A); optional vendor cache in Lyo.Endato.Postgres (Archetype D). The host maps Endato DTOs → Person + person_source (EntitySourceRecord.From with EndatoPsPerson / EndatoCePerson on source_entity_*). See package layout.

Subclasses Lyo.Api.Client.ApiClient so JSON serialization, Accept-Encoding, and optional request compression behave the same as any other Lyo HTTP client.

Examples

Wire into DI (Extensions.cs)

services.AddEndatoClientFromConfiguration(builder.Configuration);

// or:
services.AddEndatoClient(o => {
    o.BaseUrl = "https://api.endato.com";
    o.ApName = "your-ap-name";
    o.ApPassword = "your-ap-password";
});

Wire into DI (Extensions.cs) (2)

{
  "EndatoClient": {
    "BaseUrl": "https://api.endato.com",
    "ApName": "your-ap-name",
    "ApPassword": "your-ap-password"
  }
}

Manager surface

EndatoClient hangs the two galaxy-API endpoints off manager properties:

Property Manager HTTP call
Persons PersonManager.QueryPersonsAsync(query, ct) POST /PersonSearch with header galaxy-search-type: Person. Returns PersonQueryResponse.
Enrichment EnrichmentManager.QueryEnrichmentAsync(query, ct) POST /Contact/Enrich with header galaxy-search-type: DevAPIContactEnrich. Returns EnrichmentResponse.

Either manager takes a built query or a PersonQueryBuilder / EnrichmentQueryBuilder.

Auth is applied for you: every request gets galaxy-ap-name / galaxy-ap-password from options.

Types live under Models/Person (request + response, plus pagination) and Models/Enrichment.

Building requests

Person Search. See Person Search properties:

var query = PersonQueryBuilder.Create("Jane", "Doe", age: 42)
    .WithPhone("5125550100")
    .AddAddress("123 Main St", county: "Travis")
    .WithResultsPerPage(25)
    .Build();

var response = await client.Persons.QueryPersonsAsync(query, ct);
// or:
var response = await client.Persons.QueryPersonsAsync(
    PersonQueryBuilder.Create("Jane", "Doe", age: 42).WithPhone("5125550100"), ct);

Contact Enrichment. See Contact Enrichment properties. The API needs at least two of name, phone, email, or address; EnrichmentQueryBuilder.Build() enforces that:

var query = EnrichmentQueryBuilder.Create("John", "Smith")
    .WithPhone("5125550100")
    .WithAddress("123 Main St", "Austin, TX 78701")
    .Build();

var response = await client.Enrichment.QueryEnrichmentAsync(query, ct);

Number deserialization

EndatoClient uses LyoJsonSerializerOptions (AllowReadingFromString), so latitude/longitude land in decimal? whether the API sends JSON numbers or quoted strings.

Settings (EndatoClientOptions)

Binds from section EndatoClient (overrides the base ApiClient section). Picks up every ApiClientOptions flag and adds:

Property Description
ApName Endato AP name (sent as galaxy-ap-name). Required.
ApPassword Endato AP password (sent as galaxy-ap-password). Required.

BaseUrl is required (checked in the constructor); point it at https://api.endato.com (or another Endato environment).

Wire into DI (Extensions.cs)

Method Description
AddEndatoClientFromConfiguration(configuration, sectionName?) Reads EndatoClientOptions from configuration (default section "EndatoClient") and registers the client.
AddEndatoClient(Action<EndatoClientOptions> configure) Constructs options in place.
AddEndatoClient(EndatoClientOptions options) Takes a ready-made options object.

Every overload registers EndatoClient as a singleton and takes ILoggerFactory plus any registered HttpClient from DI.

Example appsettings.json:

Dependencies

Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).

  • Lyo.Common.Json (direct, lyo)
  • Lyo.Http.Client (direct, lyo)
  • Lyo.Metrics (direct, lyo)
  • Microsoft.Extensions.DependencyInjection.Abstractions 10.0.5 (direct, microsoft)
  • Microsoft.Extensions.Http 10.0.5 (direct, microsoft)
  • Microsoft.Extensions.Logging.Abstractions 10.0.5 (direct, microsoft)
  • Lyo.Common.Core (transitive, lyo)
  • Lyo.Common.Metadata (transitive, lyo)
  • Lyo.Exceptions (transitive, lyo)
  • Lyo.Result (transitive, lyo)
  • AngleSharp 1.5.0 (transitive, third-party)
  • Microsoft.Bcl.AsyncInterfaces 10.0.5 (transitive, microsoft, netstandard2.0)
  • Microsoft.Extensions.Configuration.Binder 10.0.5 (transitive, microsoft)
  • System.Memory 4.6.3 (transitive, microsoft, netstandard2.0)
  • System.Text.Json 10.0.5 (transitive, microsoft, netstandard2.0)
  • System.Threading.RateLimiting 10.0.5 (transitive, microsoft)
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 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on Lyo.Endato.Client:

Package Downloads
Lyo.Endato.Web.Components

Reusable Blazor components for Endato person search and contact enrichment workbench UI.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 95 9/14/2026
2.0.0 110 9/9/2026
1.0.13 122 8/25/2026
1.0.11 110 8/23/2026
1.0.9 127 8/22/2026
1.0.6 120 8/20/2026
1.0.4 138 8/20/2026
1.0.3 109 8/19/2026
1.0.2 117 8/19/2026
1.0.1 121 8/18/2026
1.0.0 126 8/16/2026