← HR API
Applicants
Singular: Applicant — Base-URL: https://hr-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)
Jetzt ausprobieren
beta
Response (live)
Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /applicants |
Liste mit Filtern/Paginierung | hr.applicants.view |
| GET | /applicants/:id |
Einzelner Datensatz | hr.applicants.view |
| POST | /applicants |
Neuen Datensatz erstellen | hr.applicants.new |
| PUT | /applicants |
Datensatz aktualisieren | hr.applicants.edit |
| DELETE | /applicants/:id |
Datensatz löschen | hr.applicants.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.hr.applicants.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.hr.applicants.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.hr.applicants.create({ name: 'Foo' });