GET api/grassland/grassgrowthclass_list

Full list of available Grass Growth Classes (GGC) 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 Grass Growth Classes

Collection of grassgrowthclass
NameDescriptionTypeAdditional information
GrassGrowthClassID

The ID value for a Grass Growth Class (GGC) item

integer

None.

GrassGrowthClassName

The Text value for a Grass Growth Class (GGC) item

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GrassGrowthClassID": 1,
    "GrassGrowthClassName": "sample string 2"
  },
  {
    "GrassGrowthClassID": 1,
    "GrassGrowthClassName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfgrassgrowthclass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Grassland">
  <grassgrowthclass>
    <GrassGrowthClassID>1</GrassGrowthClassID>
    <GrassGrowthClassName>sample string 2</GrassGrowthClassName>
  </grassgrowthclass>
  <grassgrowthclass>
    <GrassGrowthClassID>1</GrassGrowthClassID>
    <GrassGrowthClassName>sample string 2</GrassGrowthClassName>
  </grassgrowthclass>
</ArrayOfgrassgrowthclass>