openapi: 3.0.3
info:
  title: Sumofis ERP API
  version: 1.0.0
  description: '**Sumofis Multi-Tenant ERP Backend API**


    Körfez Döküm ortamı için canlı endpoint dokümantasyonu.


    ### Giriş Akışı

    1. `POST /client/login` — domain + email + parola → OTP gönderilir

    2. `POST /client/verify-otp` — OTP doğrulama → JWT token

    3. **Sağ üstte 🔓 Authorize** butonuna basıp token''ı yapıştır → tüm endpoint''lerde otomatik kullanılır


    ### Multi-Tenant

    Default tenant: `app.korfezdokum.app`. Her tenant için ayrı DB (`sumofis_1002_2026` vb.).


    ### Standart Response

    ```json

    { "result": true, "message": "...", "data": { ... } }

    ```'
  contact:
    name: Makrosum Bilişim
    email: serkanayas@gmail.com
servers:
- url: https://api.korfezdokum.app
  description: Körfez Döküm Backend (Production)
tags:
- name: Admin
  description: 'Süper admin: login, firma yönetimi, dashboard, mali dönem'
- name: Cari Referans
  description: Cari hesap grup/bölge/temsilci ref tablolari
- name: Cari
  description: Cari hesap CRUD + adres/yetkili + ref siniflandirma
- name: Client
  description: Tenant login + firma config (public)
- name: Evrak Draft
  description: Auto-save draft (room_id ile)
- name: Kullanıcı
  description: Kullanıcı CRUD + yetki
- name: Personel
  description: Personel CRUD + izin + masraf
- name: Referans
  description: İller/ilçeler/vergi daireleri/ülkeler/döviz
- name: Stok Fiyat
  description: Fiyat listeleri + iskonto
- name: Stok Referans
  description: Birim/marka/model/renk/beden/lot ref tablolari
- name: Stok Üretim
  description: Reçete + ambar fişi + uretim emri
- name: Stok
  description: Stok kart CRUD
- name: Takvim
  description: Takvim + randevu + hatirlatici
- name: Tanım + ENUM
  description: Departman/banka/depo/proje/sorumluluk + ENUM tanim
- name: Sistem
  description: Health, status, WebSocket
- name: Stok Operasyon (Sayım)
  description: Sayım fişi CRUD + stok takip detay
