Skip to main content

Domain Events API 1.0.0 documentation

AsyncAPI documentation for domain change events. This API describes the structure of events when domain entities are created, updated, or deleted. Supported entity types:
  • Asset: Vehicles and equipment
  • User/Driver: People and drivers
  • HierarchyNode: Organization hierarchy groups
  • Customer: Customer accounts
The message format uses compact JSON with abbreviated field names for bandwidth efficiency. The fc, cv, and pv fields contain embedded JSON strings that must be parsed separately.

Table of Contents

Servers

kafka Server

  • URL: kafka://{brokerHost}:{brokerPort}/
  • Protocol: kafka-secure

URL Variables

Security

Security Requirement 1
  • security.protocol: SASL_SSL
  • sasl.mechanism: OAUTHBEARER

Operations

RECEIVE mn_domain_events Operation

Receive a domain event
  • Operation ID: receiveDomainEvent
Channel for domain change events. Events for all entity types (Asset, User/Driver, HierarchyNode, Customer) are published to this channel. Receives domain events when an entity is created, updated, deleted, or refreshed. The ety (entityType) field determines which entity type the event relates to:
  • Asset: Vehicle/equipment changes
  • User/Driver: Person/driver changes
  • HierarchyNode: Organization hierarchy changes
  • Customer: Customer account changes

Message Domain Event DomainEvent

A domain change event for any supported entity type
Payload
Examples of payload (generated)

Download AsyncAPI Specification

Domain Events AsyncAPI Specification