Create new maintenance intervention
POST/workspaces/:workspace_id/maintenances
Create new maintenance intervention
Request
Path Parameters
Workspace Id
- application/json
Body
required
Unique identifier for the asset undergoing maintenance
Detailed description of the maintenance intervention
Boolean flag indicating if the maintenance has been completed
Unique identifier for the operator performing the maintenance
Estimated remaining periodic time (in seconds) before the next maintenance is required
Percentage of elapsed periodic time since the last maintenance or time-based maintenance condition
Timestamp indicating when the maintenance is scheduled or performed, formatted as a string
Estimated remaining working time (in seconds) before the next maintenance is required
Percentage of working time consumed before maintenance was deemed necessary
Responses
- 201
- 400
- 404
- 500
Created response.
bad_request: Invalid Request
- application/json
- Schema
- Example (from schema)
Schema
Message of error
{
"message": "invalid request"
}
not_found: Not Found
- application/json
- Schema
- Example (from schema)
Schema
ID of missing object
Message of error
{
"id": "string",
"message": "object 1 not found"
}
internal_error: Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Message of error
{
"message": "internal server error"
}