Toimipisteet
Listaa toimipisteet
Hae kaikki API-avaimesi käytettävissä olevat testipaikat
GET
/
api
/
v1
/
locations
curl --request GET \
--url https://anivahealth.com/api/v1/locations \
--header 'x-api-key: YOUR_API_KEY'
[
{
"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"]
}
]
Hae kaikki aktiiviset testitoimipisteet, joihin API-avaimellasi on pääsy. Käytä palautetun toimipisteen
id-arvoa, kun luot ajanvarauksen päätepisteellä Luo ajanvaraus.
Vaatii locations_view- tai appointments_schedule-käyttöoikeuden.
Pyyntö
Tämä päätepiste ei ota pyyntöparametreja.Vastaus
Onnistuessaan API palauttaa200 OK -vastauksen ja taulukon toimipisteobjekteja.
Osavaltio tai maakunta. Voi olla
null, kun kaupungilla ei ole linkitettyä osavaltiota (esim.
kaupunkivaltiot tai kohdistamattomat tuonnit).Osavaltion ISO 3166-2 -koodi ilman maatunnusta (esim.
BW Baden-Württembergille). Voi olla
null.Viikoittaiset aukioloajat. Kukin viikonpäiväavain (
monday–sunday) sisältää taulukon
aukioloaikavälejä. Tyhjä taulukko tarkoittaa, että toimipiste on suljettu kyseisenä päivänä. Koko
objekti on null, kun toimipisteen aukioloaikoja ei ole saatavilla.Miten verinäyte otetaan tämän toimipisteen ajanvarauksessa, ellei ajanvarauksessa ole asetettu
omaa
draw_method-arvoa: capillary (sormenpäästä tai olkavarresta mikroputkiin) tai venous
(laskimosta näyteputkiin).Verinäytteenottotavat, joihin toimipisteellä on näyteastioita varastossa, järjestettynä. Tämän
toimipisteen ajanvarauksessa voi asettaa
draw_method-arvoksi vain jonkin näistä.Virhevastaukset
| Tila | Kuvaus |
|---|---|
403 | Kielletty – API-avaimellasi ei ole pääsyä tähän toimintoon. |
500 | Sisäinen palvelinvirhe. |
curl --request GET \
--url https://anivahealth.com/api/v1/locations \
--header 'x-api-key: YOUR_API_KEY'
[
{
"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"]
}
]
⌘I
curl --request GET \
--url https://anivahealth.com/api/v1/locations \
--header 'x-api-key: YOUR_API_KEY'
[
{
"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"]
}
]