Creates a new Operation in DRAFT status.
Feature flag
- Requires OPERATIONS
to be active.
Access control
- OPERATOR: always allowed
- ACCOUNT: allowed only if the caller has OPERATIONS_CREATE
and is attached to the effective store (see Store scoping).
Store scoping
- If dj-store
is provided: this store is used for creation.
- If dj-store
is omitted: the tenant default store is used as fallback.
- ACCOUNT must be attached to the chosen store (provided or default) or the request is rejected with 403.
Constraints
- Required fields: names
, externalId
, type
, startDate
- type
(PUBLIC / PRIVATE) cannot be changed after creation.
- names
and descriptions
must use IETF BCP 47 locales (e.g., en-GB, fr-FR) and each provided locale must belong to the store allowed locales; otherwise the request is rejected (400).
- startDate
must be less than or equal to endDate
when endDate
is provided.
post https://api.djust.example.com/admin/operations