Overview
The Maintenance API provides endpoints for managing preventive and corrective maintenance operations, work orders, routines, schedules, and maintenance notifications. Base Path:/mantenimiento/
Work Order Search
Search Work Orders
Search for work orders by various criteria.Search query for work order details
Filter by status: PENDIENTE, EN_PROGRESO, COMPLETADA, CANCELADA
Filter by type: PREVENTIVA, CORRECTIVA
Start date filter (YYYY-MM-DD)
End date filter (YYYY-MM-DD)
Response
Array of work order objects
Work Order Details
Get Work Order Details
Retrieve detailed information about a specific work order.Work order ID
Response
Work order ID
Work order code
PREVENTIVA or CORRECTIVA
Current status
Array of asset objects
Array of procedure steps
Scheduled start datetime
Scheduled end datetime
Actual start datetime
Actual end datetime
Assigned technician name
Work order notes
Update Work Order
Update Work Order Status and Notes
Update the status and notes of a work order.Work order ID
New status: PENDIENTE, EN_PROGRESO, COMPLETADA, CANCELADA
Updated notes
Actual start datetime (ISO format)
Actual end datetime (ISO format)
Response
“success” or “error”
Status message
Schedule Management
Update Work Order Date
Change the scheduled date of a work order.Work order ID
New scheduled date (YYYY-MM-DD format)
Reason for date change
Bulk Update Work Order Dates
Update multiple work orders at once.Array of update objects
Split Work Order by Asset
Split a work order with multiple assets into separate work orders.Work order ID to split
Merge Work Orders
Combine multiple work orders into one.Array of work order IDs to merge
Target date for merged work order
Delete Work Orders
Delete multiple work orders.Array of work order IDs to delete
Notifications
Get Maintenance Notifications
Retrieve maintenance notifications for the current user.Number of notifications to retrieve
Only return unread notifications
Response
Array of notification objects
Mark Notification as Read
Mark a notification as read.Notification ID to mark as read
Routine Management
Get Routine Details
Retrieve details about a maintenance routine.Routine ID
Response
Routine ID
Routine name
Routine description
Maintenance type/category
Frequency configuration
Array of procedure steps
Save Routine
Create or update a maintenance routine.Routine ID (omit for new routine)
Routine name
Routine description
Maintenance type ID
Frequency ID
Estimated duration in minutes
Delete Routine
Delete a maintenance routine.Routine ID to delete
Save Routine Steps
Update the procedure steps for a routine.Routine ID
Array of step objects
Asset Wizard
Get Assets for Wizard
Retrieve assets filtered by location and category for the routine wizard.Filter by location ID
Filter by category ID
Filter by maintenance type ID
Individual Order Generation
Generate Individual Work Order
Generate a single work order from a scheduled routine.Schedule/program ID
Date for the work order (YYYY-MM-DD)
Array of specific asset IDs to include
Response
“success” or “error”
Generated work order ID
Status message
Mobile Endpoints
The API includes mobile-optimized endpoints:GET /mantenimiento/app/cronograma/- Mobile maintenance schedule viewGET /mantenimiento/app/ot/{pk}/- Mobile work order detailPOST /mantenimiento/app/ot/{pk}/iniciar/- Start work order from mobilePOST /mantenimiento/app/ot/{pk}/finalizar/- Complete work order from mobilePOST /mantenimiento/app/aviso/crear/- Create maintenance notice from mobileGET /mantenimiento/app/avisos/- List user’s maintenance notices
Next Steps
Documents API
Document management and AI search
Inventory API
Materials and inventory management