MeridixStudioWebAPI 1.0.0-beta
dotnet add package MeridixStudioWebAPI --version 1.0.0-beta
NuGet\Install-Package MeridixStudioWebAPI -Version 1.0.0-beta
<PackageReference Include="MeridixStudioWebAPI" Version="1.0.0-beta" />
<PackageVersion Include="MeridixStudioWebAPI" Version="1.0.0-beta" />
<PackageReference Include="MeridixStudioWebAPI" />
paket add MeridixStudioWebAPI --version 1.0.0-beta
#r "nuget: MeridixStudioWebAPI, 1.0.0-beta"
#:package MeridixStudioWebAPI@1.0.0-beta
#addin nuget:?package=MeridixStudioWebAPI&version=1.0.0-beta&prerelease
#tool nuget:?package=MeridixStudioWebAPI&version=1.0.0-beta&prerelease
Meridix Studio WebApi Client
A .NET Standard 2.0 client library for interacting with the Dstny Analytics Platform (formerly Meridix Studio) HTTP API.
Features
- ✅ Token-based Authentication – Secure request signing using API tokens and secrets
- ✅ Multiple API Endpoints – Report generation, customer/reseller management, user administration, and more
- ✅ Report API v1.1 – Generate reports synchronously or asynchronously with flexible parameters
- ✅ Cross-platform – Targets .NET Standard 2.0 (compatible with .NET Framework 4.6.1+, .NET Core 2.0+, .NET 5+)
- ✅ Proxy Support – Configure custom web proxies for restricted environments
- ✅ HTTP Method Override – Bypass verb restrictions (PUT/DELETE) using
X-HTTP-Method-Override
Installation
NuGet Package Manager
Install-Package MeridixStudioWebAPI
.NET CLI
dotnet add package MeridixStudioWebAPI
Getting Started
1. Create a Client Instance
Authenticate using your API token and secret (obtained from Dstny Analytics Platform):
using Meridix.Studio.Api;
var url = "https://your-instance.dstny.com";
var token = "your-api-token";
var secret = "your-api-secret";
var client = MeridixStudioClient.Create(url, token, secret);
// Validate API connectivity (optional)
client.ValidateApiAccess();
2. Generate a Report
using System.Globalization;
using Meridix.Studio.Api.DataTransferObjects.Reports.Version11;
var reportApi = client.ReportApiV11();
var parameters = new ReportV11ParametersDto
{
CustomerId = 4,
ModuleName = "BcsCdrV2",
ReportName = "BcsUserId",
FromDate = "2025-11-01",
ToDate = "2025-11-30",
FromMinute = 420,
ToMinute = 1440,
IntervalMinutes = 30,
CollectionPointIdentifier = "7",
MeasurementObjectType = "TelepoBcsUserId",
MeasurementObjectIdentifiers = new List<string> { "user123" },
IncludeGroupings = new List<string> { "Period" },
ResultGrouping = "Total",
IgnoreNonExistingMeasurementObjectIdentifiers = true,
IncludeSpecificationLists = true
};
var result = reportApi.Generate(parameters, new CultureInfo("sv-SE"));
// Access report data
var periodData = result.Presentations.Groupings["period"];
foreach (var item in periodData.Items)
{
Console.WriteLine(item.ToString());
}
3. List Measurement Objects
var reportApi = client.ReportApiV11();
var measurementObjects = reportApi.GetAvailableMeasurementObjects();
foreach (var mo in measurementObjects)
{
Console.WriteLine($"{mo.ObjectIdentifier} | {mo.Description} | {mo.Type}");
}
4. Manage Collection Points
var unitsApi = client.UnitsApi(customerId: 4);
var collectionPoints = unitsApi.ListCollectionPoints();
foreach (var cp in collectionPoints)
{
Console.WriteLine($"{cp.Id} | {cp.Name} | {cp.PointIdentifier}");
}
5. Asynchronous Report Generation
For long-running reports, use async generation with polling:
var handle = reportApi.BeginGenerate(parameters, new CultureInfo("en-US"));
while (!handle.IsCompleted && handle.Error == null)
{
await Task.Delay(2000); // Poll every 2 seconds
reportApi.UpdateHandle(ref handle);
}
if (handle.IsCompleted && handle.Error == null)
{
var result = handle.Result;
// Process result
}
else
{
Console.WriteLine($"Error: {handle.Error}");
}
API Components
| API Class | Description |
|---|---|
ReportApiV11 |
Generate and manage reports (v1.1) |
ReportApiV10 |
Legacy report API (v1.0) |
CustomerApi |
Customer organization management |
ResellerApi |
Reseller account operations |
UserApi |
User/login management |
UnitsApi |
Collection points, measurement objects, groups |
StatusApi |
API health checks and ticket validation |
AdministrationApi |
Administrative operations |
SynchronizationApi |
Data synchronization operations |
SavedReportApi |
Scheduled/saved report management |
Configuration
Set Default Culture
client.DefaultCulture = new CultureInfo("en-US");
Enable HTTP Method Override (default: enabled)
client.UseHttpMethodOverride = true; // Converts PUT/DELETE to POST with header
Configure Proxy
client.Proxy = new WebProxy("http://proxy.company.com:8080")
{
Credentials = new NetworkCredential("username", "password")
};
Enable Debug Logging
client.OnOutput += (sender, args) =>
{
Console.WriteLine($"[API] {args.Message}");
};
Common Use Cases
Get Available Modules and Reports
var reportApi = client.ReportApiV11();
var modules = reportApi.GetAvailableModules(new CultureInfo("en-US"));
foreach (var module in modules)
{
Console.WriteLine($"{module.Key}: {module.Value}");
var reports = reportApi.GetAvailableReports(module.Key);
foreach (var report in reports)
{
Console.WriteLine($" - {report.Key}: {report.Value}");
}
}
Single Sign-On (SSO) URL Generation
var ssoUrl = client.CreateSingleSignOnUrl("username@domain.com");
// Redirect user to ssoUrl for automatic login
Get Ticket Information
var customerId = client.GetTicketCustomerId();
var customerName = client.GetTicketCustomerName();
var userId = client.GetTicketUserId();
var username = client.GetTicketUsername();
Update Customer Privacy Settings
var customerApi = client.CustomerApi();
var customer = customerApi.Get(customerId);
customer.PrivacyPolicyDelete.Enabled = true;
customer.PrivacyPolicyDelete.Value = 90;
customer.PrivacyPolicyDelete.Unit = "Days";
customer.PrivacyPolicyMask.Enabled = true;
customer.PrivacyPolicyMask.Value = 6;
customer.PrivacyPolicyMask.Unit = "Months";
customerApi.Update(customer);
Requirements
- .NET Standard 2.0 or higher
- Newtonsoft.Json 13.0.4+
- System.ComponentModel.Annotations
Compatible Runtimes
- .NET Framework 4.6.1+
- .NET Core 2.0+
- .NET 5, 6, 7, 8+
- Xamarin
- Unity
Support
For issues, questions, or API documentation:
- Dstny Analytics Support: Contact your account representative
- API Documentation: Available in your Dstny Analytics Platform instance
License
This project is licensed under the MIT License.
MIT License
Copyright (c) 2023 Dstny Analytics
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Release Notes
Version 1.0.0 (Current)
- ✨ Migrated to .NET Standard 2.0 for cross-platform compatibility
- 📦 Consolidated packaging metadata into project file
- 📚 Improved XML documentation generation
- 🔒 Added deterministic builds and symbol packages (.snupkg)
- 🧹 Removed legacy AssemblyInfo.cs in favor of SDK-style properties
Version 0.4.88
- Previous stable release for .NET Framework
Acknowledgments
Originally developed as Meridix Studio, now part of Dstny Analytics suite.
Maintained by Dstny Analytics
Copyright © 2013-2025 Dstny Analytics
| 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
- Microsoft.AspNetCore.SystemWebAdapters (>= 2.1.0)
- Newtonsoft.Json (>= 13.0.4)
- System.ComponentModel.Annotations (>= 5.0.0)
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 |
|---|---|---|
| 1.0.0-beta | 40 | 2/3/2026 |
| 0.4.91-beta | 475 | 11/22/2023 |
| 0.4.88 | 1,312 | 9/19/2023 |
| 0.4.86 | 276 | 8/4/2023 |
| 0.4.85 | 343 | 6/13/2023 |
| 0.4.83 | 568 | 11/21/2022 |
| 0.4.79 | 871 | 9/23/2021 |
| 0.4.78 | 641 | 5/27/2021 |
| 0.4.77 | 542 | 5/26/2021 |
| 0.4.76 | 1,407 | 5/6/2020 |
| 0.4.73 | 1,203 | 3/7/2019 |
| 0.4.72 | 1,012 | 11/2/2018 |
| 0.3.69 | 979 | 11/2/2018 |
| 0.3.67 | 1,635 | 3/28/2018 |
| 0.3.66 | 1,297 | 2/19/2018 |
| 0.3.65 | 1,358 | 10/27/2017 |
| 0.3.64 | 1,317 | 9/22/2017 |
| 0.3.59 | 1,417 | 6/14/2017 |
| 0.3.58 | 1,398 | 2/23/2017 |
| 0.3.57 | 1,343 | 1/31/2017 |
| 0.3.56 | 1,397 | 1/31/2017 |
| 0.3.55 | 1,387 | 1/19/2017 |
| 0.3.54 | 1,381 | 1/18/2017 |
| 0.3.53 | 1,403 | 10/19/2016 |
| 0.3.52 | 1,549 | 9/22/2016 |
| 0.3.49 | 1,479 | 4/1/2016 |
| 0.3.48 | 1,411 | 3/31/2016 |
| 0.3.47 | 1,440 | 3/28/2016 |
| 0.3.46 | 1,456 | 3/1/2016 |
| 0.3.45 | 1,514 | 2/10/2016 |
| 0.3.44 | 1,476 | 2/10/2016 |
| 0.3.43 | 1,466 | 1/26/2016 |
| 0.3.42 | 1,409 | 1/21/2016 |
| 0.3.40 | 1,536 | 7/15/2015 |
| 0.3.39 | 1,758 | 7/15/2015 |
| 0.3.38 | 1,570 | 1/14/2015 |
| 0.3.37 | 1,620 | 12/2/2014 |
| 0.3.36 | 1,606 | 5/26/2014 |
| 0.3.35 | 1,710 | 4/23/2014 |
| 0.3.32 | 1,684 | 4/23/2014 |
| 0.3.29 | 1,555 | 4/23/2014 |
| 0.3.28 | 1,738 | 4/10/2014 |
| 0.3.27 | 1,590 | 3/19/2014 |
| 0.3.26 | 1,599 | 3/19/2014 |
| 0.3.25 | 1,587 | 3/19/2014 |
| 0.3.24 | 1,562 | 3/19/2014 |
| 0.3.22 | 1,627 | 11/11/2013 |
| 0.3.21 | 1,586 | 11/11/2013 |
| 0.3.17-beta | 1,370 | 11/6/2013 |
| 0.3.13 | 1,566 | 10/18/2013 |
| 0.3.12 | 1,566 | 10/10/2013 |
| 0.3.11 | 1,629 | 10/9/2013 |
| 0.3.10 | 1,602 | 10/7/2013 |
| 0.3.9 | 1,567 | 10/7/2013 |
| 0.3.7 | 1,551 | 10/6/2013 |
| 0.3.6 | 1,584 | 10/6/2013 |
| 0.3.5 | 1,651 | 8/27/2013 |
| 0.3.4 | 1,601 | 8/27/2013 |
| 0.3.3 | 1,876 | 7/24/2013 |
| 0.3.2 | 1,825 | 7/11/2013 |
| 0.3.1 | 1,748 | 5/17/2013 |
| 0.3.0 | 1,649 | 5/17/2013 |
| 0.2.8 | 1,696 | 3/13/2013 |
| 0.2.7 | 1,640 | 3/5/2013 |
| 0.2.6 | 1,651 | 3/5/2013 |
| 0.2.5 | 1,653 | 2/12/2013 |
| 0.2.4 | 1,671 | 2/8/2013 |
| 0.2.3 | 1,666 | 2/8/2013 |
| 0.2.2 | 1,708 | 2/5/2013 |
| 0.2.1 | 1,651 | 2/5/2013 |
| 0.1.4 | 1,626 | 2/4/2013 |
| 0.1.3 | 1,642 | 2/4/2013 |
| 0.1.2 | 1,713 | 2/4/2013 |
| 0.1.1 | 1,639 | 2/3/2013 |