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