> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connectedfleet.michelin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tacho Default Settings

> Returns the default tacho settings.



## OpenAPI

````yaml https://api.connectedfleet.michelin.com/tacho/api-docs get /bvfm/services/public/v1/customer/{customerId}/tacho/settings/default
openapi: 3.0.1
info:
  title: public-api
  description: Public API Gateway
  version: 1.0.1
servers:
  - url: https://api.connectedfleet.michelin.com/tacho
security: []
tags:
  - name: /tacho
    description: Live tracking operations
paths:
  /bvfm/services/public/v1/customer/{customerId}/tacho/settings/default:
    get:
      tags:
        - /tacho
      summary: Tacho Default Settings
      description: Returns the default tacho settings.
      operationId: getDefaultTachoSettings
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsResponse'
        '400':
          description: 400 response, bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 401 response, not authorized or no valid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 403 response, Forbiden don't have access to the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - tacAuthorizer: []
components:
  schemas:
    SettingsResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            colours:
              type: object
              example:
                RESTING: SILVER
                AVAILABLE: STEEL
                WORKING: AZURE
                DRIVING: BLUE
                DRIVER_CARD_EJECTED: GREY
                INFRINGEMENT: RED
                NIGHT_HOURS: PURPLE
              description: |-
                key : activity type

                Possible values :
                RESTING
                AVAILABLE
                WORKING
                DRIVING
                DRIVER_CARD_EJECTED
                INFRINGEMENT
                NIGHT_HOURS

                value : colour code
                Possible values :
                SILVER
                STEEL
                AZURE
                BLUE
                GREY
                RED
                GREEN
                PURPLE
                YELLOW
            disabledInfringements:
              type: array
              items:
                type: string
              example:
                - EXCEEDED_CONTINUOUS_DRIVING
                - EXCEEDED_DAILY_DRIVING
              description: >-
                List of infringements that are currently disabled in the
                customer account (so they could be hidden in a UI)

                 Possible values : 
                EXCEEDED_CONTINUOUS_DRIVINGEXCEEDED_DAILY_DRIVING

                INSUFFICIENT_REST

                EXCEEDED_WEEKLY_DRIVING

                EXCEEDED_BIWEEKLY_DRIVING

                EXCEEDED_CONTINUOUS_WORKING

                EXCEEDED_DAILY_WORKING

                EXCEEDED_WEEKLY_WORKING
          required:
            - colours
            - disabledInfringements
      required:
        - data
    ErrorResponse:
      type: object
      properties:
        errorCode:
          type: integer
        errorMessage:
          type: string
      required:
        - errorCode
        - errorMessage
  securitySchemes:
    tacAuthorizer:
      type: apiKey
      name: Authorization
      description: >-
        Authorization header containing a Bearer token of the form Bearer
        [token], where [token] is a JWT used to authorize the request
      in: header
      x-amazon-apigateway-authtype: Custom authorization scheme using Masternauth for Tacho
      x-amazon-apigateway-authorizer:
        type: token
        identitySource: method.request.header.Authorization
        authorizerCredentials: arn:aws:iam::${aws_account}:role/mn_tac_public_api_invoke_lambda_role
        authorizerUri: >-
          arn:aws:apigateway:${aws_region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${aws_region}:${aws_account}:function:mn_awssvc_api_authorizer_service_public_lambda_${env}/invocations
        authorizerResultTtlInSeconds: 300

````