Contele Fleet
  1. metrics
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
  • 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
        GET
    • 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. metrics

get dashboard summary from forms

GET
https://cgv-prd-checklist-api.contele.io/metrics/get-dashboard-summary
metrics
Última modificação:2025-05-26 16:37:01
x-eov-operation-id:list_dashboard_summary_handler
x-eov-operation-handler:app

return answers quantity from by filter#

example input:
  {
      "startDate": "yyyy-MM-dd",
      "endDate": "yyyy-MM-dd",
      "userId": "uuid", 
      "categoryId": [ "uuid", "uuid" ],
      "clientId": "uuid", 
      "tags": [ "tagName", "tagName" ],
      "selectedTagOfUser": [ "tagName", "tagName" ]
  }

Requisição

Parâmetros Query
start_date
string <date-time>
requerido
get quantity of forms answered since this date
end_date
string <date-time>
requerido
get quantity of forms answered to this date
user_id
string 
opcional
get quantity of forms answered by this user
categories_ids
array[string]
opcional
get quantity of forms answered linked with a task that has this categoryId
selected_tags_of_tasks
array[string]
opcional
get quantity of forms answered linked with a task that has this tag
selected_tags_of_user
array[string]
opcional
get quantity of forms answered linked with a user that has this tag
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-checklist-api.contele.io/metrics/get-dashboard-summary?start_date&end_date' \
--header 'x-api-key;'

Respostas

🟢200OK
application/json
success
Body
top_form
object 
opcional
title
string 
opcional
form_model_id
string 
opcional
general_forms_info
object 
opcional
Exemplo:
{"total":76,"2022-12-08":1,"2022-12-09":4,"2022-12-10":18,"2022-12-11":7,"2022-12-12":16,"2022-12-13":11,"2022-12-14":11,"2022-12-15":8}
total
integer 
opcional
Additional properties
integer 
opcional
top_forms_infos
object 
opcional
Exemplo:
{"total":63,"2022-12-08":1,"2022-12-09":1,"2022-12-10":17,"2022-12-11":5,"2022-12-12":15,"2022-12-13":9,"2022-12-14":9,"2022-12-15":6}
total
integer 
opcional
Additional properties
integer 
opcional
Exemplo
{
    "top_form": {
        "title": "string",
        "form_model_id": "string"
    },
    "general_forms_info": {
        "total": 76,
        "2022-12-08": 1,
        "2022-12-09": 4,
        "2022-12-10": 18,
        "2022-12-11": 7,
        "2022-12-12": 16,
        "2022-12-13": 11,
        "2022-12-14": 11,
        "2022-12-15": 8
    },
    "top_forms_infos": {
        "total": 63,
        "2022-12-08": 1,
        "2022-12-09": 1,
        "2022-12-10": 17,
        "2022-12-11": 5,
        "2022-12-12": 15,
        "2022-12-13": 9,
        "2022-12-14": 9,
        "2022-12-15": 6
    }
}
🟠400Pedido inválido
🟠401Não autorizado
Modificado em 2025-05-26 16:37:01
Página anterior
get trackings by period
Próxima página
insert_form_template_attachment
Built with