Testkatalog
Panels oplëschten
Am Panel-Katalog bliederen
GET
/
api
/
v1
/
panels
curl --url 'https://anivahealth.com/api/v1/panels' \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d",
"name": "Hormones (Female)",
"description": "Cycle-related hormones for women, including thyroid.",
"biomarker_ids": [42, 43, 44, 51],
"biomarker_groups": [
{ "biomarker_ids": [42], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [43, 44], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [51], "required": true, "inclusion_condition": "sex=2" }
],
"pricing": { "price_cents": 11900, "retail_cents": 14900 }
},
{
"id": "9c1d2e3f-4a5b-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Custom",
"description": null,
"biomarker_ids": [],
"biomarker_groups": [],
"pricing": { "price_cents": null, "retail_cents": null }
}
]
Gëtt d’Panels zeréck, déi däin API-Schlëssel iwwer Panels
derbäisetzen unhänke kann. Brauch de Scope
panels_access. Den
Objet pricing brauch och de Scope prices_view.
Ziel
biomarker_groups, fir ze wëssen, wéi vill Resultater eng Bluttentnam liwwert. Eng Grupp
lëscht austauschbar Biomarker op (hs-CRP oder CRP), an de Labo moosst nëmmen ee vun hinnen.Ufro
Query-Parameteren
D’Präislëscht fir
price_cents: retail, oder eng Präislëscht-id aus Präislëscht
ofrufen. Standard ass d’Präislëscht vun dengem Rechnungskont, soss
de Verkafspräis. retail_cents benotzt ëmmer de Verkafspräis.Headeren
D’Sprooch vun den Nimm a Beschreiwungen, zum Beispill
de. Ouni dësen Header si se op Englesch.
D’Reiefolleg vun der Lëscht ass an all Sprooch d’Reiefolleg vun den engleschen Nimm. Kuck
Sproochen.Äntwert
Gëtt en Array vu Panels zeréck.Panel-UUID. Gëff se bei Panels derbäisetzen mat.
All Biomarker aus
biomarker_groups an enger Lëscht. Kuck Biomarker
oplëschten.D’Gruppen, déi de Panel brauch. Eidel fir de personaliséierte Panel: setz seng Biomarker mat
Eenzel Biomarker derbäisetzen derbäi.
Uweisen Grupp
Uweisen Grupp
Wien d’Grupp kritt, zum Beispill
sex=2 oder age>50, verbonne mat && oder ||. sex
entsprécht ISO/IEC 5218 (1 männlech, 2 weiblech). null bedeit jiddereen.
Rendez-vous-Virschau went se op e Patient un.De Präis op denger Präislëscht an de Verkafspräis. Kuck
Präis-Objeten.
null, wann dengem Schlëssel
prices_view feelt. price_cents ass null fir de personaliséierte Panel.Feeleräntwerten
| Status | Beschreiwung |
|---|---|
400 | Ongülteg Ufro, zum Beispill eng onbekannt rate_card. |
403 | De Scope panels_access feelt. |
500 | Interne Serverfeeler. |
curl --url 'https://anivahealth.com/api/v1/panels' \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d",
"name": "Hormones (Female)",
"description": "Cycle-related hormones for women, including thyroid.",
"biomarker_ids": [42, 43, 44, 51],
"biomarker_groups": [
{ "biomarker_ids": [42], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [43, 44], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [51], "required": true, "inclusion_condition": "sex=2" }
],
"pricing": { "price_cents": 11900, "retail_cents": 14900 }
},
{
"id": "9c1d2e3f-4a5b-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Custom",
"description": null,
"biomarker_ids": [],
"biomarker_groups": [],
"pricing": { "price_cents": null, "retail_cents": null }
}
]
⌘I
curl --url 'https://anivahealth.com/api/v1/panels' \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d",
"name": "Hormones (Female)",
"description": "Cycle-related hormones for women, including thyroid.",
"biomarker_ids": [42, 43, 44, 51],
"biomarker_groups": [
{ "biomarker_ids": [42], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [43, 44], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [51], "required": true, "inclusion_condition": "sex=2" }
],
"pricing": { "price_cents": 11900, "retail_cents": 14900 }
},
{
"id": "9c1d2e3f-4a5b-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Custom",
"description": null,
"biomarker_ids": [],
"biomarker_groups": [],
"pricing": { "price_cents": null, "retail_cents": null }
}
]