Synqony.Api.Model
1.5.0
dotnet add package Synqony.Api.Model --version 1.5.0
NuGet\Install-Package Synqony.Api.Model -Version 1.5.0
<PackageReference Include="Synqony.Api.Model" Version="1.5.0" />
<PackageVersion Include="Synqony.Api.Model" Version="1.5.0" />
<PackageReference Include="Synqony.Api.Model" />
paket add Synqony.Api.Model --version 1.5.0
#r "nuget: Synqony.Api.Model, 1.5.0"
#:package Synqony.Api.Model@1.5.0
#addin nuget:?package=Synqony.Api.Model&version=1.5.0
#tool nuget:?package=Synqony.Api.Model&version=1.5.0
Synqony.Api.Model
Cross-platform .NET library for structured mapping and exchange of business objects in the waste management industry. It defines versioned data models for orders, invoices, master data, and transactional data and serves as the Single Source of Truth for all teams and systems implementing the Synqony API.
This API can be used to send both master data (addresses, services, etc) as well as movement data (orders, invoices) which change frequently. The aim of this package is to provide a single unified interface covering all different angles of the processes involved in the waste management industry.
Table of Contents
Installation
dotnet add package Synqony.Api.Model
Supported Frameworks: netstandard2.0 (.NET 8+, .NET Framework 4.6.1+)
For a typed API client with authentication, serialization, and CRUD operations, see Synqony.Api.Sdk.
Architecture & Inheritance Hierarchy
All API objects follow a consistent inheritance hierarchy:
AuditableBase # CreatedAt, CreatedBy, ModifiedAt, ModifiedBy
└── ApiObjectBase # Id, ExternalId
├── ApiRootObjectBase # Label, Shorthand, Remarks
│ ├── ApiService
│ ├── ApiContainerType
│ └── ...
├── ApiOrder # Orders (without Label/Shorthand)
├── ApiInvoice # Invoices
├── ApiAddress # Addresses
└── ...
Common fields across all objects:
| Source | Fields |
|---|---|
AuditableBase |
CreatedAt, CreatedBy, ModifiedAt, ModifiedBy |
ApiObjectBase |
Id, ExternalId |
ApiRootObjectBase |
Label, Shorthand, Remarks |
Common Types
The library provides several shared types used across all API interactions:
Result<T>– Wrapper for all API responses. ContainsData(the payload) andMessages(status/error messages withEnumApiMessageTypecodes).ListInfo<T>– Paginated list response withItems,PageNo,PageSize,PageCount, andTotalItemCount.ListRequestInfo– Request model for paginated queries withFilters(array ofColumnFilter) andSort.ColumnFilter– Filter definition withColumnName,ColumnValue, andOperation(eq,ne,lt,gt). Supports dot notation for nested fields.LinkableEntity– Lightweight reference to another object viaForeignKey(ID),Value(display text), andResourceType(API endpoint name).OAuthTokenRequest/OAuthPasswordRequest– Request models for OAuth 2.0 authentication flows.
Data Model Overview
Master Data
| Model | Description |
|---|---|
ApiAddress |
Addresses (customers, suppliers, sites) |
ApiContactPerson |
Contact persons for addresses |
ApiContainer |
Containers / bins |
ApiContainerType |
Container types |
ApiService |
Services / service types |
ApiVehicle |
Vehicles |
ApiVehicleType |
Vehicle types |
ApiDriver |
Drivers |
ApiCity |
Cities / towns |
ApiCountry |
Countries |
ApiState |
States / federal states |
ApiRegion |
Regions |
ApiAdministrativeDistrict |
Administrative districts |
ApiStorageLocation |
Storage locations |
ApiLocation |
Locations / branches |
ApiPaymentTerms |
Payment terms |
ApiLedgerAccount |
Ledger accounts |
ApiCostCenter |
Cost centers |
ApiVAT |
VAT rates |
ApiCustomList |
Custom lists |
ApiCashRegister |
Cash registers |
ApiCostBearer |
Cost bearers |
ApiSepaMandate |
SEPA mandates |
Transactional Data
| Model | Description |
|---|---|
ApiOrder |
Orders with positions |
ApiOrderPosition |
Order positions (part of ApiOrder) |
ApiInvoice |
Invoices with positions |
ApiInvoicePosition |
Invoice positions (part of ApiInvoice) |
ApiContract |
Contracts with positions and sites |
ApiRequisition |
Requisitions |
ApiStorageTransaction |
Storage transactions |
ApiContainerInventory |
Container inventory |
ApiCashJournal |
Cash journal entries |
General / Common
| Model | Description |
|---|---|
ApiLog |
System logs |
ApiAttachmentInfo |
File attachments (metadata) |
ApiUserInformation |
User information |
ApiUser |
User management |
LockElement |
Locking mechanism for orders |
ApiFibuInformation |
Financial accounting export tasks |
ApiSetting |
A single app setting of the current scope |
ApiPaymentConfigurationSumUp |
How payments can be accepted through SumUp in the current scope (state, parameters) |
ApiPaymentProviderToken |
Short-lived access token for authenticating against the payment provider |
See Also
- Synqony.Api.Sdk – Typed .NET client for the Synqony API with built-in authentication and CRUD operations.
| 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
- NodaTime (>= 3.3.2)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 10.0.8)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Synqony.Api.Model:
| Package | Downloads |
|---|---|
|
Synqony.Api.Model.Emos
Synqony API model extensions for EMOS integration. |
|
|
Synqony.Api.Sdk
Official .NET SDK for the Synqony API. Provides typed clients, authentication, and serialization for seamless integration with Synqony services. |
GitHub repositories
This package is not used by any popular GitHub repositories.