vapi.co doc (TR)
Panele Geri Dön
  • 👋vapi.co
  • Başlarken
    • 💡vapi.co Nedir?
    • 📑Veri Seti
    • 💊İlaçlar Hakkında Neler Bilmeliyiz?
  • API KLAVUZU
    • 🌐API URL
    • 🔍İlk Sorgu
    • ✅Kimlik Doğrulama
    • 💊İlaçlar
      • 💊İlaç Listesi
      • 🔎İlaç Arama
      • 💉Drug Listesi
      • 🔎Drug Arama
      • Drug Tipleri
      • 💬Temel Özellikler
      • 💾Özel Bilgiler
      • 📚Monografi
      • 💸Fiyat
        • 💵Güncel Fiyat Listesi
        • 📅İleri Tarihli Fiyat Listesi
      • 📃Dokümanlar
        • 📄Kısa Ürün Bilgisi
        • 📄Kullanım Talimatı
        • 🖼️Ürün Görseli
        • 📄Doktor Mektubu
      • 📖Hasta Bilgilendirme Etiketleri
      • 🤒Yan Etki
      • 🌟Doping
      • 🥄Doz
      • 🟰Eşdeğer İlaçlar
      • 💊Alternatif İlaçlar
    • ⚗️Etken Maddeler
      • Etken Madde Listesi
      • Temel Özellikler
      • Doping
    • 🌳ATC Index
    • 🔢Reçete Hesaplama
    • 📔Rapor Kontrol
    • 🔑Web Token
    • 📍Cevap Yapısı
    • ❌Hata Kodları
    • 🔗Swagger İle Dene
    • Etkileşim
      • İlaç İlaç Etkileşimi
    • İçerik Sayıları
  • Kullanım Örnekleri
    • İlaç Arama (auto complete)
    • ☑️Hasta Bilgilendirme Etiketleri
    • ☑️İlaç Listesi
    • ☑️Güncel Fiyat Listesi
    • ☑️İleri Tarihli Fiyatlar
    • ☑️Dokümanlar
Powered by GitBook
On this page
  • Uç-nokta: /future-prices/:id
  • İstek Metodu: GET
  • Header Parametreleri
  • İstek Parametreleri
  • Cevap Parametreleri
  • curl İstek Örneği
  • postman İstek Örneği
  • Cevap örneği
  1. API KLAVUZU
  2. İlaçlar
  3. Fiyat

İleri Tarihli Fiyat Listesi

Uç-nokta: /future-prices/:id

API URL

İstek Metodu: GET

Header Parametreleri

parametre
tipi
açıklama

Authorization

string

İstek Parametreleri

parametre
tipi
açıklama
zorunlu

id

integer

İlaca ait atanmış olan tekil ürün id bilgisi. Bu bilgiye /products metodunda bulunan id alanından alınabilir.

hayır

page

integer

hayır

per-page

integer

Bir sayfada bulunması istenen kayıt sayısı. Üst limit 500.

hayır

Cevap Parametreleri

data

Cevaplar data zarfı içinde aşağıdaki parametreleri içeriyor

parametre
tipi
açıklama

product

product

price

price

product

parametre
tipi
açıklama

id

integer

ürün tekil id'si

name

string

ürün ismi (drug + drugform + product şeklinde oluşturulmaktadır).

price

parametre
tipi
açıklama

retail

date

KDV dahil perakende satış fiyatı

factory

integer

üretici firmanın, ecza depolarına satış yaptığı fiyat (KDV hariç)

storage

integer

ecza depolarının hastanelere veya eczanelere satış yaptığı fiyat (KDV hariç)

pharmacy

integer

KDV hariç eczane satış fiyatı

currencyCode

integer

fiyatın döviz tipi. Dönen cevap; TRY, USD, EUR olabilir

effectiveDate

date

ilacın fiyat bilgisinin geçerli olduğu tarih. İlaçlar 1'den fazla fiyata sahip olabilirler. Fiyatları güncellendikçe, yeni fiyatlar geçerli olma tarihleriyle birlikte (effectiveDate) kaydedilir.

curl İstek Örneği

curl --location 'https://api.vapi.co/future-prices' \
--header 'Authorization: Bearer <API KEY>' \
curl --location 'https://api.vapi.co/future-prices/31177' \
--header 'Authorization: Bearer <API KEY>' \

postman İstek Örneği

Cevap örneği

Liste Sonucu

{
    "data": [
        {
            "product": {
                "id": 147,
                "name": "DELODAY Şurup 0.5 mg/ml 150 ml'lik şişe"
            },
            "price": {
                "retail": 21.29,
                "factory": 14.17,
                "storage": 15.4,
                "pharmacy": 19.71,
                "currencyCode": "TRY",
                "effectiveDate": "2022-12-20"
            }
        },
        {
            "product": {
                "id": 802,
                "name": "MABTHERA İV İnf. İçin Konsantre Çözelti İçeren Flakon 100 mg/10 ml 2x10 ml'lik flakon"
            },
            "price": {
                "retail": 3537.05,
                "factory": 2797.61,
                "storage": 2861.16,
                "pharmacy": 3275.05,
                "currencyCode": "TRY",
                "effectiveDate": "2022-12-20"
            }
        },
        ...
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/future-prices?page=1&per-page=500"
        },
        "first": {
            "href": "https://api.vapi.co/future-prices?page=1&per-page=500"
        },
        "last": {
            "href": "https://api.vapi.co/future-prices?page=7&per-page=500"
        },
        "next": {
            "href": "https://api.vapi.co/future-prices?page=2&per-page=500"
        }
    },
    "_meta": {
        "totalCount": 3372,
        "pageCount": 7,
        "currentPage": 1,
        "perPage": 500
    },
    "success": true
}

Tekil Sonuç

{
    "data": {
        "product": {
            "id": 31177,
            "name": "ARGİVİT FOCUS Takviye Edici Gıda 30 tabletlik ambalaj"
        },
        "price": {
            "retail": 540,
            "factory": 408.76,
            "storage": 445.54,
            "pharmacy": null,
            "currencyCode": "TRY",
            "effectiveDate": "2024-02-01"
        }
    },
    "success": true
}

Last updated 1 year ago

Bearer <API KEY>

Safa numarası

💊
💸
📅
Cevap Yapısı
Kimlik Doğrulama
#curl-istek-oernegi
product
price