Skip to main content
POST
Create a new work order

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Cuerpo

application/json
assetReference
string
requerido
type
enum<string>
requerido
Opciones disponibles:
Corrective,
Preventive
causeReference
string
requerido
auxiliaryCauseReferences
string[]
requerido
mainEmployeeReference
null | string
notes
null | string
externalReference
null | string
code
null | string

Respuesta

Created

id
string
requerido
externalReference
null | string
requerido
code
string
requerido
notes
string
requerido
causeId
string
requerido
cause
object
requerido
auxiliaryCauses
object[]
requerido
assetId
string
requerido
asset
object
requerido
mainEmployeeId
null | string
requerido
mainEmployee
object | null
requerido
status
enum<string>
requerido
Opciones disponibles:
Cancelled,
Pending,
Paused,
InProgress,
Completed
type
enum<string>
requerido
Opciones disponibles:
Corrective,
Preventive
preventiveScheduleId
null | string
requerido
scheduledOccurrenceAt
null | string<date-time>
requerido
totalMinutes
number<double>
requerido
theoreticalMinutes
number<double>
requerido
efficiencyPercent
null | number<double>
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido