list maintenances
GET
/list_maintenanceRequest
Parâmetros Query
maintenance_status
string
opcional
Maintenance status by type
search_term
string
opcional
maintenance name or vehicle name
per_page
number
opcional
per_page
Padrão:
15
page
number
opcional
Pagination
Padrão:
0
vehicle_ids
array[number]
opcional
plan_ids
array[string]
opcional
auto_repair_ids
array[string]
opcional
base_item_ids
array[string]
opcional
incoming_date_range
array[string]
opcional
exit_date_range
array[string]
opcional
maintenance_amount_range
array[number]
opcional
include_archived_maintenances
boolean
opcional
sort
string
opcional
sort_by
include_maintenance_with_disabled_vehicle
boolean
opcional
Request samples
Respostas
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
success
Esquema de Dados
maintenances
array [object {9}]
opcional
maintenance_id
string
opcional
maintenance_name
string
opcional
auto_repair_name
string
opcional
incoming_datetime
string
opcional
exit_datetime
string
opcional
total_time_in_days
integer
opcional
total_value
number
opcional
total_items
integer
opcional
status_id
integer
opcional
total_maintenances
integer
opcional
Exemplo
{
"maintenances": [
{
"maintenance_id": "string",
"maintenance_name": "string",
"auto_repair_name": "string",
"incoming_datetime": "string",
"exit_datetime": "string",
"total_time_in_days": 0,
"total_value": 0,
"total_items": 0,
"status_id": 0
}
],
"total_maintenances": 0
}
Last modified: 24 days ago