🔎Drug Arama
Uç-nokta: /drugs
İstek Metodu: GET
Header Parametreleri
İstek Parametreleri
Cevap Parametreleri
curl İstek Örneği
curl --location 'https://api.vapi.co/drugs?name=aspiri' \
--header 'Authorization: Bearer API KEY'
postman İstek Örneği
Cevap örneği
{
"data": [
{
"drug": {
"id": 276,
"name": "ASPİRİN"
}
},
{
"drug": {
"id": 4556,
"name": "ASPİRİN COMPLEX"
}
},
{
"drug": {
"id": 277,
"name": "ASPİRİN FORTE"
}
},
{
"drug": {
"id": 278,
"name": "ASPİRİN PLUS C"
}
}
],
"_links": {
"self": {
"href": "https://api.vapi.co/drugs?name=aspiri&page=1&per-page=200"
},
"first": {
"href": "https://api.vapi.co/drugs?name=aspiri&page=1&per-page=200"
},
"last": {
"href": "https://api.vapi.co/drugs?name=aspiri&page=1&per-page=200"
}
},
"_meta": {
"totalCount": 4,
"pageCount": 1,
"currentPage": 1,
"perPage": 200
},
"success": true
}
Last updated