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

# Get a patch object by ID



## OpenAPI

````yaml /openapi.yaml get /patchobjekte/{id}
openapi: 3.1.0
info:
  title: Api
  version: 2.1.4
  description: Pachtify360 API specification
servers:
  - url: /api
    description: Base API path
security:
  - cookieAuth: []
tags:
  - name: health
    description: Health operations
  - name: pachtkonten
    description: Lease account management
  - name: patchobjekte
    description: Patch object management
  - name: kontakte
    description: Contact management
  - name: abrechnung
    description: Billing and invoicing
  - name: audit
    description: Audit log management
  - name: dashboard
    description: Dashboard summary data
  - name: duplikate
    description: Duplicate detection and merge
  - name: einstellungen
    description: Application settings
paths:
  /patchobjekte/{id}:
    get:
      tags:
        - patchobjekte
      summary: Get a patch object by ID
      operationId: getPatchobjekt
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Patch object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Patchobjekt'
        '404':
          description: Not found
components:
  schemas:
    Patchobjekt:
      type: object
      properties:
        id:
          type: integer
        objektnummer:
          type: string
        bezeichnung:
          type: string
        typ:
          type: string
          enum:
            - gebaeude
            - flaeche
            - anlage
            - infrastruktur
            - sonstiges
        status:
          type: string
          enum:
            - aktuell
            - veraltet
            - kritisch
            - geplant
        pachtkontoId:
          type: integer
          nullable: true
        besitzerId:
          type: integer
          nullable: true
        betreuerId:
          type: integer
          nullable: true
        adresse:
          type: string
        strasse:
          type: string
          nullable: true
        hausnummer:
          type: string
          nullable: true
        plz:
          type: string
          nullable: true
        ort:
          type: string
          nullable: true
        bundesland:
          type: string
          nullable: true
        land:
          type: string
          nullable: true
        gemarkung:
          type: string
          nullable: true
        flur:
          type: string
          nullable: true
        flurstueck:
          type: string
          nullable: true
        flaeche:
          type: string
          nullable: true
        einheit:
          type: string
          nullable: true
        letzterPatch:
          type: string
          format: date
          nullable: true
        naechsterPatch:
          type: string
          format: date
          nullable: true
        version:
          type: string
          nullable: true
        beschreibung:
          type: string
          nullable: true
        _besitzerName:
          type: string
          nullable: true
        _pachtkontenCount:
          type: integer
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - objektnummer
        - bezeichnung
        - typ
        - status
        - adresse
        - createdAt
        - updatedAt
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: pachtify360.sid
      description: Serverseitige Anwendungssitzung nach Microsoft-Anmeldung.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.