Firma Listesi

Uç-nokta: /companies/:id

API URL

İstek Metodu: GET

Header Parametreleri

parametre
tipi
açıklama

Authorization

string

Bearer <API Anahtarı>Firma Listesi Kimlik Doğrulama

İstek Parametreleri

parametre
tipi
açıklama
zorunlu

id

integer

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

hayır

page

integer

Sayfa numarası Cevap Yapısı

hayır

per-page

integer

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

hayır

Cevap Parametreleri

parametre
tipi
açıklama

company

company [ ]

company

parametre
tipi
açıklama

id

integer

Firma IDsi

name

text

Firma ismi

officialName

text

Firma resmi ismi

website

text

Firma web sitesi

fax

text

Fax numarası

phone

text

Telefon numarası

email

text

Firma'nın e-posta adresi

address

text

Firmanın açık adresi

city

text

Firmanın bulunduğu şehir

district

text

Firmanın bulunduğu ilçe

curl İstek Örneği

curl --location 'https://api.vapi.co/companies' \
--header 'Authorization: Bearer <API Anahtarı>'
curl --location 'https://api.vapi.co/companies/' \
--header 'Authorization: Bearer <API Anahtarı>'

postman İstek Örneği

Cevap örneği

{
    "data": [
        {
            "id": 320,
            "name": "Reckitt Benckiser",
            "officialName": "Reckitt Benckiser Temizlik Malzemesi Sanayi ve Ticaret Anonim Şirketi",
            "website": "https://www.reckitt.com/",
            "fax": null,
            "phone": "0212 326 96 00",
..            "email": null,
            "address": "Esentepe Mah. Büyükdere Cad. Tekfen Tower No:209 A Blok Daire:2 4. Levent",
            "city": "İstanbul",
            "district": "Şişli"
        },
        {
            "id": 477,
            "name": "Promedica",
            "officialName": "Promedica İlaç Ticaret Limited Şirketi",
            "website": "",
            "fax": "0212 370 91 27",
            "phone": "0212 370 91 00",
            "email": null,
            "address": "Esentepe Mah. Büyükdere Cad. No:122 Özsezen İş Merkezi  C Blok Kat:3",
            "city": "İstanbul",
            "district": "Şişli"
        },
        {
            "id": 705,
            "name": "Milenyum İlaç",
            "officialName": "Milenyum İlaç",
            "website": "",
            "fax": null,
            "phone": null,
            "email": null,
            "address": null,
            "city": null,
            "district": null
        },
        {
            "id": 1011,
            "name": "Milpha",
            "officialName": "Milpha İlaç Sanayi ve Ticaret Limited Şirketi",
            "website": "",
            "fax": null,
            "phone": null,
            "email": null,
            "address": null,
            "city": "Ankara",
            "district": "Çankaya"
        },
        {
            "id": 1077,
            "name": "Eylül Pharma",
            "officialName": "Eylül Farma İlaç Sanayi ve Ticaret Limited Şirketi",
            "website": "https://www.eylulpharma.com/",
            "fax": null,
            "phone": "0532 290 17 14",
            "email": "[email protected]",
            "address": "Kiremithane Mah. 4408 Sok. No:2",
            "city": "Mersin",
            "district": "Akdeniz"
        },
        {
            "id": 837,
            "name": "Mega Özel Sağlık",
            "officialName": "Mega Özel Sağlık Hizmetleri",
            "website": "https://megaozel.com/",
            "fax": "0312 440 80 37",
            "phone": "444 30 82",
            "email": null,
            "address": "Aziziye Mah. Portakal Çiçeği Sok. No:17/133  Yukarı Ayrancı",
            "city": "Ankara",
            "district": "Çankaya"
        },
        {
            "id": 1004,
            "name": "7 Tepe",
            "officialName": "7 Tepe İlaç Medikal Kozmetik ve Gıda Sanayi Ticaret Limited Şirketi",
            "website": "https://www.vitam-x.com/",
            "fax": null,
            "phone": "0212 909 43 08",
            "email": "[email protected]",
            "address": "Atatürk Mah. Reyhan Sok. N1/1",
            "city": "İstanbul",
            "district": "Esenyurt"
        },
        {
            "id": 1131,
            "name": "Active İlaç",
            "officialName": "Active İlaç Pazarlama A.Ş.",
            "website": "",
            "fax": "0212 441 69 79",
            "phone": "0212 604 55 00",
            "email": null,
            "address": "Mahmutbey Mahallesi Dilmenler Caddesi 19/3",
            "city": "İstanbul",
            "district": "Bağcılar"
        },
        ...
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/companies?page=1&per-page=200"
        },
        "first": {
            "href": "https://api.vapi.co/companies?page=1&per-page=200"
        },
        "last": {
            "href": "https://api.vapi.co/companies?page=4&per-page=200"
        },
        "next": {
            "href": "https://api.vapi.co/companies?page=2&per-page=200"
        }
    },
    "_meta": {
        "totalCount": 792,
        "pageCount": 4,
        "currentPage": 1,
        "perPage": 200
    },
    "success": true
}

Last updated