GET api/soil/nutrientindex_index/{nutrientid}/{nutrientvalue}/{methodologyid}

Individual Nutrient Index Index filtered from the supplied corresponding Nutrient ID, Nutrient Value and Methodology ID

Request Information

Authorization is required

Response Codes

  • OK (200)
  • BadRequest (400)
  • Unauthorized (401)
  • NotFound (404)

URI Parameters

NameDescriptionTypeAdditional information
nutrientid

The Nutrient ID to filter on

integer

Required

nutrientvalue

Volume of the Nutrient applied to filter on(kg/ha)

decimal number

Required

methodologyid

The Methodology ID to filter on

integer

Required

Body Parameters

None.

Response Information

Resource Description

Nutrient Index from Value

nutrientindexitem
NameDescriptionTypeAdditional information
Index

The Text value for Nutrient Index

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Index": "sample string 1"
}

application/xml, text/xml

Sample:
<nutrientindexitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Soil">
  <Index>sample string 1</Index>
</nutrientindexitem>