> For the complete documentation index, see [llms.txt](https://doc.paynet.com.tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.paynet.com.tr/uornek/servisler/basvuru/dokueman-yuekleme.md).

# Doküman Yükleme

Başvuruya ait doküman yüklemek için kullanılan servistir.

Bu servisi kullanabilmek için **"v1/membership/upload\_file\_insert"** servisine post isteği atılması gerekmektedir.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/membership/upload_file_insert>
{% endhint %}

{% tabs %}
{% tab title="İstek Parametreleri" %}

| Parametre İsmi   | Tip    | Zorunlu | Açıklama           |
| ---------------- | ------ | ------- | ------------------ |
| **form\_id**     | string | Evet    | Form id'si         |
| **doctype\_id**  | string | Evet    | Dokuman tipi id'si |
| **pars\_base64** | string | Hayır   | ?                  |
| {% endtab %}     |        |         |                    |

{% tab title="Dönüş Parametreleri" %}

| Parametre İsmi   | Tip    | Açıklama                                                                                                          |
| ---------------- | ------ | ----------------------------------------------------------------------------------------------------------------- |
| **object\_name** | string | Dönen cevabın nesne adıdır.                                                                                       |
| **code**         | string | İşlemin cevap kodu 0 ise başarılıdır.Bknz.[Dönüş Kodları](/uornek/genel-bilgiler/hata-kodlari/doenues-kodlari.md) |
| **message**      | string | İşlemin cevap koduna göre mesaj bilgisini barındırır.                                                             |
| {% endtab %}     |        |                                                                                                                   |

{% tab title="Request" %}

```
{
  form_id: 2,
  doctype_id : 1,
  pars_base64 : ""
}

```

{% endtab %}

{% tab title="Response" %}

```
{ 
    "object_name": "membership_file_upload",
    "code": 0,
    "message": "Başarılı İşlem" 
}

```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                                                                                                                                                                                                              |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Canlı Sistem** | [https://api.paynet.com.tr\[/v1/membership/upload\\\_file\\\_insert](https://doc.paynet.com.tr/uornek/servisler/basvuru/https:/api.paynet.com.tr\[/v1/membership/upload\\_file\\_insert)]\(<https://api.paynet.com.tr/v1/membership/upload_file_insert>)         |
| **Test Sistemi** | [https://pts-api.paynet.com.tr\[/v1/membership/upload\\\_file\\\_insert](https://doc.paynet.com.tr/uornek/servisler/basvuru/https:/pts-api.paynet.com.tr\[/v1/membership/upload\\_file\\_insert)]\(<https://api.paynet.com.tr/v1/membership/upload_file_insert>) |
| {% endtab %}     |                                                                                                                                                                                                                                                                  |
| {% endtabs %}    |                                                                                                                                                                                                                                                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.paynet.com.tr/uornek/servisler/basvuru/dokueman-yuekleme.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.
