Get the asset maintenance history
GET/workspaces/:workspace_id/maintenances/:asset_id
Get the asset maintenance history
Request
Path Parameters
Workspace Id
Asset Id
Responses
- 200
- 400
- 404
- 500
OK response.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Unique identifier for the asset associated with the maintenance
Name of the asset associated with the maintenance
Type or category of the asset associated with the maintenance
Boolean flag indicating if the maintenance has been completed
Additional notes or details about the maintenance activity
Unique identifier for the operator who performed the maintenance
Last name of the operator who performed the maintenance
First name of the operator who performed the maintenance
Timestamp indicating the date and time of the maintenance, formatted as a string
[
{
"asset_id": "string",
"asset_name": "string",
"asset_type": "string",
"maintenance_done": true,
"notes": "string",
"operator_id": "string",
"operator_last_name": "string",
"operator_name": "string",
"ts_maintenance": "string"
}
]
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"
}