EN/API/PlantsList

From Smart Biogas Wiki
(Redirected from EN/API/Elenco Impianti)
Jump to navigation Jump to search

◀ Back to API Menu

Plant list

This API is restricted, and a request must be made to gain access. It is intended for data providers managing multiple plants, such as analytical laboratories.

GET https://smartbiogas.it/api/v1/plants

Result: Json with an array of results

[
	{
		"plant_cod": CHAR(4) "Plant code",
		"plant_name": TEXT "Plant description",
		"eu_countries_id": countryId,
		"eu_cities_id": cityId,
		"f_plant_address": TEXT "Physical address",
		"f_api_token": TEXT "API access token",
		"f_regione_sociale": TEXT "Company name of the plant owner",
		"f_vat": TEXT "VAT number"
	},
	{
		"plant_cod": "XX01",
		"plant_name": "Test Plant",
		"eu_countries_id": 19,
		"eu_cities_id": 63804,
		"f_plant_address": "Via roma 1, 10100 torino",
		"f_api_token": "sdunai3ughncfi7tb3....",
		"f_regione_sociale": "Consorzio Monviso Energia",
		"f_vat": "10178660014"
	},
	...
]