Skip to content

docs(entegrasyon): dış poliçe (external policy) API entegrasyon rehberi - #57

Merged
kerem-acer merged 1 commit into
mainfrom
docs/dis-police-entegrasyonu
Sep 16, 2026
Merged

kerem-acer merged 1 commit into
mainfrom
docs/dis-police-entegrasyonu

Conversation

@ahmet-cetinkaya

@ahmet-cetinkaya ahmet-cetinkaya commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Özet

Sigorta Hizmetleri mutabakatına ek olarak API üzerinden dış poliçe kaydı almak isteyen partner ekipleri (ör. SenCard IT) için docs.insurup.com üzerinde Dış Poliçe entegrasyon rehberi.

İçerik

  • OWN / EXTERNAL poliçe sahipliği kavramı
  • POST /policies/external endpoint'i — yetkilendirme (AgentUserPolicy + policy:write/core-api scope), istek gövdesi alanları, örnek istek/yanıt
  • Hata durumları ve doğrulama kuralları (400/401/403, çakışma kontrolü, consent)
  • Poliçe PDF yükleme (POST /policies/{policyId}/manual-document)
  • Davranış kuralları (idempotency, müşteri eşleştirme, webhook yok)

Tüm teknik bilgiler core repodaki CreateExternalPolicyEndpoint + CreateExternalPolicyRequestValidator + handler üzerinden doğrulandı.

Doğrulama

  • npx docusaurus build temiz geçti — sayfa build/entegrasyon/dis-police-entegrasyonu.html olarak üretiliyor, broken link yok
  • Frontmatter mevcut doküman kalıbıyla uyumlu (title, sidebar_position: 12, slug)
  • "Test deployment" check'i bu repoda tüm PR'lerde kırık (yarn.lock arıyor, repo npm kullanıyor); merge sonrası main'deki Deploy to GitHub Pages workflow'u etkilenmiyor

Related

Closes (Notion): Dış Poliçe (Acentenin Olmayan Poliçe) Aktarımı

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d573751
Status:🚫  Build failed.

View logs

@ahmet-cetinkaya ahmet-cetinkaya self-assigned this Sep 16, 2026
@ahmet-cetinkaya ahmet-cetinkaya added the documentation Improvements or additions to documentation label Sep 16, 2026
@kerem-acer
kerem-acer merged commit 867126e into main Sep 16, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants