Maintenance

Update an owned open maintenance task

Completed history is immutable and returns not_found.

patch/api/v1/operations/maintenance/{eventId}

Request

  • Base URL: https://fleetkeep.co.uk
  • URL: https://fleetkeep.co.uk/api/v1/operations/maintenance/{eventId}
  • Auth: OAuth 2 (authorization code, authorization URL https://fleetkeep.co.uk/auth/oauth2/authorize, token URL https://fleetkeep.co.uk/auth/oauth2/token, scopes: maintenance:write)

Request body

type'oil_change' | 'brake_check' | 'tyre_check' | 'service' | 'inspection' | 'document_renewal' | 'repair' | 'other' required
titlestring nullable
notesstring nullable
dueDatestring date nullable
dueMileageinteger nullable
recurrenceIntervalDaysinteger nullable

Requires dueDate. Completion creates a successor due this many days later.

supplierstring nullable
priority'low' | 'normal' | 'high' | 'null' nullable

Response

Task updated and audited.

Changes

No recorded changes to this operation across all 1 revision of this API.