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