paths:
  /admin/dev-login:
    post:
      tags:
      - Admin
      summary: Dev login (OTP bypass)
      description: '**Auth:** `public` &nbsp;&nbsp;&nbsp;**Pool:** `main`


        **Post-processor:** `admin-dev-login`'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                telefon:
                  type: string
              required:
              - telefon
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security: []
  /admin/login:
    post:
      tags:
      - Admin
      summary: Giriş (OTP gönderir)
      description: '**Auth:** `public` &nbsp;&nbsp;&nbsp;**Pool:** `main`


        **Post-processor:** `admin-login`'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
              required:
              - email
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security: []
  /admin/verify-otp:
    post:
      tags:
      - Admin
      summary: OTP doğrulama (JWT döner)
      description: '**Auth:** `public` &nbsp;&nbsp;&nbsp;**Pool:** `main`


        **Post-processor:** `admin-verify-otp`'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                admin_id:
                  type: string
              required:
              - admin_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security: []
  /admin/dashboard-stats:
    get:
      tags:
      - Admin
      summary: Admin dashboard istatistikleri
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
  /admin/firmalar:
    get:
      tags:
      - Admin
      summary: GET /admin/firmalar
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
  /admin/firma:
    post:
      tags:
      - Admin
      summary: POST /admin/firma
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                firma_adres:
                  type: string
                firma_domain:
                  type: string
                firma_efatura_json:
                  type: string
                firma_email:
                  type: string
                firma_evrak_altbilgi:
                  type: string
                firma_evrak_logo_url:
                  type: string
                firma_favicon_url:
                  type: string
                firma_giris_logo_url:
                  type: string
                firma_il_id:
                  type: string
                firma_ilce_id:
                  type: string
                firma_kisa_unvan:
                  type: string
                firma_logo_url:
                  type: string
                firma_mersis_no:
                  type: integer
                firma_moduller_json:
                  type: string
                firma_sektor:
                  type: string
                firma_site_baslik:
                  type: string
                firma_smtp_json:
                  type: string
                firma_telefon:
                  type: string
                firma_tema_renk:
                  type: string
                firma_ticaret_sicil_no:
                  type: integer
                firma_unvan:
                  type: string
                firma_varsayilan_dil:
                  type: string
                firma_varsayilan_doviz_id:
                  type: string
                firma_vergi_dairesi_id:
                  type: string
                firma_vergi_no:
                  type: integer
                firma_web:
                  type: string
                firma_whatsapp_token:
                  type: string
                firma_zaman_dilimi:
                  type: string
              required:
              - firma_adres
              - firma_domain
              - firma_efatura_json
              - firma_email
              - firma_evrak_altbilgi
              - firma_evrak_logo_url
              - firma_favicon_url
              - firma_giris_logo_url
              - firma_il_id
              - firma_ilce_id
              - firma_kisa_unvan
              - firma_logo_url
              - firma_mersis_no
              - firma_moduller_json
              - firma_sektor
              - firma_site_baslik
              - firma_smtp_json
              - firma_telefon
              - firma_tema_renk
              - firma_ticaret_sicil_no
              - firma_unvan
              - firma_varsayilan_dil
              - firma_varsayilan_doviz_id
              - firma_vergi_dairesi_id
              - firma_vergi_no
              - firma_web
              - firma_whatsapp_token
              - firma_zaman_dilimi
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
  /admin/mali-donemler:
    get:
      tags:
      - Admin
      summary: GET /admin/mali-donemler
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
  /admin/mali-donem:
    post:
      tags:
      - Admin
      summary: POST /admin/mali-donem
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                donem_ad:
                  type: string
                donem_baslangic:
                  type: string
                donem_bitis:
                  type: string
                donem_db_adi:
                  type: string
                donem_kod:
                  type: string
                firma_id:
                  type: string
              required:
              - donem_ad
              - donem_baslangic
              - donem_bitis
              - donem_db_adi
              - donem_kod
              - firma_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
  /admin/mali-donem/{id}:
    put:
      tags:
      - Admin
      summary: PUT /admin/mali-donem/{id}
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                donem_ad:
                  type: string
                donem_baslangic:
                  type: string
                donem_bitis:
                  type: string
                donem_durum:
                  type: string
                donem_kod:
                  type: string
              required:
              - donem_ad
              - donem_baslangic
              - donem_bitis
              - donem_durum
              - donem_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
    delete:
      tags:
      - Admin
      summary: DELETE /admin/mali-donem/{id}
      description: '**Auth:** `admin` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
        '403':
          description: Admin yetkisi gerekli
      security:
      - bearerAuth: []
  /cari-ref/grup:
    get:
      tags:
      - Cari Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `CARI_HESAP_GRUPLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Cari Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `CARI_HESAP_GRUPLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                crg_isim:
                  type: string
                crg_kod:
                  type: string
              required:
              - crg_isim
              - crg_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari-ref/grup/{id}:
    get:
      tags:
      - Cari Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `CARI_HESAP_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Cari Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `CARI_HESAP_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                crg_isim:
                  type: string
                crg_kod:
                  type: string
              required:
              - crg_isim
              - crg_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Cari Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `CARI_HESAP_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari-ref/bolge:
    get:
      tags:
      - Cari Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `CARI_HESAP_BOLGELERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Cari Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `CARI_HESAP_BOLGELERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bol_ismi:
                  type: string
                bol_kod:
                  type: string
              required:
              - bol_ismi
              - bol_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari-ref/bolge/{id}:
    get:
      tags:
      - Cari Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `CARI_HESAP_BOLGELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Cari Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `CARI_HESAP_BOLGELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bol_ismi:
                  type: string
                bol_kod:
                  type: string
              required:
              - bol_ismi
              - bol_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Cari Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `CARI_HESAP_BOLGELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari-ref/personel:
    get:
      tags:
      - Cari Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `CARI_PERSONEL_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Cari Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `CARI_PERSONEL_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cari_per_adsoyad:
                  type: string
                cari_per_kod:
                  type: string
              required:
              - cari_per_adsoyad
              - cari_per_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari-ref/personel/{id}:
    get:
      tags:
      - Cari Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `CARI_PERSONEL_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Cari Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `CARI_PERSONEL_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cari_per_adsoyad:
                  type: string
                cari_per_kod:
                  type: string
              required:
              - cari_per_adsoyad
              - cari_per_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Cari Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `CARI_PERSONEL_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari:
    get:
      tags:
      - Cari
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `CARI_HESAPLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Cari
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `CARI_HESAPLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cari_kod:
                  type: string
                cari_unvan1:
                  type: string
              required:
              - cari_kod
              - cari_unvan1
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/{id}:
    get:
      tags:
      - Cari
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `CARI_HESAPLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Cari
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `CARI_HESAPLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cari_kod:
                  type: string
                cari_unvan1:
                  type: string
              required:
              - cari_kod
              - cari_unvan1
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Cari
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `CARI_HESAPLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/adres:
    get:
      tags:
      - Cari
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `CARI_HESAP_ADRESLERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Cari
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `CARI_HESAP_ADRESLERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                adr_cari_id:
                  type: string
              required:
              - adr_cari_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/adres/{id}:
    get:
      tags:
      - Cari
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `CARI_HESAP_ADRESLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Cari
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `CARI_HESAP_ADRESLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                adr_cari_id:
                  type: string
              required:
              - adr_cari_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Cari
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `CARI_HESAP_ADRESLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/yetkili:
    get:
      tags:
      - Cari
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `CARI_HESAP_YETKILILERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Cari
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `CARI_HESAP_YETKILILERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mye_cari_id:
                  type: string
                mye_isim:
                  type: string
              required:
              - mye_cari_id
              - mye_isim
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/yetkili/{id}:
    get:
      tags:
      - Cari
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `CARI_HESAP_YETKILILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Cari
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `CARI_HESAP_YETKILILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mye_cari_id:
                  type: string
                mye_isim:
                  type: string
              required:
              - mye_cari_id
              - mye_isim
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Cari
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `CARI_HESAP_YETKILILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/enum-secenekler:
    get:
      tags:
      - Cari
      summary: ENUM değer listesi
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /cari/ref-siniflandirma:
    get:
      tags:
      - Cari
      summary: GET /cari/ref-siniflandirma
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /client/login:
    post:
      tags:
      - Client
      summary: Giriş (OTP gönderir)
      description: '**Auth:** `public` &nbsp;&nbsp;&nbsp;**Pool:** `main`


        **Post-processor:** `tenant-login`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security: []
  /client/verify-otp:
    post:
      tags:
      - Client
      summary: OTP doğrulama (JWT döner)
      description: '**Auth:** `public` &nbsp;&nbsp;&nbsp;**Pool:** `main`


        **Post-processor:** `tenant-verify-otp`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security: []
  /client/config:
    get:
      tags:
      - Client
      summary: Firma config (logo/tema/marka)
      description: '**Auth:** `public` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security: []
  /draft:
    get:
      tags:
      - Evrak Draft
      summary: GET /draft
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /kullanici/menu:
    get:
      tags:
      - Kullanıcı
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `KULLANICI_MENU_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Kullanıcı
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `KULLANICI_MENU_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mnu_ad:
                  type: string
                mnu_kul_id:
                  type: string
              required:
              - mnu_ad
              - mnu_kul_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /kullanici/menu/{id}:
    get:
      tags:
      - Kullanıcı
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `KULLANICI_MENU_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Kullanıcı
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `KULLANICI_MENU_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mnu_ad:
                  type: string
                mnu_kul_id:
                  type: string
              required:
              - mnu_ad
              - mnu_kul_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Kullanıcı
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `KULLANICI_MENU_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /kullanici/form:
    get:
      tags:
      - Kullanıcı
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `KULLANICI_FORM_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Kullanıcı
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `KULLANICI_FORM_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                frm_ad:
                  type: string
                frm_kul_id:
                  type: string
              required:
              - frm_ad
              - frm_kul_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /kullanici/form/{id}:
    get:
      tags:
      - Kullanıcı
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `KULLANICI_FORM_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Kullanıcı
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `KULLANICI_FORM_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                frm_ad:
                  type: string
                frm_kul_id:
                  type: string
              required:
              - frm_ad
              - frm_kul_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Kullanıcı
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `KULLANICI_FORM_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /kullanici/tema:
    get:
      tags:
      - Kullanıcı
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `TEMA_AYARLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Kullanıcı
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `TEMA_AYARLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tema_ad:
                  type: string
                tema_kul_id:
                  type: string
              required:
              - tema_ad
              - tema_kul_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /kullanici/tema/{id}:
    get:
      tags:
      - Kullanıcı
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `TEMA_AYARLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Kullanıcı
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `TEMA_AYARLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tema_ad:
                  type: string
                tema_kul_id:
                  type: string
              required:
              - tema_ad
              - tema_kul_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Kullanıcı
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `TEMA_AYARLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel:
    get:
      tags:
      - Personel
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PERSONELLER`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Personel
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PERSONELLER`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                per_adi:
                  type: string
                per_kod:
                  type: string
                per_soyadi:
                  type: string
              required:
              - per_adi
              - per_kod
              - per_soyadi
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/{id}:
    get:
      tags:
      - Personel
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PERSONELLER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Personel
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PERSONELLER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                per_adi:
                  type: string
                per_kod:
                  type: string
                per_soyadi:
                  type: string
              required:
              - per_adi
              - per_kod
              - per_soyadi
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Personel
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PERSONELLER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/gorev:
    get:
      tags:
      - Personel
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PERSONEL_GOREV_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Personel
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PERSONEL_GOREV_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pgk_gorev_adi:
                  type: string
                pgk_gorev_kodu:
                  type: string
              required:
              - pgk_gorev_adi
              - pgk_gorev_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/gorev/{id}:
    get:
      tags:
      - Personel
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PERSONEL_GOREV_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Personel
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PERSONEL_GOREV_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pgk_gorev_adi:
                  type: string
                pgk_gorev_kodu:
                  type: string
              required:
              - pgk_gorev_adi
              - pgk_gorev_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Personel
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PERSONEL_GOREV_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/unvan:
    get:
      tags:
      - Personel
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PERSONEL_UNVAN_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Personel
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PERSONEL_UNVAN_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                un_aciklama:
                  type: string
                un_kod:
                  type: string
              required:
              - un_aciklama
              - un_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/unvan/{id}:
    get:
      tags:
      - Personel
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PERSONEL_UNVAN_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Personel
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PERSONEL_UNVAN_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                un_aciklama:
                  type: string
                un_kod:
                  type: string
              required:
              - un_aciklama
              - un_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Personel
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PERSONEL_UNVAN_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/aile:
    get:
      tags:
      - Personel
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PERSONEL_AILE_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Personel
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PERSONEL_AILE_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                PA_adsoyad:
                  type: string
                PA_per_id:
                  type: string
              required:
              - PA_adsoyad
              - PA_per_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/aile/{id}:
    get:
      tags:
      - Personel
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PERSONEL_AILE_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Personel
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PERSONEL_AILE_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                PA_adsoyad:
                  type: string
                PA_per_id:
                  type: string
              required:
              - PA_adsoyad
              - PA_per_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Personel
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PERSONEL_AILE_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/izin:
    get:
      tags:
      - Personel
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PERSONEL_IZINLERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Personel
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PERSONEL_IZINLERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pz_baslangictarih:
                  type: string
                pz_izin_tipi:
                  type: string
                pz_per_id:
                  type: string
              required:
              - pz_baslangictarih
              - pz_izin_tipi
              - pz_per_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /personel/izin/{id}:
    get:
      tags:
      - Personel
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PERSONEL_IZINLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Personel
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PERSONEL_IZINLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pz_baslangictarih:
                  type: string
                pz_izin_tipi:
                  type: string
                pz_per_id:
                  type: string
              required:
              - pz_baslangictarih
              - pz_izin_tipi
              - pz_per_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Personel
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PERSONEL_IZINLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/iller:
    get:
      tags:
      - Referans
      summary: GET /ref/iller
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/ilceler:
    get:
      tags:
      - Referans
      summary: GET /ref/ilceler
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/vergi-daireleri:
    get:
      tags:
      - Referans
      summary: GET /ref/vergi-daireleri
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/doviz:
    get:
      tags:
      - Referans
      summary: GET /ref/doviz
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/birimler:
    get:
      tags:
      - Referans
      summary: GET /ref/birimler
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/kdv-oranlari:
    get:
      tags:
      - Referans
      summary: GET /ref/kdv-oranlari
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/ulkeler:
    get:
      tags:
      - Referans
      summary: GET /ref/ulkeler
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/bankalar:
    get:
      tags:
      - Referans
      summary: GET /ref/bankalar
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/banka-subeleri:
    get:
      tags:
      - Referans
      summary: GET /ref/banka-subeleri
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/banka-bin:
    get:
      tags:
      - Referans
      summary: GET /ref/banka-bin
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/gtip:
    get:
      tags:
      - Referans
      summary: GET /ref/gtip
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/kurlar:
    get:
      tags:
      - Referans
      summary: GET /ref/kurlar
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/mahalleler:
    get:
      tags:
      - Referans
      summary: GET /ref/mahalleler
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /ref/ziyaret-turleri:
    get:
      tags:
      - Referans
      summary: GET /ref/ziyaret-turleri
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/liste-tanim:
    get:
      tags:
      - Stok Fiyat
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_SATIS_FIYAT_LISTE_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Fiyat
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_SATIS_FIYAT_LISTE_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sfl_sirano:
                  type: string
              required:
              - sfl_sirano
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/liste-tanim/{id}:
    get:
      tags:
      - Stok Fiyat
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_SATIS_FIYAT_LISTE_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Fiyat
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_SATIS_FIYAT_LISTE_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sfl_sirano:
                  type: string
              required:
              - sfl_sirano
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Fiyat
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_SATIS_FIYAT_LISTE_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/liste:
    get:
      tags:
      - Stok Fiyat
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_SATIS_FIYAT_LISTELERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Fiyat
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_SATIS_FIYAT_LISTELERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sfiyat_liste_id:
                  type: string
                sfiyat_stok_id:
                  type: string
              required:
              - sfiyat_liste_id
              - sfiyat_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/liste/{id}:
    get:
      tags:
      - Stok Fiyat
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_SATIS_FIYAT_LISTELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Fiyat
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_SATIS_FIYAT_LISTELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sfiyat_liste_id:
                  type: string
                sfiyat_stok_id:
                  type: string
              required:
              - sfiyat_liste_id
              - sfiyat_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Fiyat
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_SATIS_FIYAT_LISTELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/degisiklik:
    get:
      tags:
      - Stok Fiyat
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_FIYAT_DEGISIKLIKLERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Fiyat
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_FIYAT_DEGISIKLIKLERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fid_fiyat_liste_id:
                  type: string
                fid_stok_id:
                  type: string
              required:
              - fid_fiyat_liste_id
              - fid_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/degisiklik/{id}:
    get:
      tags:
      - Stok Fiyat
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_FIYAT_DEGISIKLIKLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Fiyat
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_FIYAT_DEGISIKLIKLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fid_fiyat_liste_id:
                  type: string
                fid_stok_id:
                  type: string
              required:
              - fid_fiyat_liste_id
              - fid_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Fiyat
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_FIYAT_DEGISIKLIKLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/iskonto:
    get:
      tags:
      - Stok Fiyat
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_CARI_ISKONTO_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Fiyat
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_CARI_ISKONTO_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                isk_isim:
                  type: string
              required:
              - isk_isim
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-fiyat/iskonto/{id}:
    get:
      tags:
      - Stok Fiyat
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_CARI_ISKONTO_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Fiyat
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_CARI_ISKONTO_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                isk_isim:
                  type: string
              required:
              - isk_isim
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Fiyat
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_CARI_ISKONTO_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/ana-grup:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_ANA_GRUPLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_ANA_GRUPLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                san_isim:
                  type: string
                san_kod:
                  type: string
              required:
              - san_isim
              - san_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/ana-grup/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_ANA_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_ANA_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                san_isim:
                  type: string
                san_kod:
                  type: string
              required:
              - san_isim
              - san_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_ANA_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/alt-grup:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_ALT_GRUPLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_ALT_GRUPLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sta_isim:
                  type: string
                sta_kod:
                  type: string
              required:
              - sta_isim
              - sta_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/alt-grup/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_ALT_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_ALT_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sta_isim:
                  type: string
                sta_kod:
                  type: string
              required:
              - sta_isim
              - sta_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_ALT_GRUPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/kategori:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_KATEGORILERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_KATEGORILERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ktg_isim:
                  type: string
                ktg_kod:
                  type: string
              required:
              - ktg_isim
              - ktg_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/kategori/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_KATEGORILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_KATEGORILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ktg_isim:
                  type: string
                ktg_kod:
                  type: string
              required:
              - ktg_isim
              - ktg_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_KATEGORILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/sektor:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `SEKTOR_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `SEKTOR_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sktr_ismi:
                  type: string
                sktr_kod:
                  type: string
              required:
              - sktr_ismi
              - sktr_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/sektor/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `SEKTOR_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `SEKTOR_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sktr_ismi:
                  type: string
                sktr_kod:
                  type: string
              required:
              - sktr_ismi
              - sktr_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `SEKTOR_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/reyon:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_REYONLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_REYONLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ryn_ismi:
                  type: string
                ryn_kod:
                  type: string
              required:
              - ryn_ismi
              - ryn_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/reyon/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_REYONLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_REYONLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ryn_ismi:
                  type: string
                ryn_kod:
                  type: string
              required:
              - ryn_ismi
              - ryn_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_REYONLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/marka:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_MARKALARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_MARKALARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mrk_ismi:
                  type: string
                mrk_kod:
                  type: string
              required:
              - mrk_ismi
              - mrk_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/marka/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_MARKALARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_MARKALARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mrk_ismi:
                  type: string
                mrk_kod:
                  type: string
              required:
              - mrk_ismi
              - mrk_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_MARKALARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/model:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_MODEL_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_MODEL_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mdl_ismi:
                  type: string
                mdl_kodu:
                  type: string
              required:
              - mdl_ismi
              - mdl_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/model/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_MODEL_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_MODEL_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mdl_ismi:
                  type: string
                mdl_kodu:
                  type: string
              required:
              - mdl_ismi
              - mdl_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_MODEL_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/sezon:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_YILSEZON_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_YILSEZON_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ysn_ismi:
                  type: string
                ysn_kodu:
                  type: string
              required:
              - ysn_ismi
              - ysn_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/sezon/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_YILSEZON_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_YILSEZON_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ysn_ismi:
                  type: string
                ysn_kodu:
                  type: string
              required:
              - ysn_ismi
              - ysn_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_YILSEZON_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/uretici:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_URETICILERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_URETICILERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                urt_ismi:
                  type: string
                urt_kod:
                  type: string
              required:
              - urt_ismi
              - urt_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/uretici/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_URETICILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_URETICILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                urt_ismi:
                  type: string
                urt_kod:
                  type: string
              required:
              - urt_ismi
              - urt_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_URETICILERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/ambalaj:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_AMBALAJLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_AMBALAJLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amb_ismi:
                  type: string
                amb_kod:
                  type: string
              required:
              - amb_ismi
              - amb_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/ambalaj/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_AMBALAJLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_AMBALAJLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amb_ismi:
                  type: string
                amb_kod:
                  type: string
              required:
              - amb_ismi
              - amb_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_AMBALAJLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/renk:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_RENK_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_RENK_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rnk_ad:
                  type: string
                rnk_kod:
                  type: string
              required:
              - rnk_ad
              - rnk_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/renk/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_RENK_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_RENK_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rnk_ad:
                  type: string
                rnk_kod:
                  type: string
              required:
              - rnk_ad
              - rnk_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_RENK_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/beden:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_BEDEN_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_BEDEN_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bdn_ad:
                  type: string
                bdn_kod:
                  type: string
              required:
              - bdn_ad
              - bdn_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/beden/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_BEDEN_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_BEDEN_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bdn_ad:
                  type: string
                bdn_kod:
                  type: string
              required:
              - bdn_ad
              - bdn_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_BEDEN_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/depo-detay:
    get:
      tags:
      - Stok Referans
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_DEPO_DETAYLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Referans
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_DEPO_DETAYLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sdp_depo_id:
                  type: string
                sdp_stok_id:
                  type: string
              required:
              - sdp_depo_id
              - sdp_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-ref/depo-detay/{id}:
    get:
      tags:
      - Stok Referans
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_DEPO_DETAYLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Referans
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_DEPO_DETAYLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sdp_depo_id:
                  type: string
                sdp_stok_id:
                  type: string
              required:
              - sdp_depo_id
              - sdp_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Referans
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_DEPO_DETAYLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/recete:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `URUN_RECETELERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `URUN_RECETELERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rec_ana_stok_id:
                  type: string
              required:
              - rec_ana_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/recete/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `URUN_RECETELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `URUN_RECETELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rec_ana_stok_id:
                  type: string
              required:
              - rec_ana_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `URUN_RECETELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/paket:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_PAKET_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_PAKET_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pak_kod:
                  type: string
                pak_stok_id:
                  type: string
              required:
              - pak_kod
              - pak_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/paket/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_PAKET_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_PAKET_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pak_kod:
                  type: string
                pak_stok_id:
                  type: string
              required:
              - pak_kod
              - pak_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_PAKET_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/barkod:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `BARKOD_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `BARKOD_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bar_kodu:
                  type: string
                bar_stok_id:
                  type: string
              required:
              - bar_kodu
              - bar_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/barkod/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `BARKOD_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `BARKOD_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bar_kodu:
                  type: string
                bar_stok_id:
                  type: string
              required:
              - bar_kodu
              - bar_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `BARKOD_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/serino:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_SERINO_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_SERINO_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                chz_serino:
                  type: string
                chz_stok_id:
                  type: string
              required:
              - chz_serino
              - chz_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/serino/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_SERINO_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_SERINO_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                chz_serino:
                  type: string
                chz_stok_id:
                  type: string
              required:
              - chz_serino
              - chz_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_SERINO_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/parti:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PARTI_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PARTI_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prt_kod:
                  type: string
                prt_stok_id:
                  type: string
              required:
              - prt_kod
              - prt_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/parti/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PARTI_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PARTI_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prt_kod:
                  type: string
                prt_stok_id:
                  type: string
              required:
              - prt_kod
              - prt_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PARTI_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/lot:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `LOT_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `LOT_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                lot_kod:
                  type: string
                lot_stok_id:
                  type: string
              required:
              - lot_kod
              - lot_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/lot/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `LOT_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `LOT_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                lot_kod:
                  type: string
                lot_stok_id:
                  type: string
              required:
              - lot_kod
              - lot_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `LOT_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/hammadde:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOK_ANAHAMMADDELERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOK_ANAHAMMADDELERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ahm_ismi:
                  type: string
                ahm_kodu:
                  type: string
              required:
              - ahm_ismi
              - ahm_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/hammadde/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOK_ANAHAMMADDELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOK_ANAHAMMADDELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ahm_ismi:
                  type: string
                ahm_kodu:
                  type: string
              required:
              - ahm_ismi
              - ahm_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOK_ANAHAMMADDELERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/sayim:
    get:
      tags:
      - Stok Üretim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `SAYIM_SONUCLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok Üretim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `SAYIM_SONUCLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sym_depo_id:
                  type: string
                sym_stok_id:
                  type: string
              required:
              - sym_depo_id
              - sym_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok-uretim/sayim/{id}:
    get:
      tags:
      - Stok Üretim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `SAYIM_SONUCLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok Üretim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `SAYIM_SONUCLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sym_depo_id:
                  type: string
                sym_stok_id:
                  type: string
              required:
              - sym_depo_id
              - sym_stok_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok Üretim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `SAYIM_SONUCLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok:
    get:
      tags:
      - Stok
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `STOKLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Stok
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `STOKLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sto_isim:
                  type: string
                sto_kod:
                  type: string
              required:
              - sto_isim
              - sto_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok/{id}:
    get:
      tags:
      - Stok
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `STOKLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Stok
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `STOKLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sto_isim:
                  type: string
                sto_kod:
                  type: string
              required:
              - sto_isim
              - sto_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Stok
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `STOKLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok/enum-secenekler:
    get:
      tags:
      - Stok
      summary: ENUM değer listesi
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /stok/ref-siniflandirma:
    get:
      tags:
      - Stok
      summary: GET /stok/ref-siniflandirma
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /takvim:
    get:
      tags:
      - Takvim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `TAKVIM_ETKINLIKLERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Takvim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `TAKVIM_ETKINLIKLERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                etk_baslangic:
                  type: string
                etk_baslik:
                  type: string
              required:
              - etk_baslangic
              - etk_baslik
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /takvim/{id}:
    get:
      tags:
      - Takvim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `TAKVIM_ETKINLIKLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Takvim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `TAKVIM_ETKINLIKLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                etk_baslangic:
                  type: string
                etk_baslik:
                  type: string
              required:
              - etk_baslangic
              - etk_baslik
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Takvim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `TAKVIM_ETKINLIKLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /takvim/bildirim:
    get:
      tags:
      - Takvim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `TAKVIM_BILDIRIMLER`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Takvim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `TAKVIM_BILDIRIMLER`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bld_etkinlik_id:
                  type: string
              required:
              - bld_etkinlik_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /takvim/bildirim/{id}:
    get:
      tags:
      - Takvim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `TAKVIM_BILDIRIMLER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Takvim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `TAKVIM_BILDIRIMLER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bld_etkinlik_id:
                  type: string
              required:
              - bld_etkinlik_id
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Takvim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `TAKVIM_BILDIRIMLER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /takvim/yorum:
    get:
      tags:
      - Takvim
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `TAKVIM_YORUMLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Takvim
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `TAKVIM_YORUMLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                yrm_etkinlik_id:
                  type: string
                yrm_yorum:
                  type: string
              required:
              - yrm_etkinlik_id
              - yrm_yorum
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /takvim/yorum/{id}:
    get:
      tags:
      - Takvim
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `TAKVIM_YORUMLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Takvim
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `TAKVIM_YORUMLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                yrm_etkinlik_id:
                  type: string
                yrm_yorum:
                  type: string
              required:
              - yrm_etkinlik_id
              - yrm_yorum
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Takvim
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `TAKVIM_YORUMLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/departman:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `DEPARTMANLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `DEPARTMANLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pdp_adi:
                  type: string
                pdp_kodu:
                  type: string
              required:
              - pdp_adi
              - pdp_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/departman/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `DEPARTMANLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `DEPARTMANLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pdp_adi:
                  type: string
                pdp_kodu:
                  type: string
              required:
              - pdp_adi
              - pdp_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `DEPARTMANLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/banka:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `BANKALAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `BANKALAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ban_ismi:
                  type: string
                ban_kod:
                  type: string
              required:
              - ban_ismi
              - ban_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/banka/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `BANKALAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `BANKALAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ban_ismi:
                  type: string
                ban_kod:
                  type: string
              required:
              - ban_ismi
              - ban_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `BANKALAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/demirbas:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `DEMIRBASLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `DEMIRBASLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                dem_isim:
                  type: string
                dem_kod:
                  type: string
              required:
              - dem_isim
              - dem_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/demirbas/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `DEMIRBASLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `DEMIRBASLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                dem_isim:
                  type: string
                dem_kod:
                  type: string
              required:
              - dem_isim
              - dem_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `DEMIRBASLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/depo:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `DEPOLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `DEPOLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                dep_adi:
                  type: string
              required:
              - dep_adi
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/depo/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `DEPOLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `DEPOLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                dep_adi:
                  type: string
              required:
              - dep_adi
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `DEPOLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/proje:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `PROJELER`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `PROJELER`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pro_adi:
                  type: string
                pro_kodu:
                  type: string
              required:
              - pro_adi
              - pro_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/proje/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `PROJELER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `PROJELER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pro_adi:
                  type: string
                pro_kodu:
                  type: string
              required:
              - pro_adi
              - pro_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `PROJELER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/sorumluluk-merkezi:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `SORUMLULUK_MERKEZLERI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `SORUMLULUK_MERKEZLERI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                som_isim:
                  type: string
                som_kod:
                  type: string
              required:
              - som_isim
              - som_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/sorumluluk-merkezi/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `SORUMLULUK_MERKEZLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `SORUMLULUK_MERKEZLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                som_isim:
                  type: string
                som_kod:
                  type: string
              required:
              - som_isim
              - som_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `SORUMLULUK_MERKEZLERI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/odeme-plani:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `ODEME_PLANLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `ODEME_PLANLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                odp_adi:
                  type: string
                odp_kodu:
                  type: string
              required:
              - odp_adi
              - odp_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/odeme-plani/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `ODEME_PLANLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `ODEME_PLANLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                odp_adi:
                  type: string
                odp_kodu:
                  type: string
              required:
              - odp_adi
              - odp_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `ODEME_PLANLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/evrak-aciklama:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `EVRAK_ACIKLAMALARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `EVRAK_ACIKLAMALARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                egk_evr_tip:
                  type: string
              required:
              - egk_evr_tip
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/evrak-aciklama/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `EVRAK_ACIKLAMALARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `EVRAK_ACIKLAMALARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                egk_evr_tip:
                  type: string
              required:
              - egk_evr_tip
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `EVRAK_ACIKLAMALARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/multikod:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `MULTIKOD_TANIMLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `MULTIKOD_TANIMLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mcod_caristok_kod:
                  type: string
              required:
              - mcod_caristok_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/multikod/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `MULTIKOD_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `MULTIKOD_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mcod_caristok_kod:
                  type: string
              required:
              - mcod_caristok_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `MULTIKOD_TANIMLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/genel-grup:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `GENEL_GRUPLAR`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `GENEL_GRUPLAR`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                gg_ad:
                  type: string
                gg_kod:
                  type: string
                gg_modul:
                  type: string
              required:
              - gg_ad
              - gg_kod
              - gg_modul
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/genel-grup/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `GENEL_GRUPLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `GENEL_GRUPLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                gg_ad:
                  type: string
                gg_kod:
                  type: string
                gg_modul:
                  type: string
              required:
              - gg_ad
              - gg_kod
              - gg_modul
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `GENEL_GRUPLAR`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/hizmet-masraf:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `HIZMET_MASRAF_HESAPLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `HIZMET_MASRAF_HESAPLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                hmh_isim:
                  type: string
                hmh_kod:
                  type: string
              required:
              - hmh_isim
              - hmh_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/hizmet-masraf/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `HIZMET_MASRAF_HESAPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `HIZMET_MASRAF_HESAPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                hmh_isim:
                  type: string
                hmh_kod:
                  type: string
              required:
              - hmh_isim
              - hmh_kod
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `HIZMET_MASRAF_HESAPLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/kredi-karti:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `KREDI_KARTLARI`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `KREDI_KARTLARI`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                kka_isim:
                  type: string
                kka_no:
                  type: integer
              required:
              - kka_isim
              - kka_no
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/kredi-karti/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `KREDI_KARTLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `KREDI_KARTLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                kka_isim:
                  type: string
                kka_no:
                  type: integer
              required:
              - kka_isim
              - kka_no
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `KREDI_KARTLARI`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/sube:
    get:
      tags:
      - Tanım + ENUM
      summary: Liste (sayfalama + arama)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_List` (tablo: `SUBELER`)'
      parameters:
      - name: sayfa
        in: query
        required: false
        description: 'Sayfa numarası (default: 1)'
        schema:
          type: integer
      - name: adet
        in: query
        required: false
        description: 'Sayfa başı kayıt (default: 50)'
        schema:
          type: integer
      - name: arama
        in: query
        required: false
        description: Arama metni (opsiyonel)
        schema:
          type: string
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    post:
      tags:
      - Tanım + ENUM
      summary: Yeni kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Insert` (tablo: `SUBELER`)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                Sube_adi:
                  type: string
                Sube_kodu:
                  type: string
              required:
              - Sube_adi
              - Sube_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/sube/{id}:
    get:
      tags:
      - Tanım + ENUM
      summary: Tekil kayıt
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Get` (tablo: `SUBELER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    put:
      tags:
      - Tanım + ENUM
      summary: Güncelle
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Update` (tablo: `SUBELER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                Sube_adi:
                  type: string
                Sube_kodu:
                  type: string
              required:
              - Sube_adi
              - Sube_kodu
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
    delete:
      tags:
      - Tanım + ENUM
      summary: Sil (soft-delete)
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`


        **Procedure:** `sp_Tanim_Delete` (tablo: `SUBELER`)'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          description: '`id` (UUID veya integer)'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/enum:
    get:
      tags:
      - Tanım + ENUM
      summary: ENUM değer listesi
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/genel-grup/enum-secenekler:
    get:
      tags:
      - Tanım + ENUM
      summary: ENUM değer listesi
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `tenant`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /tanim/mali-donemler:
    get:
      tags:
      - Tanım + ENUM
      summary: GET /tanim/mali-donemler
      description: '**Auth:** `tenant` &nbsp;&nbsp;&nbsp;**Pool:** `main`'
      responses:
        '200':
          description: Başarılı
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Islem Basarili
                  data:
                    type: object
                    description: Endpoint'e özel veri
        '401':
          description: Yetkilendirme yok (token eksik/geçersiz)
        '404':
          description: Bulunamadı
        '500':
          description: Sunucu hatası
      security:
      - bearerAuth: []
  /health:
    get:
      tags:
      - Sistem
      summary: Sağlık kontrolü
      description: Backend ayakta mı (auth gerektirmez).
      security: []
      responses:
        '200':
          description: Servis çalışıyor
          content:
            application/json:
              schema:
                type: object
                example:
                  result: true
                  message: OK
                  data:
                    engine: go-v2
                    mode: restful
                    status: running
  /ws/evrak:
    get:
      tags:
      - Sistem
      summary: WebSocket upgrade (evrak collaboration)
      description: 'JWT ile authenticated WebSocket bağlantısı. Hub-broker pattern: bir kullanıcı evrak kaydedince diğer subscribe''lara `tenant_notify` mesajı düşer.'
      security:
      - bearerAuth: []
      responses:
        '101':
          description: WebSocket upgrade
        '401':
          description: Token gerekli
  /ws/status:
    get:
      tags:
      - Sistem
      summary: WebSocket hub durumu
      description: Aktif bağlantı sayısı + hub statüsü.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Hub durumu
        '401':
          description: Token gerekli
  /kullanici/lookup:
    post:
      tags:
      - Kullanıcı
      summary: Kullanıcı arama (email/telefon)
      description: Admin yetkili — email/telefon ile kullanıcı bulma.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  example: armaganyasar@gmail.com
                telefon:
                  type: string
                  example: '+905335450591'
      responses:
        '200':
          description: Bulundu
        '404':
          description: Bulunamadı
  /stok-operasyon/sayim:
    post:
      tags:
      - Stok Operasyon (Sayım)
      summary: Yeni sayım fişi
      description: Header + satırlar tek seferde insert.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              example:
                sym_tarih: '2026-05-20'
                sym_depo_id: GUID
                sym_aciklama: Aylık sayım
                sym_sayim_tipi: 0
                satirlar:
                - syr_stok_id: GUID
                  syr_miktar1: 100
                  syr_birim_id: GUID
      responses:
        '200':
          description: Sayım oluşturuldu
    get:
      tags:
      - Stok Operasyon (Sayım)
      summary: Sayım listesi
      parameters:
      - name: sayfa
        in: query
        schema:
          type: integer
      - name: adet
        in: query
        schema:
          type: integer
      - name: arama
        in: query
        schema:
          type: string
      - name: depo_id
        in: query
        schema:
          type: string
      - name: evrak_durumu
        in: query
        schema:
          type: integer
          description: 0=Taslak, 1=Onaylandı, 2=Kesinleşti
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Sayım listesi
  /stok-operasyon/sayim/{evrakno}:
    get:
      tags:
      - Stok Operasyon (Sayım)
      summary: Sayım fişi detay
      parameters:
      - name: evrakno
        in: path
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Sayım detay (header + satırlar)
    put:
      tags:
      - Stok Operasyon (Sayım)
      summary: Sayım güncelle
      parameters:
      - name: evrakno
        in: path
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Güncellendi
    delete:
      tags:
      - Stok Operasyon (Sayım)
      summary: Sayım sil (soft)
      parameters:
      - name: evrakno
        in: path
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Silindi
  /stok-operasyon/takip-detay/{stok_id}:
    get:
      tags:
      - Stok Operasyon (Sayım)
      summary: Stok takip detayı
      parameters:
      - name: stok_id
        in: path
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Hareket detayı
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token (login akışından sonra alınır)
