AlertusClient 1.0.0
dotnet add package AlertusClient --version 1.0.0
NuGet\Install-Package AlertusClient -Version 1.0.0
<PackageReference Include="AlertusClient" Version="1.0.0" />
paket add AlertusClient --version 1.0.0
#r "nuget: AlertusClient, 1.0.0"
// Install AlertusClient as a Cake Addin #addin nuget:?package=AlertusClient&version=1.0.0 // Install AlertusClient as a Cake Tool #tool nuget:?package=AlertusClient&version=1.0.0
Alertus Client
Web API client for Alertus in .NET 8
Introduction
Alertus Technologies offers an emergency management platform with panic buttons, desktop agents, beacons, alarms, and loudspeakers integrated into their system.
This client implements a limited number of services from the Alertus web API, including management of contacts, groups, contact group memberships, locations, contact methods, and system errors.
It has been tested against Alertus API version 3.19.240416.
Usage
To create a new instance of the AlertusClient
class and call the web service, you need the base URI of your Alertus instance and a username and password
with the appropriate permission to call the API.
Then you can create the client:
var alertusClient = new AlertusClient("https://alertus.example.com/alertusmw/services/rest", "username", "password");
To create a new contact record in Alertus:
var newContact = new AlertusContact()
{
FirstName = "Jane",
LastName = "Doe",
JobTitle = "Emergency Coordinator",
CountryId = "US",
LanguageId = "en-US",
Id = "a4bfeb42"
};
await alertusClient.Contacts.CreateOrUpdate(newContact);
To create a new group and add the newly created contact to the group:
var newGroup = new AlertusGroup()
{
Name = "TestGroup",
Description = "Group for testing"
};
newGroup = await alertusClient.Groups.Create(newGroup);
if (newGroup.Id.HasValue)
await alertusClient.ContactsGroups.Add(newGroup.Id.Value, newContact.Id)
To list the current Alertus system errors:
var currentErrors = await alertusClient.SystemErrors.List();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- EnhancedWebRequest (>= 1.1.4)
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 | 36 | 2/18/2025 |