Prezzijiet
Ikseb kwotazzjoni tal-karrettun
Ikkalkula l-prezz ta’ panels u bijomarkaturi mingħajr appuntament
POST
/
api
/
v1
/
pricing
/
quote
curl --request POST \
--url https://anivahealth.com/api/v1/pricing/quote \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"biomarker_ids": [63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 204, 206, 207, 209, 249]
}'
curl --request POST \
--url https://anivahealth.com/api/v1/pricing/quote \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"panel_ids": ["4d0423c5-6538-48f6-ac93-435f61e456e9"],
"fulfilment": "home_kit",
"country_code": "DE"
}'
{
"total_cents": 210,
"retail_total_cents": 451,
"fees": {
"phlebotomy_fee_cents": 2500,
"logistics_fee_cents": 2000,
"material_fee_cents": 250
},
"total_with_fees_cents": 4960,
"fulfilment": { "kind": "draw" },
"positions": [
{ "id": null, "name": null, "price_cents": 210, "retail_cents": 451, "tier": "routine" }
],
"panels": [],
"biomarkers": [
{ "id": 63, "name": "Eosinophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 64, "name": "Lymphocytes", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 65, "name": "Neutrophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 66, "name": "Monocytes", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 67, "name": "White Blood Cells (WBC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 68, "name": "Basophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 69, "name": "Hematocrit", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 70, "name": "Red Blood Cells (RBC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 71, "name": "Hemoglobin", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 72, "name": "Platelets", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 73, "name": "Mean Corpuscular Hemoglobin Concentration (MCHC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 74, "name": "Mean Corpuscular Volume (MCV)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 75, "name": "Red Cell Distribution Width (RDW)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 76, "name": "Mean Corpuscular Hemoglobin (MCH)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 204, "name": "Lymphocytes (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 206, "name": "Eosinophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 207, "name": "Basophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 209, "name": "Monocytes (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 249, "name": "Neutrophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null }
]
}
{
"total_cents": 2081,
"retail_total_cents": 6702,
"fees": {
"phlebotomy_fee_cents": 2000,
"logistics_fee_cents": 2000,
"material_fee_cents": 0
},
"total_with_fees_cents": 4971,
"fulfilment": {
"kind": "home_kit",
"country_code": "DE",
"kit_ref": "TAS-1-1S1E",
"devices": 1,
"lines": [
{ "description": "Home kit (per order)", "quantity": 1, "unit": "kits", "unit_cents": 720, "amount_cents": 720 },
{ "description": "Collection device (per device)", "quantity": 1, "unit": "devices", "unit_cents": 1250, "amount_cents": 1250 },
{ "description": "Postage to the customer (per kit sent)", "quantity": 1, "unit": "kits sent", "unit_cents": 370, "amount_cents": 370 },
{ "description": "Return postage (per kit sent)", "quantity": 1, "unit": "kits sent", "unit_cents": 400, "amount_cents": 400 },
{ "description": "Spare lancet bag (per kit sent with one)", "quantity": 1, "unit": "bags", "unit_cents": 150, "amount_cents": 150 }
],
"total_cents": 2890,
"activation_fee_cents": 100,
"unpriced_postage_legs": []
},
"positions": [],
"panels": [
{ "id": "4d0423c5-6538-48f6-ac93-435f61e456e9", "name": "Doctrinus - Gesundheitsprofil 6 (Männer)", "price_cents": 2081, "retail_cents": 6702 }
],
"biomarkers": []
}
{
"error": "Panels not found: f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d"
}
Jirritorna l-kont għall-panels u l-bijomarkaturi skont l-iskeda tat-tariffi tiegħek. M’għandekx bżonn appuntament. Xejn ma
jiġi bbukkjat.
Il-kont huwa l-istess bħal
pricing fuq Previżjoni tal-appuntament,
flimkien ma’ dak li jżid il-mod kif jittieħed il-kampjun. B’mod awtomatiku dan ikun teħid tad-demm f’post, bit-tariffi
tal-appuntament. Ibgħat fulfilment: "home_kit" u country_code biex tikkalkula l-prezz ta’ kit wieħed mibgħut bil-posta
lejn dak il-pajjiż minflok: it-tariffa tal-kit, l-apparati tal-ġbir, il-posta ‘l hemm u lura, il-kisi
u borża żejda tal-lanċetti, kif jiġu ffatturati fuq il-fattura ta’ kull xahar tiegħek.
Prezzijiet jispjega kif Aniva tistabbilixxi l-prezzijiet tat-testijiet.
Jeħtieġ is-scope prices_view.
Talba
Parametri tal-body
Ibgħat mill-inqas ID wieħed f’panel_ids jew biomarker_ids.
Panels li trid tikkalkula l-prezz tagħhom, mhux aktar minn 50. Kull wieħed irid ikun fuq Elenka l-panels għaċ-ċavetta tiegħek.
Sess bijoloġiku skont ISO/IEC 5218:
1 = maskil, 2 = femminil. Xi panels iżidu bijomarkaturi biss għal sess
wieħed jew età waħda. Ibgħat sex u date_of_birth flimkien biex tapplika dawn ir-regoli. Mingħajrhom, ir-regoli
ma japplikawx.L-iskeda tal-prezzijiet li biha jiġi kkalkulat il-prezz:
retail, jew l-id minn Ikseb l-iskeda tal-prezzijiet.
Awtomatikament: l-iskeda tal-prezzijiet taċ-ċavetta tal-API tiegħek, inkella bl-imnut.Kif jittieħed il-kampjun.
draw (awtomatiku): teħid tad-demm f’post, li jżid it-tariffi
tal-appuntament. home_kit: kit wieħed mibgħut bil-posta lejn country_code, li minflok iżid il-linji tal-kit. Kit tat-test għad-dar
fih panel wieħed eżatt, u l-panel irid jinbiegħ bħala kit tat-test għad-dar.Il-pajjiż tal-kunsinna tal-kit, ISO 3166-1 alpha-2 (
DE, SE). Meħtieġ ma’
fulfilment: "home_kit", u f’dak il-każ biss. Jagħżel il-linji tal-posta.Headers
Il-lingwa tal-ismijiet tal-panels u tal-bijomarkaturi fil-kont, pereżempju
de. Mingħajru,
l-ismijiet ikunu bl-Ingliż. Ara Lingwi.Risposta
Il-prezz tat-testijiet skont l-iskeda tal-prezzijiet tiegħek: kull pożizzjoni, panel u ringiela ta’ bijomarkatur bi prezz. Ringiela
bi
price_cents: null ma żżid xejn.It-tariffi ta’ appuntament wieħed, f’ċenteżmi. Aniva tfatturahom fuq il-fattura tiegħek ta’ kull xahar. Japplikaw għal
draw; home_kit minflok ifattura l-linji f’fulfilment.Uri tariffi
Uri tariffi
Għal kull appuntament fejn il-pazjent jirċievi snack. Nieqes meta l-pazjenti tiegħek ma jirċevux snack. Biex
toffri snacks, ikkuntattja lil Aniva.
Għal kull ġbir bil-kurrier. L-appuntamenti tiegħek fl-istess post fl-istess jum jaqsmu ġbir wieħed.
total_cents flimkien ma’ dak li jżid it-twettiq. Għal draw: kull tariffa f’fees. Jgħodd it-tariffa
sħiħa tal-loġistika, u ġbir kondiviż inaqqas l-ammont reali. Għal home_kit:
fulfilment.total_cents.Kif jittieħed il-kampjun u x’iżid.
kind huwa draw jew home_kit. draw m’għandu l-ebda
qasam ieħor.Uri home_kit
Uri home_kit
Il-kit li bih jintbagħat il-panel.
null meta Aniva tkun għadha ma ħejjietx wieħed; f’dak il-każ il-kwotazzjoni ma tgħodd
l-ebda apparat.Il-linji tal-kit li ordni waħda żżid mal-fattura ta’ kull xahar tiegħek, kull waħda fiha
description, quantity,
unit, unit_cents u amount_cents. L-ispejjeż tal-posta jiġu kkalkulati bil-prezzijiet tal-ġarr tal-prodotti
tat-trasportatur li l-pass tal-ġarr jibbukkja għal dan il-pajjiż (ara
Ikseb l-iskeda tat-tariffi). Tariffa ta’ 0 fuq l-iskeda tiegħek ma toħloq l-ebda linja. Kreditu mħallas minn qabel għall-materjal ma
jitnaqqasx hawn.Fatturata żejda, netta, meta ma tattivax il-kit qabel ma jasal fil-laboratorju, u l-laboratorju
jattivah. Mhijiex f’
lines jew f’total_cents. 0 tfisser li l-iskeda tiegħek m’għandhiex din it-tariffa.Vjaġġi tal-kit mingħajr prezz tal-ġarr għal dan il-pajjiż u l-prodott tat-trasportatur tagħhom, meta
l-iskeda tiegħek għandha prezzijiet tal-ġarr.
outbound huwa l-kit lejn il-klijent, return huwa r-ritorn
tal-kit lejn il-laboratorju. Dawn użaw minflok it-tariffa fissa tal-posta, jew 0 meta l-iskeda m’għandha l-ebda waħda.
Vojta meta kull vjaġġ sab il-prezz tiegħu, jew meta l-iskeda tiegħek m’għandhiex prezzijiet tal-ġarr.Il-pożizzjonijiet fil-kont. Pożizzjoni hija sett ta’ bijomarkaturi bi prezz wieħed. Għandha
id, name,
price_cents, retail_cents u tier. id u name huma null għal pożizzjoni li Aniva għadha ma
ppubblikatx.Ringiela waħda għal kull bijomarkatur li tirċievi. Dan jinkludi l-komponenti ta’ proporzjon u kull membru ta’
pożizzjoni.
Uri ringiela ta' bijomarkatur
Uri ringiela ta' bijomarkatur
Il-prezz ta’ din ir-ringiela, b’
retail_cents ħdejh. 0 meta pożizzjoni jew panel iħallsu għaliha.Risposti ta’ żball
| Status | Deskrizzjoni |
|---|---|
400 | Il-body mhuwiex validu, jew iċ-ċavetta tiegħek ma tistax tuża r-rate_card. |
400 | Kwotazzjoni ta’ home_kit teħtieġ eżattament panel wieħed, panel mibjugħ bħala kit tat-test għad-dar, u kodiċi tal-pajjiż. |
400 | biomarker_not_available: ebda laboratorju li tista’ tuża ċ-ċavetta tiegħek ma janalizza l-bijomarkatur. |
400 | biomarker_not_priced: il-bijomarkatur m’għandux prezz. |
400 | biomarker_requires_position: il-bijomarkatur jinbiegħ biss f’pożizzjoni. Il-body jelenka l-pożizzjonijiet. |
400 | Il-bijomarkatur ma jistax jiġi ordnat bħalissa. Neħħih mill-karrettun. |
403 | Iċ-ċavetta API tiegħek m’għandhiex is-scope prices_view. |
404 | Panels not found: il-panel ma jeżistix, jew iċ-ċavetta tiegħek ma tistax telenkah. |
404 | Biomarkers not found: il-bijomarkatur ma jeżistix, jew huwa arkivjat. |
500 | Żball intern tas-server. |
curl --request POST \
--url https://anivahealth.com/api/v1/pricing/quote \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"biomarker_ids": [63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 204, 206, 207, 209, 249]
}'
curl --request POST \
--url https://anivahealth.com/api/v1/pricing/quote \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"panel_ids": ["4d0423c5-6538-48f6-ac93-435f61e456e9"],
"fulfilment": "home_kit",
"country_code": "DE"
}'
{
"total_cents": 210,
"retail_total_cents": 451,
"fees": {
"phlebotomy_fee_cents": 2500,
"logistics_fee_cents": 2000,
"material_fee_cents": 250
},
"total_with_fees_cents": 4960,
"fulfilment": { "kind": "draw" },
"positions": [
{ "id": null, "name": null, "price_cents": 210, "retail_cents": 451, "tier": "routine" }
],
"panels": [],
"biomarkers": [
{ "id": 63, "name": "Eosinophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 64, "name": "Lymphocytes", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 65, "name": "Neutrophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 66, "name": "Monocytes", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 67, "name": "White Blood Cells (WBC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 68, "name": "Basophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 69, "name": "Hematocrit", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 70, "name": "Red Blood Cells (RBC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 71, "name": "Hemoglobin", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 72, "name": "Platelets", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 73, "name": "Mean Corpuscular Hemoglobin Concentration (MCHC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 74, "name": "Mean Corpuscular Volume (MCV)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 75, "name": "Red Cell Distribution Width (RDW)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 76, "name": "Mean Corpuscular Hemoglobin (MCH)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 204, "name": "Lymphocytes (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 206, "name": "Eosinophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 207, "name": "Basophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 209, "name": "Monocytes (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 249, "name": "Neutrophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null }
]
}
{
"total_cents": 2081,
"retail_total_cents": 6702,
"fees": {
"phlebotomy_fee_cents": 2000,
"logistics_fee_cents": 2000,
"material_fee_cents": 0
},
"total_with_fees_cents": 4971,
"fulfilment": {
"kind": "home_kit",
"country_code": "DE",
"kit_ref": "TAS-1-1S1E",
"devices": 1,
"lines": [
{ "description": "Home kit (per order)", "quantity": 1, "unit": "kits", "unit_cents": 720, "amount_cents": 720 },
{ "description": "Collection device (per device)", "quantity": 1, "unit": "devices", "unit_cents": 1250, "amount_cents": 1250 },
{ "description": "Postage to the customer (per kit sent)", "quantity": 1, "unit": "kits sent", "unit_cents": 370, "amount_cents": 370 },
{ "description": "Return postage (per kit sent)", "quantity": 1, "unit": "kits sent", "unit_cents": 400, "amount_cents": 400 },
{ "description": "Spare lancet bag (per kit sent with one)", "quantity": 1, "unit": "bags", "unit_cents": 150, "amount_cents": 150 }
],
"total_cents": 2890,
"activation_fee_cents": 100,
"unpriced_postage_legs": []
},
"positions": [],
"panels": [
{ "id": "4d0423c5-6538-48f6-ac93-435f61e456e9", "name": "Doctrinus - Gesundheitsprofil 6 (Männer)", "price_cents": 2081, "retail_cents": 6702 }
],
"biomarkers": []
}
{
"error": "Panels not found: f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d"
}
⌘I
curl --request POST \
--url https://anivahealth.com/api/v1/pricing/quote \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"biomarker_ids": [63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 204, 206, 207, 209, 249]
}'
curl --request POST \
--url https://anivahealth.com/api/v1/pricing/quote \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"panel_ids": ["4d0423c5-6538-48f6-ac93-435f61e456e9"],
"fulfilment": "home_kit",
"country_code": "DE"
}'
{
"total_cents": 210,
"retail_total_cents": 451,
"fees": {
"phlebotomy_fee_cents": 2500,
"logistics_fee_cents": 2000,
"material_fee_cents": 250
},
"total_with_fees_cents": 4960,
"fulfilment": { "kind": "draw" },
"positions": [
{ "id": null, "name": null, "price_cents": 210, "retail_cents": 451, "tier": "routine" }
],
"panels": [],
"biomarkers": [
{ "id": 63, "name": "Eosinophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 64, "name": "Lymphocytes", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 65, "name": "Neutrophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 66, "name": "Monocytes", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 67, "name": "White Blood Cells (WBC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 68, "name": "Basophils", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 69, "name": "Hematocrit", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 70, "name": "Red Blood Cells (RBC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 71, "name": "Hemoglobin", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 72, "name": "Platelets", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 73, "name": "Mean Corpuscular Hemoglobin Concentration (MCHC)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 74, "name": "Mean Corpuscular Volume (MCV)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 75, "name": "Red Cell Distribution Width (RDW)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 76, "name": "Mean Corpuscular Hemoglobin (MCH)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 204, "name": "Lymphocytes (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 206, "name": "Eosinophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 207, "name": "Basophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 209, "name": "Monocytes (%)", "price_cents": 0, "retail_cents": 0, "via_position": null },
{ "id": 249, "name": "Neutrophils (%)", "price_cents": 0, "retail_cents": 0, "via_position": null }
]
}
{
"total_cents": 2081,
"retail_total_cents": 6702,
"fees": {
"phlebotomy_fee_cents": 2000,
"logistics_fee_cents": 2000,
"material_fee_cents": 0
},
"total_with_fees_cents": 4971,
"fulfilment": {
"kind": "home_kit",
"country_code": "DE",
"kit_ref": "TAS-1-1S1E",
"devices": 1,
"lines": [
{ "description": "Home kit (per order)", "quantity": 1, "unit": "kits", "unit_cents": 720, "amount_cents": 720 },
{ "description": "Collection device (per device)", "quantity": 1, "unit": "devices", "unit_cents": 1250, "amount_cents": 1250 },
{ "description": "Postage to the customer (per kit sent)", "quantity": 1, "unit": "kits sent", "unit_cents": 370, "amount_cents": 370 },
{ "description": "Return postage (per kit sent)", "quantity": 1, "unit": "kits sent", "unit_cents": 400, "amount_cents": 400 },
{ "description": "Spare lancet bag (per kit sent with one)", "quantity": 1, "unit": "bags", "unit_cents": 150, "amount_cents": 150 }
],
"total_cents": 2890,
"activation_fee_cents": 100,
"unpriced_postage_legs": []
},
"positions": [],
"panels": [
{ "id": "4d0423c5-6538-48f6-ac93-435f61e456e9", "name": "Doctrinus - Gesundheitsprofil 6 (Männer)", "price_cents": 2081, "retail_cents": 6702 }
],
"biomarkers": []
}
{
"error": "Panels not found: f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d"
}