API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Crew Templates

All operations for Crew Templates.

Data model

The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:

Entity Schema ID Fields Sequence Permissions
Crew Template crew_template 8 — shift_block_*

Endpoints

Method Path Operation Description
POST /v1/crew_templates Create crew_template Create a new crew_template in the active tenant.
DELETE /v1/crew_templates/{id} Delete crew_template Soft delete entity.
GET /v1/crew_templates/{id} Get crew_template by id Fetch a single crew_template.
GET /v1/crew_templates/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/crew_templates/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/crew_templates/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/crew_templates List crew_templates List crew_templates for the active tenant.
PATCH /v1/crew_templates/{id} Patch crew_template JSON Merge Patch update.
POST /v1/crew_templates/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/crew_templates/{id}/transition POST /v1/crew_templates/{id}/transition CodeMeta OS API endpoint.
POST /v1/crew_templates/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/crew_templates/{id} Replace crew_template Full replace with optimistic locking.

Search