API ReferenceMaintenance Plan
maintenancePlan.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| customerId | string | Yes | — | ID of the associated customer |
| siteId | string | Yes | — | ID of the associated site |
| name | string | Yes | — | Name |
| description | string | No | — | Description |
| status | enum(draft, active, suspended, expired, canceled) | Yes | "draft" | Status |
| frequencyMonths | integer | Yes | — | Frequency months |
| startDate | string.date-time | No | — | Start date |
| endDate | string.date-time | No | — | End date |
| coveredSystemIds | string[] | No | — | Covered system ids |
| contractValue | unknown | No | — | Contract value |
| ownerUserId | string | No | — | ID of the associated owner user |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | enum(global, workspace_local, shared) | Yes | "workspace_local" | Visibility mode |
Example
{
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"name": "Example Name",
"description": "A description",
"status": "draft",
"frequencyMonths": 0,
"visibilityMode": "global"
}