Girilen İl Kodu ve Fatura Tipi Id’ye göre Fatura ödenecek kurumların listesini ve detayını dönen endpoint ve http metod bilgisi aşağıda verilmiştir.
| HTTP Method | URL |
|---|---|
| POST | /v1/InvoicePayment/GetProductsByCityAndType |
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| city_code | string | Hayır | İl Kodu |
| product_type_oid | string | Hayır | Fatura Tipi Id'si |
| Parametre | Tip | Açıklama |
|---|---|---|
| status | int | Statü |
| code | string | Kod |
| message | string | Mesaj |
| payload | obje | Veri |
| product_oid | string | Kurum Id'si |
| product_name | string | Kurum Adı (Örn: "İGDAŞ" ) |
| product_type_oid | string | Fatura Tipi Id'si |
| product_city_code | string | Fatura İl Kodu |
| product_statu | boolean | Kurum Durumu |
| product_statu_message | string | Kurum Durumu Açıklaması |
| product_due_control_needed | boolean | Ürün Kontrolü Var mı ? |
| product_partial_payment | boolean | Kısmı Ödeme Mümkün mü ? |
| product_min_amount | decimal | Ürün Minimum Ödeme Tutarı |
| product_max_amount | decimal | Ürün Maksimum Ödeme Tutarı |
İSTEK (POST):
{
"city_code": "34",
"product_type_oid": "aa01b6ad-cc0d-4ebf-9789-e27e35c73d9d"
}
YANIT:
{
"status": 0,
"code": "100",
"message": null,
"payload": [
{
"product_oid": "c33d39b3-d5d4-409d-b652-f7ed995f0d53",
"product_name": "Bahçeşehir Gaz",
"product_type_oid": "aa01b6ad-cc0d-4ebf-9789-e27e35c73d9d",
"product_city_code": "34",
"product_statu": true,
"product_statu_message": "Ürün Aktif Durumdadır.",
"product_due_control_needed": false,
"product_partial_payment": false,
"product_min_amount": 0.01,
"product_max_amount": 184999.0
},
{
"product_oid": "1f3d90b7-59b8-4f4f-8956-c264d16c13a9",
"product_name": "İGDAŞ",
"product_type_oid": "aa01b6ad-cc0d-4ebf-9789-e27e35c73d9d",
"product_city_code": "34",
"product_statu": true,
"product_statu_message": "Ürün Aktif Durumdadır.",
"product_due_control_needed": false,
"product_partial_payment": false,
"product_min_amount": 0.01,
"product_max_amount": 184999.0
}
]
}