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