> ## Documentation Index
> Fetch the complete documentation index at: https://podpora.cubee.cz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get HDO regions

> The regions a distributor splits its HDO commands by. Empty when its commands are not
region-specific.



## OpenAPI

````yaml /api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/regions
openapi: 3.0.4
info:
  title: Partner API
  description: API for partner services
  version: v1
servers:
  - url: https://api.partner.cubee.cz
    description: Partnerý API server
security: []
tags:
  - name: Aggregated Data
  - name: Authentication
  - name: Calculator
  - name: CalculatorControllerV1
  - name: InvoiceExtraction
  - name: Public
  - name: Reference data
  - name: Studies
paths:
  /api/v1/reference/distributors/{distributor}/regions:
    get:
      tags:
        - Reference data
      summary: Get HDO regions
      description: >-
        The regions a distributor splits its HDO commands by. Empty when its
        commands are not

        region-specific.
      operationId: Get HDO regions
      parameters:
        - name: distributor
          in: path
          description: Distributor code — CEZ, PRE or EGD.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TypeModel'
              example:
                - id: d4f6b8c0-4e5a-4b9c-1d2e-3f4a5b6c7d8e
                  key: STRED
                  name: Střed
                  sortIndex: 1
                - id: e5a7c9d1-5f6b-4c0d-2e3f-4a5b6c7d8e9f
                  key: ZAPAD
                  name: Západ
                  sortIndex: 2
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                  - $ref: '#/components/schemas/HttpValidationProblemDetails'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                  - $ref: '#/components/schemas/HttpValidationProblemDetails'
        '500':
          description: Internal Server Error
      security:
        - {}
components:
  schemas:
    TypeModel:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the type (region).
          format: uuid
          example: d4f6b8c0-4e5a-4b9c-1d2e-3f4a5b6c7d8e
        key:
          type: string
          description: >-
            Stable key of the type (region) — use as
            `distribution.lowTariffRegion`.
          nullable: true
          example: STRED
        name:
          type: string
          description: Display name of the type (region).
          nullable: true
          example: Střed
        sortIndex:
          type: integer
          description: Optional ordering index for display.
          format: int32
          nullable: true
          example: 1
      additionalProperties: false
      description: A generic keyed type — used here for HDO regions of a distributor.
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    HttpValidationProblemDetails:
      allOf:
        - $ref: '#/components/schemas/ProblemDetails'
        - type: object
          properties:
            errors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
              nullable: true
          additionalProperties: {}

````