Başvuru Güncelle
Başvuru bilgilerini günceller.
Endpoint
PUT /api/v1/applications/\{uuid\}
PATCH /api/v1/applications/\{uuid\}
Authentication
Bu endpoint authentication gerektirir.
Header: Authorization: Bearer \{token\}
Permission
applications.update- Tüm başvuruları güncellemeapplications.update.own- Sadece kendi başvurularını güncelleme
Request
Headers
| Header | Değer | Zorunlu |
|---|---|---|
Authorization | Bearer \{token\} | Evet |
Content-Type | application/json | Evet |
Path Parameters
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
uuid | string | Evet | Başvuru UUID'si |
Request Body
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
subject_code | string | Hayır | Başvuru konu kodu |
title | string | Hayır | Başvuru başlığı |
description | string | Hayır | Başvuru açıklaması |
status | string | Hayır | Başvuru durumu |
type | string | Hayır | Başvuru tipi |
is_active | boolean | Hayır | Aktif durumu |
Example Request
{
"title": "Siber Güvenlik Sertifikası Updated",
"status": "approved",
"is_active": true
}
Response
Success Response (200 OK)
{
"id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440001",
"title": "Siber Güvenlik Sertifikası Updated",
"status": "approved",
"is_active": true,
"updated_at": "2025-11-20T12:00:00.000000Z"
}
Error Responses
404 Not Found
{
"message": "Not Found"
}
403 Forbidden
{
"message": "Forbidden"
}
Code Examples
cURL
curl -X PATCH https://api.example.com/api/v1/applications/550e8400-e29b-41d4-a716-446655440001 \
-H "Authorization: Bearer \{token\}" \
-H "Content-Type: application/json" \
-d '{
"title": "Siber Güvenlik Sertifikası Updated",
"status": "approved"
}'
Notes
.ownpermission'ı olan kullanıcılar sadece kendi müşterilerinin başvurularını güncelleyebilirPUTtüm alanları günceller,PATCHsadece gönderilen alanları günceller
Related Endpoints
- Başvuru Detayı - Başvuru detayını getir
- Başvuru Sil - Başvuru sil