Skip to main content
GET
The maintenance plan register (UI spec §12.1).

Headers

Range
string

Limiting and Pagination

Range-Unit
string
default:items

Limiting and Pagination

Prefer
enum<string>

Preference

Available options:
count=none

Query Parameters

inspection_template_id
string
inspection_template_code
string
inspection_template_name
string
id
string
plan_number
string
name
string
description
string
maintenance_type
string
status
string
status_label
string
status_category
string
site_id
string
site_code
string
priority_code
string
criticality
string
trigger_combination
string
estimated_duration_minutes
string
lead_time_days
string
tolerance_days
string
sla_response_minutes
string
sla_resolution_minutes
string
assigned_team_id
string
preferred_worker_id
string
preferred_worker_name
string
preferred_vendor_id
string
preferred_vendor_name
string
use_contract_visits
string
requires_permit
string
requires_shutdown
string
safety_instructions
string
instructions
string
auto_generate_work_order
string
current_version_number
string
last_generated_at
string
is_active
string
asset_count
string
asset_type_count
string
task_count
string
requirement_count
string
trigger_count
string
frequency
string
next_due_at
string
work_orders_generated
string
custom_fields
string
row_version
string
created_at
string
updated_at
string
select
string

Filtering Columns

order
string

Ordering

offset
string

Limiting and Pagination

limit
string

Limiting and Pagination

Response

OK

asset_count
integer<bigint>
asset_type_count
integer<bigint>
assigned_team_id
string<uuid>

Note: This is a Foreign Key to teams.id.

auto_generate_work_order
boolean<boolean>
created_at
string<timestamp with time zone>
criticality
string<character varying>
Maximum string length: 40
current_version_number
integer<integer>
custom_fields
string<jsonb>
description
string<text>
estimated_duration_minutes
integer<integer>
frequency
string<text>
id
string<uuid>

Note: This is a Primary Key.

inspection_template_code
string<character varying>
Maximum string length: 60
inspection_template_id
string<uuid>

Note: This is a Foreign Key to inspection_template_settings.id.

inspection_template_name
string<character varying>
Maximum string length: 250
instructions
string<text>
is_active
boolean<boolean>
last_generated_at
string<timestamp with time zone>
lead_time_days
integer<integer>
maintenance_type
string<character varying>
Maximum string length: 30
name
string<character varying>
Maximum string length: 250
next_due_at
string<timestamp with time zone>
plan_number
string<character varying>
Maximum string length: 60
preferred_vendor_id
string<uuid>

Note: This is a Foreign Key to vendor_directory.vendor_id.

preferred_vendor_name
string<character varying>
Maximum string length: 200
preferred_worker_id
string<uuid>

Note: This is a Foreign Key to technician_workload.worker_id.

preferred_worker_name
string<character varying>
Maximum string length: 200
priority_code
string<character varying>
Maximum string length: 40
requirement_count
integer<bigint>
requires_permit
boolean<boolean>
requires_shutdown
boolean<boolean>
row_version
integer<bigint>
safety_instructions
string<text>
site_code
string<character varying>
Maximum string length: 50
site_id
string<uuid>

Note: This is a Foreign Key to site_settings.id.

sla_resolution_minutes
integer<integer>
sla_response_minutes
integer<integer>
status
string<character varying>
Maximum string length: 60
status_category
string<character varying>
Maximum string length: 20
status_label
string<character varying>
Maximum string length: 150
task_count
integer<bigint>
tolerance_days
integer<integer>
trigger_combination
string<character varying>
Maximum string length: 10
trigger_count
integer<bigint>
updated_at
string<timestamp with time zone>
use_contract_visits
boolean<boolean>
work_orders_generated
integer<bigint>