aYOUne
← Buchhaltung API

AccountingEventSubscriptions

Singular: AccountingEventSubscription — Base-URL: https://accounting-api.ayoune.app — Zugriff: CRUD

play_circle Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Endpunkte

MethodePathBeschreibungRight
GET /accountingeventsubscriptions Liste mit Filtern/Paginierung accounting.eventsubscriptions.view
GET /accountingeventsubscriptions/:id Einzelner Datensatz accounting.eventsubscriptions.view
POST /accountingeventsubscriptions Neuen Datensatz erstellen accounting.eventsubscriptions.new
PUT /accountingeventsubscriptions Datensatz aktualisieren accounting.eventsubscriptions.edit
DELETE /accountingeventsubscriptions/:id Datensatz löschen accounting.eventsubscriptions.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.accounting.accountingEventSubscriptions.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.accounting.accountingEventSubscriptions.findById('OBJECT_ID').exec();

// Erstellen
const created = await ay.accounting.accountingEventSubscriptions.create({ name: 'Foo' });

Weiterführend