naapsak
  1. events
naapsak
  • App
    • AppController_healthy
      GET
    • AppController_getEnums
      GET
  • auth
    • Email/Password ile kayıt
      POST
    • Email/Password ile giriş
      POST
    • Google ile giriş
      POST
    • Apple ile giriş
      POST
    • Token yenileme
      POST
    • Çıkış yap
      POST
    • Profil bilgileri
      GET
  • users
    • Kullanıcı profilini getir
      GET
    • Profil güncelle
      PUT
    • Hesabı sil (deaktif et)
      DELETE
  • businesses
    • İşletme oluştur
      POST
    • İşletmeleri listele/ara
      GET
    • Yakındaki işletmeler
      GET
    • Benim işletmelerim
      GET
    • Badge istatistikleri
      GET
    • En popüler badge'ler
      GET
    • Badge'e göre işletme ara
      GET
    • Ne yesek? Nereye gitsek? Ne yapsak? gibi sectionların öne çıkan kategorileri
      GET
    • İşletme detayı
      GET
    • İşletme sil
      DELETE
    • İşletme badge'lerini güncelle
      PUT
  • reviews
    • Yorum oluştur
    • İşletme yorumlarını listele
    • Benim yorumlarım
    • Yorum güncelle
    • Yorum sil
  • notifications
    • Bildirim gönder (Admin)
    • Kendi bildirimlerimi getir
    • Okunmamış bildirim sayısı
    • Bildirimi okundu olarak işaretle
    • Tüm bildirimleri okundu olarak işaretle
    • Bildirimi sil
    • Bildirim istatistikleri (Admin)
    • OneSignal Webhook
  • foodprefs
    • Kullanıcı yemek tercihi oluştur
    • Tüm kullanıcıların yemek tercihlerini listele (Admin)
    • Kendi yemek tercihimi getir
    • Kendi yemek tercihimi güncelle
    • Kendi yemek tercihimi sil
    • Belirli kullanıcının yemek tercihini getir
    • Belirli yemek tercihine sahip kullanıcıları getir
    • Yemek tercih istatistikleri
  • activityprefs
    • Kullanıcı aktivite tercihi oluştur
    • Tüm kullanıcıların aktivite tercihlerini listele (Admin)
    • Kendi aktivite tercihimi getir
    • Kendi aktivite tercihimi güncelle
    • Kendi aktivite tercihimi sil
    • Belirli kullanıcının aktivite tercihini getir
    • Belirli aktivite tercihine sahip kullanıcıları getir
    • Benzer aktivite tercihlerine sahip kullanıcı önerileri
    • Aktivite tercih istatistikleri
  • banners
    • Yeni banner oluştur
    • Tüm bannerları getir
    • Aktif bannerları getir
    • ID ile banner getir
    • Banner güncelle
    • Banner sil
  • favorites
    • İşletmeyi favorilere ekle
    • İşletmeyi favorilerden çıkar
    • Favori işletmelerimi getir
    • Favori sayımı
    • İşletme favorilerde mi kontrol et
    • Tüm favorileri temizle
    • En popüler işletmeler
    • İşletmenin favori sayısı
  • menu-items
    • Menü öğesi oluştur
    • İşletme menüsünü getir
    • Benim işletmemin menü öğeleri
    • Menü öğesi detayı
    • Menü öğesi güncelle
    • Menü öğesi sil
    • Menü öğeleri sıralama güncelle
  • events
    • Etkinlik oluştur
      POST
    • İşletme etkinliklerini getir
      GET
    • Benim işletmemin etkinlikleri
      GET
    • Yaklaşan etkinlikler
      GET
    • Etkinlik detayı
      GET
    • Etkinlik güncelle
      PUT
    • Etkinlik sil
      DELETE
    • Etkinlik sıralama güncelle
      PATCH
    • Etkinlik durumlarını güncelle
      PATCH
  • packages
    • Paket oluştur
    • İşletme paketlerini getir
    • Benim işletmemin paketleri
    • Popüler paketler
    • Paket ara
    • Paket detayı
    • Paket güncelle
    • Paket sil
    • Paket sıralama güncelle
  • auth-verification
    • Email doğrulama gönder
    • Email doğrula
    • Email doğrula (GET)
    • Şifre sıfırlama talebi
    • Şifre sıfırlama token doğrula
    • Şifre sıfırla
    • Email doğrulama durumu
  • places
    • Mekan ara
  1. events

Etkinlik güncelle

