Contele Fleet
  1. Maintenance Dashboard
Contele Fleet
  • Introdução a API
  • Rotas
    • Introdução a API Trackings
    • Endpoints
      • others
        • healthcheck
        • get sheet data
      • reports
        • get routes reports by group
        • get routes reports by Imei
        • get reports km
        • get driver by day
        • get driver routes in a period
        • get driver routes compiled in a period
        • get driver report
        • get trackings in a period
        • get productivity report
      • bounds
        • bound vehicle with imei
        • bound driver with imei
        • list driver bound per period
      • driver
        • get driver by a given date
      • migration
        • create bound vehicle with imei
        • create bound driver default with imei
      • last-tracking
        • get last tracking by plate number
        • get last tracking by imei
        • get tracking by vehicle id
      • planned-route
        • create planned routes by geojson
        • create planned routes by geojson
        • edit routes
        • edit planned routes
        • delete routes
        • get detailed planned route
      • new-planned-route
        • create planned route
        • get planned route to update
        • update planned route
      • vehicles
        • get vehicles list
      • trackings
        • create bound vehicle with imei
      • tracker
        • change tracker of vehicle
  • Abastecimentos
    • Endpoints
      • healthcheck
        • health-check
      • fuels
        • create fuels
        • get all info to dashboard
        • list fuels on period
        • delete fuel by id
        • update fuel by id
  • Multas
    • Endpoints
      • others
        • healthcheck
      • fines
        • list fines
        • create fine
        • update fine
        • delete fine
        • get fine
      • infractions
        • list infractions
      • cost
        • cost per month
        • fines per driver
      • dashboard
        • get fines dashboard
  • Manutenção
    • others
      • healthcheck
    • Maintenance
      • list maintenances
      • get maintenance
      • create maintenance
      • update maintenance
      • update maintenance date from calendar
      • update maintenance date from calendar
      • delete maintenance
    • Planning Plan
      • list plans
      • get plan by id
      • list vehicles in plan
      • list items in plan
      • create new plan
      • update plan
      • delete plan
    • Maintenance Dashboard
      • get all info to dashboard
        GET
  • Mapa
    • Ultimos Pontos (Last Points)
      • Get last points
      • get specific tracker from cache
      • get specific module info from db
    • lastbreakroutepoint
      • Get last break route points
      • get trackings by period
  • Checklist
    • metrics
      • get dashboard summary from forms
    • attachments
      • insert_form_template_attachment
      • list_form_template_attachment
      • insert_attachment
      • select_attachment
    • custom-filters
      • list_custom_filter
      • create_custom_filter
      • remove_custom_filter
    • form-template
      • create form template
      • create form template
      • copy form templates
      • update form template status
      • update form template status
      • update form template status
      • update form template settings
    • forms
      • create new form
      • update form status
      • update form status
      • list forms
      • list forms without token
    • checklists
      • list checklists
    • answers
      • list answers
      • create new answer
  1. Maintenance Dashboard

get all info to dashboard

GET
https://cgv-prd-maintenance-api.contele.io/api/v1/retrive_dashboard_information
Maintenance Dashboard
Última modificação:2024-11-28 19:41:15

Requisição

Parâmetros Query
start_period
string 
requerido
end_period
string 
requerido
group_vehicle_ids
array[integer]
opcional
Parâmetros Header
x-api-key
string 
requerido
Esta chave é obtida através do sistema por meio do gerenciamento da OpenAPI
Padrão:
{{api_key}}

Exemplos de Requisição

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://cgv-prd-maintenance-api.contele.io/api/v1/retrive_dashboard_information?start_period&end_period' \
--header 'x-api-key;'

Respostas

