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

# Check Exchange Priority

> Check if a specific balance group has exchange priority.

Useful for the UI to flag counterparties with Börsenvorrang when displaying ANO reconciliation data.

Args:     eic_code: EIC code of the balance group to check.



## OpenAPI

````yaml /openapi.json get /schedule-management/v1/reference/exchange-priority-check/{eic_code}
openapi: 3.1.0
info:
  title: Engrate API
  version: 1.0.0
servers:
  - url: https://api.engrate.io
security:
  - apiKeyAuth: []
paths:
  /schedule-management/v1/reference/exchange-priority-check/{eic_code}:
    get:
      tags:
        - schedules
      summary: Check Exchange Priority
      description: >-
        Check if a specific balance group has exchange priority.


        Useful for the UI to flag counterparties with Börsenvorrang when
        displaying ANO reconciliation data.


        Args:     eic_code: EIC code of the balance group to check.
      operationId: >-
        check_exchange_priority_schedule_management_v1_reference_exchange_priority_check__eic_code__get
      parameters:
        - description: EIC X code of the balance group to check.
          in: path
          name: eic_code
          required: true
          schema:
            description: EIC X code of the balance group to check.
            title: Eic Code
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExchangePriorityCheckResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ExchangePriorityCheckResponse:
      description: >-
        Result of checking whether a specific EIC code has exchange priority
        (Börsenvorrang).
      properties:
        eic_code:
          description: The EIC code that was checked.
          examples:
            - 11XEPEXSPOT----W
          title: Eic Code
          type: string
        exchange_name:
          anyOf:
            - type: string
            - type: 'null'
          description: Name of the exchange, if the EIC code belongs to a known exchange.
          examples:
            - EPEX SPOT SE
          title: Exchange Name
        has_exchange_priority:
          description: Whether this balance group has exchange priority.
          title: Has Exchange Priority
          type: boolean
      required:
        - eic_code
        - has_exchange_priority
      title: ExchangePriorityCheckResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    apiKeyAuth:
      in: header
      name: Authorization
      type: apiKey

````