GET api/grassland/soilnitrogensupply/{grasshistoryid}
Calculate the Soil Nitrogen Supply (SNS) Status for a Grassland Field
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| grasshistoryid |
The Grass History value of the grassland Field |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
soilnitrogensupply| Name | Description | Type | Additional 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"
}
application/xml, text/xml
Sample:
<soilnitrogensupply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Grassland"> <SoilNitrogenSupplyID>1</SoilNitrogenSupplyID> <SoilNitrogenSupplyName>sample string 2</SoilNitrogenSupplyName> </soilnitrogensupply>