GET api/arable/cropinfo2_list
The full list of available Crop Info 2s (only required for Arable Cereals crops)
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 Info 2s
Collection of cropinfo2Name | Description | Type | Additional information |
---|---|---|---|
CropInfo2ID |
The ID value for a Crop Info 2 item |
integer |
None. |
CropInfo2Name |
The Text value for a Crop Info 2 item |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CropInfo2ID": 1, "CropInfo2Name": "sample string 2" }, { "CropInfo2ID": 1, "CropInfo2Name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfcropinfo2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Arable"> <cropinfo2> <CropInfo2ID>1</CropInfo2ID> <CropInfo2Name>sample string 2</CropInfo2Name> </cropinfo2> <cropinfo2> <CropInfo2ID>1</CropInfo2ID> <CropInfo2Name>sample string 2</CropInfo2Name> </cropinfo2> </ArrayOfcropinfo2>