aYOUne
← Konfiguration API

ProcedureSteps

Singular: ProcedureStep — Base-URL: https://config-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.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "isDraft": true,
    "_id": "60264975b5ce480012881616",
    "_consumerID": "60043b387d3c46001481a8e5",
    "_procedure": "6026491bb5ce4800128815e6",
    "_step": "60264932b5ce4800128815f1",
    "createdAt": "2021-02-12T09:25:09.455Z",
    "updatedAt": "2021-02-12T09:25:09.455Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/proceduresteps/60264975b5ce480012881616",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers/60043b387d3c46001481a8e5",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Procedures",
        "title": "MODEL_PROCEDURE",
        "href": "https://api.ayoune.app/config/procedures/6026491bb5ce4800128815e6",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.procedures"
      }
    ],
    "relations": [
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Procedures",
        "title": "MODEL_PROCEDURE",
        "href": "https://api.ayoune.app/config/procedures",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.procedures"
      }
    ],
    "debugId": "6a9500d851f5b0211fc3c12b",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_PROCEDURESTEP",
        "href": "https://api.ayoune.app/config/proceduresteps/60264975b5ce480012881616/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_PROCEDURESTEP",
        "href": "https://api.ayoune.app/config/proceduresteps/60264975b5ce480012881616",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.153.0",
      "core": "2026.326.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "827",
      "reset": "1788152756",
      "resetDate": "Mon Aug 31 2026"
    },
    "responseTime": 101.035093,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend