> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.insurgateway.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.insurgateway.com/_mcp/server.

# Products

GET https://testgatewayapi.insurapps.net/api/Offline/Products

## Products

***

### Endpoint Bilgileri

| Alan          | Değer                                                   |
| ------------- | ------------------------------------------------------- |
| Metot         | `GET`                                                   |
| URL           | `https://gatewayapi.insurapps.net/api/Offline/Products` |
| Yetkilendirme | Bearer Token                                            |

***

Offline kullanım için mevcut sigorta ürünlerinin listesini getirir.

Bu endpoint, kimliği doğrulanmış acente veya sigorta şirketi kullanıcısının erişim yetkisine sahip olduğu ürünleri anahtar-değer listesi olarak döndürür. Yanıttaki her öğe bir ürün tanımlayıcısı (`Value`) ve okunabilir bir ürün adı (`Text`) içerir.

***

### Kimlik Doğrulama

* Token'da geçerli bir **acente** veya **sigorta şirketi** rolü bulunmalıdır.

* Acente kullanıcıları için token'da geçerli bir acente ataması olmalıdır.

* Şirket kullanıcıları için token'da geçerli bir sigorta şirketi ataması olmalıdır.

***

### Yanıt

#### 200 OK — Başarılı Yanıt

İstek başarıyla tamamlandığında ürün nesnelerinden oluşan bir JSON dizisi döndürülür.

```json
[
  {
    "Value": "<urun_id>",
    "Text": "<urun_adi>"
  }
]

```

| Alan    | Tip    | Açıklama                     |
| ------- | ------ | ---------------------------- |
| `Value` | string | Benzersiz ürün tanımlayıcısı |
| `Text`  | string | Okunabilir ürün adı          |

***

### Hata Senaryoları

#### 403 Forbidden — Acente Bulunamadı

Kimliği doğrulanmış kullanıcı acente olmasına rağmen token'da geçerli bir acente ataması bulunamadığında döndürülür.

```json
{
  "Status": false,
  "Code": "OfflineProducts.AgentNotFound",
  "Message": "No valid agent assignment found for agent user.",
  "Response": null
}

```

#### 403 Forbidden — Sigorta Şirketi Bulunamadı

Kimliği doğrulanmış kullanıcı şirket kullanıcısı olmasına rağmen token'da geçerli bir sigorta şirketi ataması bulunamadığında döndürülür.

```json
{
  "Status": false,
  "Code": "OfflineProducts.InsuranceCompanyNotFound",
  "Message": "No valid insurance company assignment found in token.",
  "Response": null
}

```

#### 403 Forbidden — Acente veya Şirket Rolü Gerekli

Kimliği doğrulanmış kullanıcının acente veya şirket rolü bulunmadığında döndürülür.

```json
{
  "Status": false,
  "Code": "OfflineProducts.AgentOrCompanyRoleRequired",
  "Message": "Only agent or company users are authorized for this endpoint.",
  "Response": null
}

```

Reference: https://docs.insurgateway.com/insurgateway-api/offline/products

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://testgatewayapi.insurapps.net` (https://testgatewayapi.insurapps.net, default)
- `https://gatewayapi.insurapps.net` (https://gatewayapi.insurapps.net)

## Response

### 200

OK

## Errors

### 403 Forbidden Error

Forbidden

## Examples

**Response**

```json
[
  {
    "Value": "2609",
    "Text": " Neova Limitsiz İMM"
  },
  {
    "Value": "2500",
    "Text": "KARAYOLLARI MOTORLU ARAÇLAR ZORUNLU MALİ SORUMLULUK KATILIM"
  },
  {
    "Value": "2684",
    "Text": "Neova Bireysel Ferdi Kaza Offline"
  },
  {
    "Value": "2015",
    "Text": "Neova Bitkisel Ürün Sigortası"
  },
  {
    "Value": "52",
    "Text": "Neova Dask"
  },
  {
    "Value": "3483",
    "Text": "Neova Dask Acente"
  },
  {
    "Value": "2657",
    "Text": "Neova Dask AIR"
  },
  {
    "Value": "135",
    "Text": "Neova Dask Offline"
  },
  {
    "Value": "118",
    "Text": "Neova Elektronik Cihaz"
  },
  {
    "Value": "2482",
    "Text": "Neova Eşya Offline"
  },
  {
    "Value": "2363",
    "Text": "Neova Eşya Sigortası"
  },
  {
    "Value": "3313",
    "Text": "Neova Ferdi Kaza"
  },
  {
    "Value": "2773",
    "Text": "Neova Ferdi Kaza Offline"
  },
  {
    "Value": "3359",
    "Text": "Neova Ferdi Kaza Offline"
  },
  {
    "Value": "1855",
    "Text": "Neova Gemi & Gezinti Teknesi Offline"
  },
  {
    "Value": "2772",
    "Text": "Neova Genişletilmiş Kasko Offline"
  },
  {
    "Value": "2695",
    "Text": "Neova GES Sigortası Offline"
  },
  {
    "Value": "2680",
    "Text": "Neova Grup Ferdi Kaza Offline"
  },
  {
    "Value": "2738",
    "Text": "Neova Grup Tamamlayıcı Sağlık Offline"
  },
  {
    "Value": "2770",
    "Text": "Neova IMM Offline"
  },
  {
    "Value": "2771",
    "Text": "Neova IMM Offline"
  },
  {
    "Value": "120",
    "Text": "Neova İnşaat All Risk"
  },
  {
    "Value": "1425",
    "Text": "Neova İş Yeri Yangın"
  },
  {
    "Value": "2628",
    "Text": "Neova İşletme Sorumluluk"
  },
  {
    "Value": "2632",
    "Text": "Neova İşletme Sorumluluk Offline"
  },
  {
    "Value": "122",
    "Text": "Neova İşveren Mali Sorumluluk Offline"
  },
  {
    "Value": "115",
    "Text": "Neova İşyeri Yangın Offline"
  },
  {
    "Value": "18",
    "Text": "Neova Kasko"
  },
  {
    "Value": "3181",
    "Text": "Neova Kasko Acente"
  },
  {
    "Value": "2289",
    "Text": "Neova Kasko Air"
  },
  {
    "Value": "158",
    "Text": "Neova Kasko Offline"
  },
  {
    "Value": "1877",
    "Text": "Neova Kıyı Tesisleri Deniz Kirliliği Mali Sorumluluk Offline"
  },
  {
    "Value": "1880",
    "Text": "Neova Koltuk Ferdi Kaza Offline"
  },
  {
    "Value": "34",
    "Text": "Neova Konut"
  },
  {
    "Value": "3413",
    "Text": "Neova Konut Acente"
  },
  {
    "Value": "2658",
    "Text": "Neova Konut AIR"
  },
  {
    "Value": "1428",
    "Text": "Neova Konut Offline"
  },
  {
    "Value": "2696",
    "Text": "Neova Kredi Ferdi Kaza Offline"
  },
  {
    "Value": "117",
    "Text": "Neova Leasig All Risk"
  },
  {
    "Value": "3245",
    "Text": "Neova Limitsiz İMM Acente"
  },
  {
    "Value": "2483",
    "Text": "Neova Limitsiz IMM Offline"
  },
  {
    "Value": "119",
    "Text": "Neova Makine Kırılması"
  },
  {
    "Value": "1894",
    "Text": "Neova Mesleki Sorumluluk Offline"
  },
  {
    "Value": "123",
    "Text": "Neova Montaj All Risk"
  },
  {
    "Value": "2774",
    "Text": "Neova Motorlu Kara Taşıtları İhtiyari Mali Sorumluluk Offline"
  },
  {
    "Value": "116",
    "Text": "Neova Nakliyat"
  },
  {
    "Value": "1569",
    "Text": "Neova Nakliyat"
  },
  {
    "Value": "2013",
    "Text": "Neova Ortak Alan Sigortası Offline"
  },
  {
    "Value": "1588",
    "Text": "Neova Özel Sağlık"
  },
  {
    "Value": "3282",
    "Text": "Neova POS"
  },
  {
    "Value": "3231",
    "Text": "Neova Pos Offline"
  },
  {
    "Value": "2014",
    "Text": "Neova Sera Sigortası"
  },
  {
    "Value": "1815",
    "Text": "Neova Sigorta Acente Mesleki Sorumluluk"
  },
  {
    "Value": "1819",
    "Text": "Neova Sigorta Avukat"
  },
  {
    "Value": "1829",
    "Text": "Neova Sigorta C.M.R"
  },
  {
    "Value": "1832",
    "Text": "Neova Sigorta Cam Kırılması"
  },
  {
    "Value": "1681",
    "Text": "Neova Sigorta Dask"
  },
  {
    "Value": "1838",
    "Text": "Neova Sigorta Eğitim Güvencesi Sigortası"
  },
  {
    "Value": "1847",
    "Text": "Neova Sigorta Emniyeti Suistimal Offline"
  },
  {
    "Value": "1682",
    "Text": "Neova Sigorta Hırsızlık"
  },
  {
    "Value": "1863",
    "Text": "Neova Sigorta Hukuksal Koruma"
  },
  {
    "Value": "1864",
    "Text": "Neova Sigorta İhtiyari Mali Mesuliyet"
  },
  {
    "Value": "1872",
    "Text": "Neova Sigorta İşveren Mali Sorumluluk"
  },
  {
    "Value": "3614",
    "Text": "Neova Sigorta Kuyumcu Paket Offline"
  },
  {
    "Value": "1895",
    "Text": "Neova Sigorta Mimarlar&Müteahitler Mesleki Sorumluluk"
  },
  {
    "Value": "1902",
    "Text": "Neova Sigorta Mühendisler Mesleki Sorumluluk"
  },
  {
    "Value": "1910",
    "Text": "Neova Sigorta Özel Güvenlik Mali Sorumluluk"
  },
  {
    "Value": "3598",
    "Text": "Neova Sigorta Seyahat Sağlık"
  },
  {
    "Value": "3686",
    "Text": "Neova Sigorta Siber Güvenlik Bireysel"
  },
  {
    "Value": "1921",
    "Text": "Neova Sigorta Sorumluluk"
  },
  {
    "Value": "2063",
    "Text": "Neova Sigorta Sorumluluk"
  },
  {
    "Value": "3594",
    "Text": "Neova Sigorta Tamamlayıcı Sağlık Robot"
  },
  {
    "Value": "1925",
    "Text": "Neova Sigorta Taşınan Para"
  },
  {
    "Value": "1935",
    "Text": "Neova Sigorta Tıbbi Mesleki Sorumluluk"
  },
  {
    "Value": "1940",
    "Text": "Neova Sigorta Tüpgaz Mali Sorumluluk"
  },
  {
    "Value": "1943",
    "Text": "Neova Sigorta Uçak-Gemi Mali Sorumluluk"
  },
  {
    "Value": "1957",
    "Text": "Neova Sigorta Ürün Sorumluluk"
  },
  {
    "Value": "1958",
    "Text": "Neova Sigorta Yeşil Kart"
  },
  {
    "Value": "1970",
    "Text": "Neova Sigorta Zorunluk Koltuk Sigortası"
  },
  {
    "Value": "3471",
    "Text": "Neova Tamamlayıcı Sağlık"
  },
  {
    "Value": "3481",
    "Text": "Neova Tamamlayıcı Sağlık Offline"
  },
  {
    "Value": "2064",
    "Text": "Neova Tarım Offline"
  },
  {
    "Value": "1930",
    "Text": "Neova Tehlikeli Maddeler Mali Sorumluluk Offline"
  },
  {
    "Value": "2062",
    "Text": "Neova Tıbbi Mesleki Sorumluluk Offline"
  },
  {
    "Value": "2495",
    "Text": "Neova Trafik"
  },
  {
    "Value": "3243",
    "Text": "Neova Trafik Acente"
  },
  {
    "Value": "2472",
    "Text": "Neova Trafik Air"
  },
  {
    "Value": "2775",
    "Text": "Neova Trafik İhale Offline"
  },
  {
    "Value": "114",
    "Text": "Neova Trafik Offline"
  },
  {
    "Value": "2012",
    "Text": "Neova Uçak Sigortası Offline"
  },
  {
    "Value": "121",
    "Text": "Neova Üçüncü Şahıs Sorumluluk Offline"
  },
  {
    "Value": "1434",
    "Text": "Neova Yurtdışı Seyahat Sağlık Offline"
  }
]
```

**SDK Code**

```python Offline_products_example
import requests

url = "https://testgatewayapi.insurapps.net/api/Offline/Products"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Offline_products_example
const url = 'https://testgatewayapi.insurapps.net/api/Offline/Products';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Offline_products_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://testgatewayapi.insurapps.net/api/Offline/Products"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Offline_products_example
require 'uri'
require 'net/http'

url = URI("https://testgatewayapi.insurapps.net/api/Offline/Products")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Offline_products_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://testgatewayapi.insurapps.net/api/Offline/Products")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Offline_products_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://testgatewayapi.insurapps.net/api/Offline/Products', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Offline_products_example
using RestSharp;

var client = new RestClient("https://testgatewayapi.insurapps.net/api/Offline/Products");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Offline_products_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://testgatewayapi.insurapps.net/api/Offline/Products")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```