Proje: Okul B2B App · Hub: Okul B2B App — Domain
Bildirim İzinleri Güncelleme
API Endpoint
PUT /customer/notification-permissions
Request:
{
notifications: [
{ notification_id: 2484, enabled: true }, // SMS
{ notification_id: 2485, enabled: true }, // Email
{ notification_id: 2486, enabled: true }, // Çağrı
]
}Permission ID’leri
| ID | Tür |
|---|---|
| 2484 | SMS |
| 2485 | |
| 2486 | Telefon |
Profil’den Erişim
NotificationSettingsModal → NotificationService.updateNotificationPermissions({sms, mail, call}) → PUT /customer/notification-permissions
markAllAsRead
await NotificationService.markAllAsRead();
// POST /customer/notifications/mark-as-read
// body: { notification_ids: [] } (boş array = tümünü işaretle)Related
- bildirim-api-yapisi — API yapısı ve UUID’ler
- bildirim-sistemi — bildirim architecture