PUT
/api/events/{id}
Mevcut etkinliği günceller
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://naapsak.berkeugur.com/api/events/'
Response Response Example
200 - Example 1
{
    "id": "6503f1234567890abcdef123",
    "title": "Teoman Konseri",
    "description": "Ünlü sanatçı Teoman'ın unutulmaz konser gecesi",
    "type": "concert",
    "price": 150,
    "image": "https://example.com/teoman-concert.jpg",
    "isFeatured": true,
    "startDate": "2024-06-15T20:00:00Z",
    "endDate": "2024-06-15T23:00:00Z",
    "status": "upcoming",
    "maxParticipants": 500,
    "currentParticipants": 125,
    "ageLimit": 18,
    "businessId": "6503f1234567890abcdef456",
    "isActive": true,
    "sortOrder": 1,
    "organizer": "Teoman",
    "ticketUrl": "https://biletix.com/teoman-konseri",
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
}

Request

Path Params
id
string 
required
Etkinlik ID'si
Body Params multipart/form-data
title
string 
optional
Etkinlik başlığı
Example:
Teoman Konseri
description
string 
optional
Etkinlik açıklaması
Example:
Ünlü sanatçı Teoman'ın unutulmaz konser gecesi
type
enum<string> 
optional
Etkinlik türü
Allowed values:
concerttheaterfestivalcomedyexhibitionworkshopdancemusicconferenceother
Example:
concert
price
number 
optional
Bilet fiyatı (TL)
>= 0
Example:
150
image
string 
optional
Etkinlik görseli URL'si
Example:
https://example.com/teoman-concert.jpg
isFeatured
boolean 
optional
Öne çıkarılmış etkinlik mi?
Default:
false
Example:
true
startDate
string <date-time>
optional
Etkinlik başlangıç tarihi ve saati
Example:
2024-06-15T20:00:00Z
endDate
string <date-time>
optional
Etkinlik bitiş tarihi ve saati
Example:
2024-06-15T23:00:00Z
status
enum<string> 
optional
Etkinlik durumu
Allowed values:
upcomingongoingcompletedcancelled
Example:
upcoming
maxParticipants
number 
optional
Maksimum katılımcı sayısı
Example:
500
currentParticipants
number 
optional
Mevcut katılımcı sayısı
Default:
0
Example:
125
ageLimit
number 
optional
Yaş sınırı
Example:
18
businessId
object 
optional
Bu etkinliğin ait olduğu işletme ID'si
Example:
6503f1234567890abcdef123
isActive
boolean 
optional
Etkinliğin aktif olup olmadığı
Default:
true
Example:
true
sortOrder
number 
optional
Sıralama değeri (düşük değer önce gösterilir)
Default:
0
Example:
1
organizer
string 
optional
Etkinlik organizatörü/sanatçı
Example:
Teoman
ticketUrl
string 
optional
Bilet satış linki
Example:
https://biletix.com/teoman-konseri
file
file 
optional
Etkinlik görseli

Responses

🟢200OK
application/json
Etkinlik güncellendi
Body
id
string 
required
Example:
6503f1234567890abcdef123
title
string 
required
Example:
Teoman Konseri
description
string 
required
Example:
Ünlü sanatçı Teoman'ın unutulmaz konser gecesi
type
enum<string> 
required
Allowed values:
concerttheaterfestivalcomedyexhibitionworkshopdancemusicconferenceother
Example:
concert
price
number 
required
Example:
150
image
string 
required
Example:
https://example.com/teoman-concert.jpg
isFeatured
boolean 
required
Example:
true
startDate
string <date-time>
required
Example:
2024-06-15T20:00:00Z
endDate
string <date-time>
required
Example:
2024-06-15T23:00:00Z
status
enum<string> 
required
Allowed values:
upcomingongoingcompletedcancelled
Example:
upcoming
maxParticipants
number 
optional
Example:
500
currentParticipants
number 
required
Example:
125
ageLimit
number 
optional
Example:
18
businessId
string 
required
Example:
6503f1234567890abcdef456
isActive
boolean 
required
Example:
true
sortOrder
number 
required
Example:
1
organizer
string 
optional
Example:
Teoman
ticketUrl
string 
optional
Example:
https://biletix.com/teoman-konseri
createdAt
string <date-time>
required
Example:
2024-01-15T10:30:00Z
updatedAt
string <date-time>
required
Example:
2024-01-15T10:30:00Z
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-07-17 08:33:06
Previous
Etkinlik detayı
Next
Etkinlik sil
Built with