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