GET api/grassland/yieldtype_list
Full list of available Yield Types for Grassland fields
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a list of all available Yield Types
Collection of yieldtypeName | Description | Type | Additional information |
---|---|---|---|
YieldTypeID |
The ID value for a Yield Type item |
integer |
None. |
YieldTypeName |
The Text value for a Yield Type item |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "YieldTypeID": 1, "YieldTypeName": "sample string 2" }, { "YieldTypeID": 1, "YieldTypeName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfyieldtype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Grassland"> <yieldtype> <YieldTypeID>1</YieldTypeID> <YieldTypeName>sample string 2</YieldTypeName> </yieldtype> <yieldtype> <YieldTypeID>1</YieldTypeID> <YieldTypeName>sample string 2</YieldTypeName> </yieldtype> </ArrayOfyieldtype>