Contele Fleet
  1. form-template
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
    • 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
        GET
      • create form template
        POST
      • copy form templates
        POST
      • update form template status
        POST
      • update form template status
        POST
      • update form template status
        POST
      • update form template settings
        POST
    • 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. form-template

update form template status

POST
https://cgv-prd-checklist-api.contele.io/delete-form-template
form-template
Última modificação:2025-05-26 16:37:01
x-eov-operation-id:delete_forms_templates_handler
x-eov-operation-handler:app
x-swagger-router-controller:app
x-codegen-request-body-name:body
change form template status to deleted

Requisição

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}}
Parâmetros Bodyapplication/json
forms_templates_ids
array[string <uuid>]
requerido
Exemplo
{
    "forms_templates_ids": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ]
}

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 POST 'https://cgv-prd-checklist-api.contele.io/delete-form-template' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "forms_templates_ids": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ]
}'

Respostas

🟢201Criado
application/json
success
Body
forms_templates
array[object (new_form_template) {8}] 
requerido
id
string <uuid>
opcional
template_name
string 
requerido
>= 1 Caracteres
template_status
string 
opcional
template_public
boolean 
opcional
settings_flags
array[string]
opcional
Exemplo:
["is_required_to_answer","auto_send_copy","show_only_when_visit_has_all_categories_and_at_least_one_user"]
segments
array[null (segments) {10}] 
opcional
linked_urns
array[string]
opcional
external_observation
string  | null 
opcional
Exemplo
{
    "forms_templates": [
        {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "template_name": "string",
            "template_status": "string",
            "template_public": true,
            "settings_flags": [
                "is_required_to_answer",
                "auto_send_copy",
                "show_only_when_visit_has_all_categories_and_at_least_one_user"
            ],
            "segments": [
                {
                    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                    "type": "section",
                    "title": "Título da seção"
                }
            ],
            "linked_urns": [
                "v0:product:context:context_id"
            ],
            "external_observation": "string"
        }
    ]
}
🟠401Não autorizado
Modificado em 2025-05-26 16:37:01
Página anterior
update form template status
Próxima página
update form template settings
Built with