The endpoint and http method information, which returns the list and details of the institutions to which the invoice will be paid, according to the Province Code and Invoice Type Id entered are given below.
HTTP Method | URL |
---|---|
POST | /v1/InvoicePayment/GetProductsByCityAndType |
Params | Type | Mandatory | Description |
---|---|---|---|
city_code | string | No | City Code |
product_type_oid | string | No | Invoice Type Id |
Params | Type |
---|---|
status | int |
code | string |
message | string |
payload | object |
product_oid | string |
product_name | string |
product_type_oid | string |
product_city_code | string |
product_statu | boolean |
product_statu_message | string |
product_due_control_needed | boolean |
product_partial_payment | boolean |
product_min_amount | decimal |
product_max_amount | decimal |
REQUEST (POST):
{
"city_code": "34",
"product_type_oid": "aa01b6ad-cc0d-4ebf-9789-e27e35c73d9d"
}
RESPONSE:
{
"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
}
]
}