> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anivahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Konumları listele

> API anahtarının kullanabileceği tüm test konumlarını getir

API anahtarının erişebildiği tüm aktif test konumlarını getir. [Randevu oluştur](https://docs.anivahealth.com/tr/api/appointments/create-appointment.md) ile randevu oluştururken dönen bir konumun `id` değerini kullan.

`locations_view` veya `appointments_schedule` kapsamını gerektirir.

## İstek

Bu uç nokta istek parametresi almaz.

## Yanıt

Başarılı olduğunda API, konum nesnelerinden oluşan bir diziyle birlikte `200 OK` döndürür.

**id** `string` *required*

Benzersiz konum kimliği (UUID).

**name** `string` *required*

Konumun görünen adı.

**company\_name** `string`

Şirket veya klinik adı. `null` olabilir.

**street** `string`

Kapı numarası olmadan sokak adı. `null` olabilir.

**house\_number** `string`

Kapı numarası. `null` olabilir.

**address\_line\_2** `string`

Ek adres satırı — c/o, bina veya kat. `null` olabilir.

**city** `string`

Şehir. `null` olabilir.

**state** `string`

Eyalet veya il. Şehrin bağlı olduğu bir eyalet yoksa (ör. şehir devletleri veya eşlenmemiş
içe aktarımlar) `null` olabilir.

**state\_code** `string`

Eyaletin ülke ön eki olmadan ISO 3166-2 kodu (ör. Baden-Württemberg için `BW`). `null`
olabilir.

**postal\_code** `string`

Posta veya ZIP kodu. `null` olabilir.

**country\_name** `string`

Tam ülke adı. `null` olabilir.

**country\_code** `string`

ISO 3166-1 alpha-2 ülke kodu (ör. `DE`, `US`, `FI`). `null` olabilir.

**timezone** `string`

IANA saat dilimi tanımlayıcısı (ör. `Europe/Berlin`). `null` olabilir.

**latitude** `number`

Adresin ondalık derece cinsinden enlemi (WGS 84). `null` olabilir.

**longitude** `number`

Adresin ondalık derece cinsinden boylamı (WGS 84). `null` olabilir.

**contact\_phone** `string`

Konumun iletişim telefon numarası. `null` olabilir.

**email** `string`

İletişim e-posta adresi. `null` olabilir.

**website** `string`

Web sitesi URL'si. `null` olabilir.

**google\_maps\_url** `string`

Konumun Google Maps bağlantısı. `null` olabilir.

**image\_url** `string`

Konum fotoğrafının URL'si. `null` olabilir.

**open\_hours** `object`

Haftalık çalışma saatleri. Her gün anahtarı (`monday`–`sunday`), açılış/kapanış saat
aralıklarından oluşan bir diziye eşlenir. Boş bir dizi, konumun o gün kapalı olduğu anlamına
gelir. Konum için çalışma saatleri mevcut değilse nesnenin tamamı `null` olur.

**günlük saat aralığı**

**open** `string` *required*

`HH:MM` (24 saat) biçiminde açılış saati.

**close** `string` *required*

`HH:MM` (24 saat) biçiminde kapanış saati.

**default\_draw\_method** `string` *required*

Randevu kendi `draw_method` değerini belirlemediği sürece buradaki bir randevuda kanın nasıl
alındığı: `capillary` (parmak ucundan veya üst koldan, mikrotüplere) veya `venous` (damardan,
tüplere).

**draw\_methods** `string[]` *required*

Konumun numune kabı bulundurduğu kan alma yöntemleri, sıralı olarak. Buradaki bir randevu,
`draw_method` olarak bunlardan yalnızca birini belirleyebilir.

## Hata yanıtları

| Durum | Açıklama |
| - | - |
| `403` | Yasak — API anahtarının bu işleme erişimi yok. |
| `500` | Dahili sunucu hatası. |

```bash cURL theme={null}
curl --request GET \
  --url https://anivahealth.com/api/v1/locations \
  --header 'x-api-key: YOUR_API_KEY'
```

```json 200 theme={null}
[
  {
    "id": "b7e2d1f5-3c4a-4e8b-a2f1-9d0c1e2f3a4b",
    "name": "Aniva Berlin Mitte",
    "company_name": "Aniva GmbH",
    "street": "Unter den Linden",
    "house_number": "42",
    "address_line_2": null,
    "city": "Berlin",
    "state": "Berlin",
    "state_code": "BE",
    "postal_code": "10117",
    "country_name": "Germany",
    "country_code": "DE",
    "timezone": "Europe/Berlin",
    "latitude": 52.517036,
    "longitude": 13.388859,
    "contact_phone": "+4930987654321",
    "email": "berlin-mitte@anivahealth.com",
    "website": "https://anivahealth.com",
    "google_maps_url": "https://maps.google.com/?q=Unter+den+Linden+42+Berlin",
    "image_url": "https://cdn.anivahealth.com/locations/berlin-mitte.jpg",
    "open_hours": {
      "monday": [{ "open": "08:00", "close": "18:00" }],
      "tuesday": [{ "open": "08:00", "close": "18:00" }],
      "wednesday": [{ "open": "08:00", "close": "18:00" }],
      "thursday": [{ "open": "08:00", "close": "18:00" }],
      "friday": [{ "open": "08:00", "close": "16:00" }],
      "saturday": [],
      "sunday": []
    },
    "default_draw_method": "venous",
    "draw_methods": ["venous"]
  },
  {
    "id": "f1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c",
    "name": "Aniva Helsinki Central",
    "company_name": "Aniva Oy",
    "street": "Mannerheimintie",
    "house_number": "12",
    "address_line_2": null,
    "city": "Helsinki",
    "state": "Uusimaa",
    "state_code": "18",
    "postal_code": "00100",
    "country_name": "Finland",
    "country_code": "FI",
    "timezone": "Europe/Helsinki",
    "latitude": 60.169405,
    "longitude": 24.938365,
    "contact_phone": "+358912345678",
    "email": "helsinki@anivahealth.com",
    "website": "https://anivahealth.com",
    "google_maps_url": "https://maps.google.com/?q=Mannerheimintie+12+Helsinki",
    "image_url": "https://cdn.anivahealth.com/locations/helsinki-central.jpg",
    "open_hours": {
      "monday": [{ "open": "07:30", "close": "17:00" }],
      "tuesday": [{ "open": "07:30", "close": "17:00" }],
      "wednesday": [{ "open": "07:30", "close": "17:00" }],
      "thursday": [{ "open": "07:30", "close": "17:00" }],
      "friday": [{ "open": "07:30", "close": "15:00" }],
      "saturday": [],
      "sunday": []
    },
    "default_draw_method": "venous",
    "draw_methods": ["venous"]
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.