API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · tools

Tool Schema

Schema-ID
tool
Collection
tools
Permissions
  • Lezentool_view
  • Aanmakentool_create
  • Wijzigentool_edit
  • Verwijderentool_delete

Velden

Tool Schema

tools4 permissions

Schema for validating tool / Werkzeug entities

namestringvereist

Tool name / Bezeichnung

1–200 tekens
descriptionstringoptioneel

Optional description

max. 2000 tekensnullable
typestringvereist

TOOL = individual tool, BAG = tool bag containing other tools

TOOLBAG
categorystringoptioneel

Tool category

ElektrowerkzeugHandwerkzeugMesswerkzeugMaschineSonstiges
nullable
manufacturerstringoptioneel

Manufacturer / Hersteller

max. 100 tekensnullable
modelstringoptioneel

Model name

max. 100 tekensnullable
serialNumberstringoptioneel

Serial number / Seriennummer

max. 100 tekensnullable
statusstringvereist

IN_STORAGE = im Lager, CHECKED_OUT = mitgenommen

IN_STORAGECHECKED_OUT
Default: "IN_STORAGE"
checkedOutByuuidoptioneel

User ID who checked out the tool

nullable
checkedOutAtdatetimeoptioneel

Timestamp when tool was checked out

nullable
toolBagIduuidoptioneel

Parent tool bag ID (only for type=TOOL)

nullable
locationstringoptioneel

Storage location / Lagerort (e.g. Regal A3)

max. 200 tekensnullable
purchaseDatedateoptioneel

Purchase date

nullable
purchasePricenumberoptioneel

Purchase price in EUR

≥ 0nullable
notesstringoptioneel

Free-text notes

max. 5000 tekensnullable
tagsstring[]optioneel

Tags for categorization

Default: []

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/tools — Lijst, gepagineerd + filterbaar
  • GET /api/v1/tools/<id> — Enkele entity
  • POST /api/v1/tools — Aanmaken
  • PATCH /api/v1/tools/<id> — Gedeeltelijke update
  • DELETE /api/v1/tools/<id> — Soft-delete
  • GET /api/v1/tools/<id>/timeline — Audit + activiteiten

Zoeken