EN/API/Determinands

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

◀ Back to API Menu

List of determinants (common parameters for analyses)

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

Result: Json with an array of results

[
	{
		"determinand_id": parameterId,
		"f_cod": "Unique parameter code",
		"f_desc_breve": "Short description",
		"f_description": "Long description"
	},
	{
		"determinand_id": 2,
		"f_cod": "P_tot",
		"f_desc_breve": "Total P",
		"f_description": "Total Phosphorus"
	},
	...
]

Single parameter details:

GET https://smartbiogas.it/api/v1/determinand_type/{parameterId}

Example: https://smartbiogas.it/api/v1/determinand_type/2

Result: Same JSON but with 0 or a single record