aYOUne
← HR API

Applications

Singular: Application — Base-URL: https://hr-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

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 /applications Liste mit Filtern/Paginierung hr.applications.view
GET /applications/:id Einzelner Datensatz hr.applications.view
POST /applications Neuen Datensatz erstellen hr.applications.new
PUT /applications Datensatz aktualisieren hr.applications.edit
DELETE /applications/:id Datensatz löschen hr.applications.delete

SDK

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

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

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

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

Weiterführend