# Drug Tipleri

### Uç-nokta: /drug-types/:id

[API URL](/tr/api-klavuzu/api-url.md)

### Header Parametreleri

<table><thead><tr><th width="154">parametre</th><th width="108">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>Authorization</td><td>string</td><td>Bearer &#x3C;API Anahtarı><a data-mention href="#curl-istek-oernegi">#curl-istek-oernegi</a> <a data-mention href="/pages/zRc6fGV2hPXt2r6jcjmm">/pages/zRc6fGV2hPXt2r6jcjmm</a></td></tr></tbody></table>

### İstek Parametreleri

<table><thead><tr><th width="153">parametre</th><th width="140">tipi</th><th width="383">açıklama</th><th>zorunlu</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>İlaca ait atanmış olan tekil ürün id bilgisi. Bu bilgiye /products metodunda bulunan id alanından alınabilir.</td><td><strong>hayır</strong></td></tr><tr><td>page</td><td>integer</td><td>Sayfa numarası <a data-mention href="/pages/LCWrIEr2Oa1wcVJ3MAsR">/pages/LCWrIEr2Oa1wcVJ3MAsR</a></td><td>hayır</td></tr><tr><td>per-page</td><td>integer</td><td>Bir sayfada bulunması istenen kayıt sayısı. Üst limit 500. </td><td>hayır</td></tr></tbody></table>

### Cevap Parametreleri

#### <mark style="color:green;">data</mark> [Cevap Yapısı](/tr/api-klavuzu/cevap-yapisi.md)

<table><thead><tr><th width="208">parametre</th><th width="222">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>drug</td><td>drugType [ ]</td><td><a data-mention href="#drugtype">#drugtype</a></td></tr></tbody></table>

#### <mark style="color:green;">drugType</mark>

<table><thead><tr><th width="137">parametre</th><th width="105">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>drug tip id'si</td></tr><tr><td>name</td><td>string</td><td>drug tip ismi</td></tr></tbody></table>

### <mark style="color:blue;">curl</mark> İstek Örneği

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

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

### <mark style="color:blue;">postman</mark> İstek Örneği

<figure><img src="/files/xCfAE2RhCwsWzeyKoROe" alt=""><figcaption></figcaption></figure>

### Cevap örneği

```json
{
    "data": [
        {
            "id": 1,
            "name": "İlaç"
        },
        {
            "id": 3,
            "name": "Kozmetik"
        },
        {
            "id": 4,
            "name": "Parenteral solüsyon"
        },
        {
            "id": 5,
            "name": "Enteral beslenme ürünü"
        },
        {
            "id": 9,
            "name": "Besin desteği"
        }
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/drug-types?page=1&per-page=200"
        },
        "first": {
            "href": "https://api.vapi.co/drug-types?page=1&per-page=200"
        },
        "last": {
            "href": "https://api.vapi.co/drug-types?page=1&per-page=200"
        }
    },
    "_meta": {
        "totalCount": 5,
        "pageCount": 1,
        "currentPage": 1,
        "perPage": 200
    },
    "success": true
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.vapi.co/tr/api-klavuzu/ilaclar/drug-tipleri.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
