Contele Fleet
  1. reports
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
        • get routes reports by Imei
          GET
        • get reports km
          GET
        • get driver by day
          GET
        • get driver routes in a period
          GET
        • get driver routes compiled in a period
          GET
        • get driver report
          GET
        • get trackings in a period
          GET
        • get productivity report
          GET
      • 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
  • 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. reports

get driver routes compiled in a period

GET
https://cgv-prd-trackings-api.contele.io/api/v1/driver-compiled-per-period
reports
Última modificação:2024-11-19 20:38:26

Requisição

Parâmetros Query
start_date
string 
requerido
Start date of the period
end_date
string 
requerido
End date of the period
limit
number 
opcional
Limit
offset
number 
opcional
Pagination
inicial_night_period
string 
requerido
Inicial night period between routes
end_night_period
string 
requerido
End night period between routes
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-trackings-api.contele.io/api/v1/driver-compiled-per-period?start_date&end_date&inicial_night_period&end_night_period' \
--header 'x-api-key;'

Respostas

🟢200OK
application/json
payload
Body
driver_compiled_per_period
array[object (driver_compiled_per_period) {10}] 
requerido
greater_continuous_driving_hour
integer 
requerido
total_conduction_hours
integer 
requerido
total_distance
integer 
requerido
total_night_hours
integer 
requerido
driver_name
string 
requerido
driver_code
string 
requerido
driver_cnh
string 
requerido
driver_cnh_expiration
string 
requerido
driver_phone
string 
requerido
driver_id
integer 
requerido
total
integer 
requerido
Exemplo
{
    "driver_compiled_per_period": [
        {
            "greater_continuous_driving_hour": 0,
            "total_conduction_hours": 0,
            "total_distance": 0,
            "total_night_hours": 0,
            "driver_name": "string",
            "driver_code": "string",
            "driver_cnh": "string",
            "driver_cnh_expiration": "string",
            "driver_phone": "string",
            "driver_id": 0
        }
    ],
    "total": 0
}
Modificado em 2024-11-19 20:38:26
Página anterior
get driver routes in a period
Próxima página
get driver report
Built with