ErrorPatternExplanations By Id

## GET /api/ErrorPatternExplanations/{id} Sistemde tanımlı tek bir **ErrorPatternExplanation** kaydını ID'ye göre döner. ### Yetkilendirme `[Authorize(Policy = Constants.Authorization.Read)]` — Bearer token zorunlu, `Read` policy yetkisi gerekli. ### Route Parametreleri | Parametre | Tip | Zorunlu | Kural | | --- | --- | --- | --- | | `id` | int | Evet | `> 0` | ### Başarılı Yanıt (200) `ErrorPatternExplanationDTO` döner: ```json { "id": 42, "errorMessage": "Connection timeout", "description": "Karşı sistem ile bağlantı zaman aşımına uğradı." } ``` ### Hata Kodları | Kod | HTTP | Açıklama | | --- | --- | --- | | `ErrorPatternExplanations.InvalidId` | 400 | `id <= 0` | | — | 401 | Token eksik / geçersiz | | — | 403 | `Read` yetkisi yok | | `ErrorPatternExplanations.NotFound` | 404 | Belirtilen id ile kayıt bulunamadı | | — | 500 | Beklenmeyen sunucu hatası |

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

validIdstringRequired

Response headers

Content-TypestringOptional

Response

OK

Errors

400
Bad Request Error
404
Not Found Error