← Produktion API
FractureMessages
Singular: FractureMessage — Base-URL: https://production-api.ayoune.app — Zugriff: CRUD
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.
Beispiel-Response (aufgezeichnet) Beispiel
Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.
{
"payload": {
"_id": "65ce12f4a7235cd923772931",
"qty": 0,
"createdBy": "6045f4d25704710012485569",
"createdAt": "2024-02-15T13:34:44.378Z",
"updatedAt": "2024-02-15T13:34:44.378Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://production-api.ayoune.app/fracturemessages/65ce12f4a7235cd923772931",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "Shifts",
"title": "MODEL_SHIFT",
"href": "https://api.ayoune.app/hr/shifts",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "hr.shifts"
},
{
"rel": "WorkCenters",
"title": "MODEL_WORKCENTER",
"href": "https://api.ayoune.app/production/workcenters",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "production.workcenters"
},
{
"rel": "Products",
"title": "MODEL_PRODUCT",
"href": "https://api.ayoune.app/pim/products",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "pim.products"
},
{
"rel": "Lots",
"title": "MODEL_LOT",
"href": "https://api.ayoune.app/sale/lots",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "sale.lots"
},
{
"rel": "ProductionOrders",
"title": "MODEL_PRODUCTIONORDER",
"href": "https://api.ayoune.app/production/productionorders",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "production.productionorders"
}
],
"debugId": "6a6198932f837abff564541f",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_FRACTUREMESSAGE",
"href": "https://api.ayoune.app/production/fracturemessages/65ce12f4a7235cd923772931/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_FRACTUREMESSAGE",
"href": "https://api.ayoune.app/production/fracturemessages/65ce12f4a7235cd923772931/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.19.1",
"core": "2026.257.1"
},
"rateLimit": {
"limit": "2500",
"remaining": "2478",
"reset": "1784784540",
"resetDate": "Thu Jul 23 2026"
},
"responseTime": 300.996464,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /fracturemessages |
Liste mit Filtern/Paginierung | production.fracturemessages.view |
| GET | /fracturemessages/:id |
Einzelner Datensatz | production.fracturemessages.view |
| POST | /fracturemessages |
Neuen Datensatz erstellen | production.fracturemessages.new |
| PUT | /fracturemessages |
Datensatz aktualisieren | production.fracturemessages.edit |
| DELETE | /fracturemessages/:id |
Datensatz löschen | production.fracturemessages.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.production.fractureMessages.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.production.fractureMessages.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.production.fractureMessages.create({ name: 'Foo' });