GET api/grassland/cropmaterial_list
Full list of available Crop Materials for Grassland fields
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 Materials
Collection of cropmaterialName | Description | Type | Additional information |
---|---|---|---|
CropMaterialID |
The ID value for a Crop Material item |
integer |
None. |
CropMaterialName |
The Text value for a Crop Material item |
string |
None. |
Percentage |
The Dry Matter Percentage for a Crop Material item |
integer |
None. |
SequenceID |
The Sequence Type that the Crop Material can be used for |
character |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CropMaterialID": 1, "CropMaterialName": "sample string 2", "Percentage": 3, "SequenceID": "A" }, { "CropMaterialID": 1, "CropMaterialName": "sample string 2", "Percentage": 3, "SequenceID": "A" } ]
application/xml, text/xml
Sample:
<ArrayOfcropmaterial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Grassland"> <cropmaterial> <CropMaterialID>1</CropMaterialID> <CropMaterialName>sample string 2</CropMaterialName> <Percentage>3</Percentage> <SequenceID>65</SequenceID> </cropmaterial> <cropmaterial> <CropMaterialID>1</CropMaterialID> <CropMaterialName>sample string 2</CropMaterialName> <Percentage>3</Percentage> <SequenceID>65</SequenceID> </cropmaterial> </ArrayOfcropmaterial>