Crops
CropsController
| API | Description |
|---|---|
| GET api/Crops |
Returnerer en liste af alle tilgængelige afgrøder. |
| GET api/Crops/{id} |
Henter en afgrøde ud fra unikt id. |
Products
ProductsController
| API | Description |
|---|---|
| GET api/Products?CropId={CropId} |
Henter en liste af pestide middel og deres pesticidebelastningstal ud fra unikt afgrøde id. |
| GET api/Products/{id}?CropId={CropId} |
Henter pesticide middel og pesticide belastningstal ud fra unikt afgrøde id og middel id. |