Skip to main content
PUT
Actualizar orden de trabajo

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Path Parameters

id
string
required

ID del recurso

Body

application/json
scheduledDate
string<date-time> | null

Fecha programada, como la medianoche de Chile en ISO.

maintenanceType
enum<string>
Available options:
preventive,
corrective

Response

Orden actualizada exitosamente

status
string
Example:

"success"

data
object