> ## 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.

# List Location Categories

> Returns details for all location categories.



## OpenAPI

````yaml /api-reference/fleet-management.json get /public/v1/customer/{customerId}/location/category
openapi: 3.0.1
info:
  title: Fleet management
  description: >-
    A comprehensive administration pack enabling full control over fleet
    structures, users, drivers, vehicles and operational data.
  contact:
    name: Masternaut
    url: https://www.masternaut.com
    email: support@masternautconnect.com
  version: 124.0.2607160821
servers:
  - url: https://api.masternautconnect.com/connect-webservices/services
    description: Product Server
security:
  - basicAuth: []
tags:
  - name: /driver
    description: Driver Operations
  - name: /group
    description: Group operations
  - name: /location/category
    description: Location category management operations
  - name: /location
    description: Location management operations
  - name: /role
    description: Role operations
  - name: /tokenInformation
    description: Token operations
  - name: /user
    description: User operations
  - name: /maintenance
    description: Vehicle maintenance operations
  - name: /vehicle
    description: Vehicle management operations
paths:
  /public/v1/customer/{customerId}/location/category:
    get:
      tags:
        - /location/category
      summary: List Location Categories
      description: Returns details for all location categories.
      operationId: getAllCategories
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful operation
          content:
            application/json;charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LocationCategoryWithLocationsCountDto'
components:
  schemas:
    LocationCategoryWithLocationsCountDto:
      required:
        - icon
        - name
      type: object
      properties:
        id:
          pattern: ^[\w]*$
          type: string
        name:
          type: string
        icon:
          type: string
        locationsCount:
          type: integer
          format: int64
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````