Skip to main content
POST
Create a new work order

Authorizations

Authorization
string
header
required

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

Body

application/json
assetReference
string
required
type
enum<string>
required
Available options:
Corrective,
Preventive
causeReference
string
required
auxiliaryCauseReferences
string[]
required
mainEmployeeReference
null | string
notes
null | string
externalReference
null | string
code
null | string

Response

Created

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