Define Action
Defines a new compliance Action (requirement) within the current Space. An Action has a type (training, health, check, ppe, maintenance), a target resource type (person, equipment, environment, substance), and a validity period. The targetResourceType is immutable after creation — it determines which Resources must fulfill this Action when both are assigned to the same Unit. The Space must be active.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”UUID of the target Space (tenant boundary). Validated against user access.
Request Body required
Section titled “Request Body required ”object
Name of the action
Example
Fire safety trainingAction type
Example
trainingType of resource this action targets (immutable)
Example
personValidity duration value
Example
5Validity duration unit
Example
yearResponses
Section titled “ Responses ”object
Action ID
Example
550e8400-e29b-41d4-a716-446655440000Space ID
Example
660e8400-e29b-41d4-a716-446655440000Action name
Example
Fire safety trainingAction type
Example
trainingTarget resource type
Example
personValidity duration value
Example
5Validity duration unit
Example
yearUnauthorized — missing or invalid JWT
Forbidden — insufficient permissions
Validation failed — invalid input