GET api/grassland/soilnitrogensupply_list

Full list of available Soil Nitrogen Supply (SNS) Statuses 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 Soil Nitrogen Supply Statuses

Collection of soilnitrogensupply
NameDescriptionTypeAdditional information
SoilNitrogenSupplyID

The ID value for a Soil Nitrogen Supply (SNS) item

integer

None.

SoilNitrogenSupplyName

The Text value for a Soil Nitrogen Supply (SNS) item

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SoilNitrogenSupplyID": 1,
    "SoilNitrogenSupplyName": "sample string 2"
  },
  {
    "SoilNitrogenSupplyID": 1,
    "SoilNitrogenSupplyName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfsoilnitrogensupply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Grassland">
  <soilnitrogensupply>
    <SoilNitrogenSupplyID>1</SoilNitrogenSupplyID>
    <SoilNitrogenSupplyName>sample string 2</SoilNitrogenSupplyName>
  </soilnitrogensupply>
  <soilnitrogensupply>
    <SoilNitrogenSupplyID>1</SoilNitrogenSupplyID>
    <SoilNitrogenSupplyName>sample string 2</SoilNitrogenSupplyName>
  </soilnitrogensupply>
</ArrayOfsoilnitrogensupply>