Ana içeriğe geç

Müşteri Başvuruları

Müşterinin başvurularını listeler.

Endpoint

GET /api/v1/customers/\{uuid\}/applications

Authentication

Bu endpoint authentication gerektirir.

Header: Authorization: Bearer \{token\}

Permission

  • customers.view - Tüm müşterileri görüntüleme
  • customers.view.own - Sadece kendi müşterilerini görüntüleme

Request

Headers

HeaderDeğerZorunlu
AuthorizationBearer \{token\}Evet

Path Parameters

ParametreTipZorunluAçıklama
uuidstringEvetMüşteri UUID'si

Query Parameters

ParametreTipZorunluAçıklama
pageintegerHayırSayfa numarası (varsayılan: 1)
per_pageintegerHayırSayfa başına kayıt (varsayılan: 15, max: 100)

Response

Success Response (200 OK)

{
"data": [
{
"id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440002",
"customer_id": 1,
"subject_code": "CERT001",
"status": "pending",
"created_at": "2025-11-20T12:00:00.000000Z"
}
],
"current_page": 1,
"per_page": 15,
"total": 1,
"last_page": 1
}

Error Responses

404 Not Found

{
"message": "Not Found"
}

403 Forbidden

{
"message": "Forbidden"
}

Code Examples

cURL

curl -X GET https://api.example.com/api/v1/customers/550e8400-e29b-41d4-a716-446655440000/applications \
-H "Authorization: Bearer \{token\}"

Notes

  • Başvurular pagination ile döner
  • Sadece müşteriye ait başvurular listelenir