🟢200OK
application/json
success
Body
top_cards
object 
opcional
reviewed_vehicles
integer 
opcional
total_vehicles
integer 
opcional
reviewed_vehicles_percent
integer 
opcional
reviewed_plans
integer 
opcional
reviewed_items
integer 
opcional
performed_maintenances
integer 
opcional
total_cost
number <float>
opcional
stopped_operative_vehicles
object 
opcional
operative_vehicle
integer 
opcional
stopped_vehicles
integer 
opcional
item_by_category
object 
opcional
preventive_items
integer 
opcional
corrective_items
integer 
opcional
total_maintenances_by_day
object 
opcional
idx_day
integer 
opcional
total_vehicle_by_status
object 
opcional
scheduled
integer 
opcional
under_maintenance
integer 
opcional
regular
integer 
opcional
necessary_maintenance
integer 
opcional
total_item_by_status
object 
opcional
scheduled
integer 
opcional
under_maintenance
integer 
opcional
regular
integer 
opcional
necessary_maintenance
integer 
opcional
total_maintenance_by_status
object 
opcional
scheduled
integer 
opcional
running
integer 
opcional
fulfilled
integer 
opcional
overdue
integer 
opcional
maintenance_time
object 
opcional
less_maintenance_time_in_seconds
object 
opcional
longer_maintenance_time_in_seconds
object 
opcional
average_time_in_seconds
integer 
opcional
maintenance_cost
object 
opcional
less_maintenance_cost
object 
opcional
longer_maintenance_cost
object 
opcional
average_cost
integer 
opcional
vehicle_ranking
array [object {2}] 
opcional
vehicle_id
integer 
opcional
maintenance_count
integer 
opcional
item_ranking
array [object {2}] 
opcional
base_item_id
integer 
opcional
maintenance_count
integer 
opcional
auto_repair_ranking
array [object {2}] 
opcional
auto_repair_id
integer 
opcional
maintenance_count
integer 
opcional
Exemplo
{
    "top_cards": {
        "reviewed_vehicles": 0,
        "total_vehicles": 0,
        "reviewed_vehicles_percent": 0,
        "reviewed_plans": 0,
        "reviewed_items": 0,
        "performed_maintenances": 0,
        "total_cost": 0
    },
    "stopped_operative_vehicles": {
        "operative_vehicle": 0,
        "stopped_vehicles": 0
    },
    "item_by_category": {
        "preventive_items": 0,
        "corrective_items": 0
    },
    "total_maintenances_by_day": {
        "idx_day": 0
    },
    "total_vehicle_by_status": {
        "scheduled": 0,
        "under_maintenance": 0,
        "regular": 0,
        "necessary_maintenance": 0
    },
    "total_item_by_status": {
        "scheduled": 0,
        "under_maintenance": 0,
        "regular": 0,
        "necessary_maintenance": 0
    },
    "total_maintenance_by_status": {
        "scheduled": 0,
        "running": 0,
        "fulfilled": 0,
        "overdue": 0
    },
    "maintenance_time": {
        "less_maintenance_time_in_seconds": {
            "value": 0,
            "auto_repair_id": "string",
            "vehicle_id": 0
        },
        "longer_maintenance_time_in_seconds": {
            "value": 0,
            "auto_repair_id": "string",
            "vehicle_id": 0
        },
        "average_time_in_seconds": 0
    },
    "maintenance_cost": {
        "less_maintenance_cost": {
            "value": 0,
            "auto_repair_id": "string",
            "vehicle_id": 0
        },
        "longer_maintenance_cost": {
            "value": 0,
            "auto_repair_id": "string",
            "vehicle_id": 0
        },
        "average_cost": 0
    },
    "vehicle_ranking": [
        {
            "vehicle_id": 0,
            "maintenance_count": 0
        }
    ],
    "item_ranking": [
        {
            "base_item_id": 0,
            "maintenance_count": 0
        }
    ],
    "auto_repair_ranking": [
        {
            "auto_repair_id": 0,
            "maintenance_count": 0
        }
    ]
}
Modificado em 2024-11-28 19:41:15
Página anterior
delete plan
Próxima página
Get last points
Built with