API ReferenceInspection Result
inspectionResult.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| pmScheduleId | string | Yes | — | ID of the associated pm schedule |
| systemId | string | No | — | ID of the associated system |
| assetId | string | No | — | ID of the associated asset |
| result | enum(pass, fail, partial, not_inspected) | Yes | — | Result |
| findings | string | No | — | Findings |
| recommendations | string | No | — | Recommendations |
| inspectedByUserId | string | No | — | ID of the associated inspected by user |
| inspectedAt | string.date-time | No | — | Inspected at |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | enum(global, workspace_local, shared) | Yes | "workspace_local" | Visibility mode |
Example
{
"pmScheduleId": "550e8400-e29b-41d4-a716-446655440000",
"systemId": "550e8400-e29b-41d4-a716-446655440000",
"assetId": "550e8400-e29b-41d4-a716-446655440000",
"result": "pass",
"findings": "example",
"recommendations": "example",
"visibilityMode": "global"
}