EN/API/feedstocks type
List of feedstocks used in SB
https://smartbiogas.it/api/v1/feedstocks_type
Result: Json with an array of results
[
{
"substrati_id": feedstockId,
"f_cod": "feedstock code",
"f_json_description": "{\"it\": \"italian desc\", \"en\": \"english desc\", \"fr\": \"french desc\", \"es\": \"spanish desc\"}",
"ts_last_edit": timestamp of last modification
},
{
"substrati_id": 162,
"f_cod": "BT611GRC001",
"f_json_description": "{\"it\": \"Rotture di mais\", \"en\": \"maize gritz\", \"fr\": \"\", \"es\": \"\"}",
"ts_last_edit": "2026-06-10 16:03:10"
},
...
]
Single feedstock details:
GET https://smartbiogas.it/api/v1/feedstocks_type/{feedstock_type_id}
Example: https://smartbiogas.it/api/v1/feedstocks_type/6
Result: Same Json as above but with a single record and more details
Search by code:
GET https://smartbiogas.it/api/v1/feedstocks_type?f_cod={feedstock code}
Example: https://smartbiogas.it/api/v1/feedstocks_type?f_cod=RN002ASL
Result: Same Json as above but with a single record
Search by description:
GET https://smartbiogas.it/api/v1/feedstocks_type?f_json_description={string to search in the description (multilingual)}
Example: https://smartbiogas.it/api/v1/feedstocks_type?f_json_description=maize
Result: Same Json as above with 0 or more records