GET api/measurement/cropheight_list
Full list of available Crop Heights
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a list of all available Crop Heights
Collection of cropheight| Name | Description | Type | Additional information |
|---|---|---|---|
| CropHeight |
The Crop Height value (cm) |
integer |
None. |
| Autumn |
The crop nitrogen content value (kg N/ha) for autumn sown crops |
integer |
None. |
| Spring |
The crop nitrogen content value (kg N/ha) for spring sown crops |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CropHeight": 1,
"Autumn": 2,
"Spring": 3
},
{
"CropHeight": 1,
"Autumn": 2,
"Spring": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfcropheight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Measurement">
<cropheight>
<Autumn>2</Autumn>
<CropHeight>1</CropHeight>
<Spring>3</Spring>
</cropheight>
<cropheight>
<Autumn>2</Autumn>
<CropHeight>1</CropHeight>
<Spring>3</Spring>
</cropheight>
</ArrayOfcropheight>