GET api/arable/cropinfo2_item/{cropinfo2id}
Individual Crop Info 2 Text filtered from the supplied corresponding Crop Info 2 ID (only required for Arable Cereals crops)
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cropinfo2id |
The Crop Info 2 ID to filter on |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the Crop Info 2 Text
cropinfo2itemName | Description | Type | Additional information |
---|---|---|---|
CropInfo2Name |
The Text value for Crop Info 2 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CropInfo2Name": "sample string 1" }
application/xml, text/xml
Sample:
<cropinfo2item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Arable"> <CropInfo2Name>sample string 1</CropInfo2Name> </cropinfo2item>